Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retaining a Job Lob

Status
Not open for further replies.

jsplice

Programmer
Jun 3, 2003
88
0
0
US
I can't seem to figure out how to change a job so that it will keep the job log after the job completes. I'm hoping that I can just put the job queue on hold, submit the job, change it, then release the queue. I can't seem to tweak any of the parm in the CHGJOB command to get it to keep the job log after the job is completed.

Any ideas?

Thanks
 
CHGJOB ... LOG(4 00 *MSG)
Only the message text is written to the job log.

or

CHGJOB ... LOG(4 00 *SECLVL)
Both the message text and the message help (cause and recovery) of
the error message are written to the job log.

Same on the SBMJOB command.

 
Your job logs should be in the special job queue QEZJOBLOG, which is not the same place the job's other spool files will be. I prefer to work with the specific job's spool files rather than wading through job queues.

WRKJOB JOB(012345/user/job_name) OPTION(*SPLF)

Da mihi sis crustum Etruscum cum omnibus in eo.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top