Page 1 of 1

How to save log details of a job?,after execution

PostPosted: Mon Dec 13, 2010 11:56 am
by ragur.satheesh
How can u save the log details of a JOB? After the exection of a job?

Re: How to save log details of a job?,after execution

PostPosted: Mon Dec 13, 2010 2:21 pm
by NicC
If you mean all the system messages produced by the job - JESMSG SYSMSG SYSPRINT etc these are usually written to some spooling application e.g. SDSF where you can save the output, or parts of it, by the relevant copy command for the application - in the case of SDSF this is PRINT but you need to also use ODSN and CLOSE (off the top of my head) to allocate the dataset the job output is to be written to and release it after saving.

Re: How to save log details of a job?,after execution

PostPosted: Tue Dec 14, 2010 1:17 am
by dick scherrer
Hello,

If you use PRINT, you will use
PRINT ODSN
PRINT
PRINT (as many as needed)
PRINT CLOSE

If the system supports XDC it is less keying. . .