submit date within ILE

45 pts.
Tags:
RPG ILE
i need to retrieve the the submit date when my job kicks off... If the job is submited on a friday but doesn't start until saturday(for one reason or other).
ASKED: August 3, 2009  2:13 PM
UPDATED: August 21, 2009  8:03 AM

Answer Wiki

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

This is in the program data structure

D ProgramDS DS
D Jobname 244 253
D User 254 263
D JobNum 264 269 0
D JobDate 270 275 0
D SysDate 276 281 0

Phil

You can retrieve the job date by using the command RTVJOBA in CL program

Pramod

—————————————————————————-
Splat is right – JobDate is the date the job becomes active not the sbm date.

Phil

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
  • Splat
    If you need the submit date (the date it hit the queue) rather than the job date, use the QUSRJOBI API with the JOBI0300 format. Go here if you need further information.
    6,255 pointsBadges:
    report
  • Deepti0313
    You can directly declare Date type variable in your RPGLE program and initialize it with *sys or *job i.e. inz(*job).
    10 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