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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / devang
ONE HAS TO ENTER MSGCLASS=(,0) IN THE JOBCARD TO OBTAIN THE
DESIRED OUTCOME
| Is This Answer Correct ? | 1 Yes | 1 No |
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example.
MOD, DELETE; What does a disposition of (,DELETE) mean ?
How do you overcome this limitation ?
how many max steps can we use in a job? pls answer to my question
What is the improvement to COND= in the latest version of MVS?
What is a procedure?
What does the statements: typrun=scan and typrun=hold do in a JCL statement
What does SYSIN * indicate?
//step#3 exec pgm = hkbc762 what is wrong with the syntax?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 DD1 DD DSN = &&TEMP STEP3 DD2 DD (i) DSN = TEMP (ii) DSN = *.TEMP (iii) DSN = *.STEP1.DD1 (iv) DSN = *.STEP1.DD1.ONE