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 remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
Name a few IBM utility programs, and explain its function.
When output dataset space is required, what quantity categories are used?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
Differentiate between addressing mode and run mode.
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
what is the resolution for sb37 error
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
What are the 4 fields in dd statement?
how to run batch program without jcl?
What is the format of comment statement?
In sms datasets, what is the function of the dd mgmtclas keyword?
What is the function of job statement in jcl?
Can we use DISP=SHR in output file in JCL
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?