i have a jcl calling proc which has 10 steps, i want to
execute from step5 to step10, where can i code RESTART and
COND parameter?
Answer Posted / anoop
//jopbcard,restart=jobstep.procstep
in this case job is calling one proc, this proc has 10
steps. We want to restart job from 5th step of proc.
assuming job calls proc in step1. then restart should be :-
restart=step1.step5
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How would you understand error(execution phase)?
Is it possible to code instream data in a PROC?
Explain the function of job statement in jcl?
How to submit jcl through a cobol program?
What is jcl in mainframe?
Explain the purpose of dd * statement in jcl?
What are the 4 fields in dd statement?
How can an in-stream dataset be terminated?
Mention the types of job control statements?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
Explain how can return codes be tested before execution of a job step?
Is condition checking possible in jcl? If yes, how?