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
What is the function of job statement in jcl?
Is it possible to code instream data in a PROC?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
which utility is used a dummy utility?
Define concatenating?
which utility is used to sort a file in jcl?
what is JCL?
Explain the jcl exec statement?
How can return codes be tested before execution of a job step?
What is NOTCAT ?
For what purpose steplib and joblib are used ?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
Explain how can values be passed from the job stream to an executable program?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
how can the same proc be re-used and called by many jobs?