If your job fails at particular step then what would be the
return code for next steps
Answers were Sorted based on User's Feedback
Answer / vinay sonar
It depends upon COND parameter coded in that step
| Is This Answer Correct ? | 2 Yes | 0 No |
Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?
how can you check if a file is empty using jcl?
How do you overcome this limitation ?
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?
There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be executed as such In second PROC 2) First 4steps should not be executed 3) 5th step should not be executed 4) 6th and 7th step should be executed The change should be done only in the JCL and PROC should be untouched ?
Explain the purpose of dd dummy statement?
Explain about LMMFIND - find a library member
which utility is used to run a cobol-db2 program?
How can return codes be tested before execution of a job step?
How to print the Output to SPOOL using MSGCLASS and SYSOUT ?
How do you handle empty files in a JCL ?
how to have variable length record in outrec..i have the requmt as follows.. i/p file variable lenght record output file : i need to alter the input and write into outrec(another file) sort fields: copy from(dd1) using ctl1 ctl1cntl dd * outfil fnames=xxx, outrec=(1,131) here i outrec is bombing with error..how to overcome this defect...???