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
Must tape dataset definitions include vol=ser specifications?
What is one line to pass PARM from JCL to COBOL?
In job processing, what happens in execution stage?
Is it possible to left uncode disp?
what is use of dcb parameter in dd statement?
what is the JCL statement consists of?
What are steplib and joblib?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
Explain dfsort utility?
Explain how can return codes be tested before execution of a job step?
What is the use of disp parameter?
What is the function of the dd dcb keyword?
What is the format of comment statement?
How can the disposition of sysout datasets be set for an entire jobstream?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?