Job Date on submitted jobs

235 pts.
Tags:
IBM iSeries
SBMJOB
When there is a CL program that executes a SBMJOB command, does the job date from the original CL carry thru as the job date to the CL called in the SBMJOB command?
 SBMJOB     CMD(CALL PGM(AR524CL) PARM(' ')) +         
              JOB(MYINVSTPDF) JOBQ(QGPL/MYINVPDFS) +   
              USER(&QNTCUSR)                           


Software/Hardware used:
IBM iSeries
ASKED: April 3, 2012  8:20 PM
UPDATED: April 4, 2012  12:51 PM

Answer Wiki

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

Discuss This Question: 1  Reply

 
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
  • TomLiotta
    ...does the job date from the original CL carry thru as the job date to the CL called in the SBMJOB command? Generally, no. A submitted job's JobDate is normally the value from the QDATE system value at the time that the submitted job starts. But technically, it's not possible to be certain just from your example SBMJOB command. Any number of commands before or after the SBMJOB command could have modified the QDATE system value temporarily. Or the SBMJOB DATE() parameter might have either *JOBD or some valid date set as a default. For *JOBD, the DATE() parameter on it could be set to some unexpected value. Or there could be exit programs registered on your system that affect how SBMJOB parms are handled. Or there could be a routing program that modifies a JobDate. Or... In short, it will probably be the system date when the job starts. It just can't be guaranteed without more details being checked. 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