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 have a dataset with record length 40 in production, due to some requirements it was changed to 80. Then how can we know the jobs which are effected by this change and how can we resolve it.
Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?
Explain about LMPUT-
What is condition checking in jcl? Is this possible?
I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?
How can we see data in TEMPARARY DATA SET in JCL ?
mainframe questions like basic&depth
What is the function of the dd dcb keyword?
what is the control cards?
There is a procedure in A.B.PROCS(PROC1) (member name is PROC1) //PROCA... There is a call to a procedure PROCA from a JOB. //STEP01 EXEC PROCA ... Here "PROCA" in JOB refers to the actual PROC name or the member name of the PDS where this PROCA is stored.
Can a PS file be read in reverse order?If so,how
List the different jcl statements that are not permitted in the procedures?