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 |
how to code instream data in procedure?
How do you send the output of a COBOL program to a member of a PDS?
How do you submit JCL via a Cobol program?
In SPACE,what is directory,RLSE
wht r different types of sort fields in jcl ?
how can i code cond parameter in procedures ? i have a jclk calling a proc which has 10 steps i want to execute from step 5 to step 10 where can i code restrat parameter or cond parameter for ths
Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?
Explain the function of //jcllib statement?
what is full form of AIX
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
How many days does a job remain in spool
How to test thru JCL if any file(PS or VSAM) is empty or not. I do not want to use any COBOL prog or Ezytrieve and want to do using utility.