Does QCMD write to job log when called from RPG

620 pts.
Tags:
AS/400
RPGLE
If I have an RPGLE program that executes a CL command using a CALLP to to QCMD, will that CL command be written to the job log.  The LOGCLPGM paramaeter is set to *YES, if that matters.

Software/Hardware used:
AS/400
ASKED: January 21, 2010  2:14 PM
UPDATED: April 30, 2010  11:47 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Since there doesn’t seem to be any CLP involved, the LOGCLPGM() attribute wouldn’t seem to have relevance.

The logging would more likely be controlled by the job’s LOG() attribute. Technically, it could also be “controlled” by any code in the job that received and removed the message as a normal part of joblog cleanup.

Tom

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • ElTerrifico
    That was my thought too about the LOGCLPGM and LOG parameters, but it's always good to get a second opinioon. Thanks for the input.
    620 pointsBadges:
    report
  • TomLiotta
    BTW, why did you choose QCMD rather than QCAPCMD or even QCMDEXC? There are behaviors of QCMD that can be difficult to overcome. Of course, those might be the exact behaviors that you're using. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following