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 |
I found in one of the jcl, gdg version being mentioned as : abc.def.ghi(-0) Can anyone tell me how referring the version as (-0) is different from referring it as (0)
What does the TIME parameter signify ? What does TIME=1440 mean ?
How to Enter The Spool Area In Real Time?
What is model dataset label(Model DSCB)?
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
suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want exicute step 3 and step 7 only how we specify condition ?
What is a procedure?
In SPACE,what is directory,RLSE
How does the jcl specify the job to os?
What is difference between Return Code, user completion code, Abend code and reason Code?
In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.
What is the purpose and meaning of the TIME keyword and what JCL statement is it associated with?