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 |
wht r different types of sorts ?
When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step is bypassed or executed?
hi friends........if u know syntax of IEBEDIT IN JCL
What is STEPLIB, JOBLIB? What is it used for?
What is job control language?
what is XSUM in some fields= none, xsum ??
Does jcl support automatic restart?
What are the differences between JES2 & JES3 ?
How do you designate a comment in JCL?
How do you create a temporary dataset?
What is a GDG? Why do we go for a GDG ? utility used to create GDG?
A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?