How can I write the joblog in the spool on normal end of a
job step and direct the joblog to a dataset only if the step
abends?
Answer Posted / venkat
If you have a sysabend or sysudump dd name in the job then
it captures the Job log upon abnormal termination in to the
dataset... Else will route it to spool or sar according to
the msgclass given.. If msgclass=o then it will route to
spool if msgclass=d it will route to sar
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Which dd parameters are required?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
what is DSN in JCL and what are the parameters to declare the DSN?
Differentiate between the joblib and the steplib statements?
Explain the function of //jcllib statement?
what is the purpose of coding class parameter in job statement?
Is their any set of rules for dd? Explain.
What is the function of //jcllib statement?
what is a jcl?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
What statement can be used to send data to another mvs jes3 node?
How gdg are concatenated?
Can we call instream to catalog and catalog to instream?