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
How to submit a jcl from cics?
In sms datasets, what is the function of the dd avgrec keyword?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
How does the jcl specify the job to os?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
Differentiate between the joblib and the steplib statements?
What is the function of the dd avgrec keyword in sms datasets?
what is “Cond= even” and “Cond=only”?
What is job control language?
What do you understand by the term job time – out and how can you overcome that?
How do you create a temporary dataset?
Mention the types of job control statements?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
what is use of dsn parameter in dd statement?
Explain dfsort utility?