My JOB contains three steps.
//STEP1 EXEC PGM=ABC
//STEP2 EXEC PGM=DEF
//STEP3 EXEC PGM=GHI
My Question is
1) I want to execute second step only. How will do.
2) Soppose U consider above three steps are in PROC steps
and I want execute the PROC second step only?
How to execute the second step only. During exection
time its creating any ABEND?
Please let me know..........
Answer Posted / sandy
Question no.1
-------------
Code RESTART=STEP02,COND=(0,LE) in the job card
Question no.2
-------------
Code RESTART=PSTEP1.STEP02,COND=(0,LE) in the job
card.PSTEP1 is the step executing PROC.
Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
Which statement is used to identify the private libraries in job?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
what are the statements that are not valid to be included in an include statement?
what is “Cond= even” and “Cond=only”?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
Define concatenating?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
what happens in execution stage in job processing?
How does jcl act on a cobol code?
What is one line to pass PARM from JCL to COBOL?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
how do you access an uncataloged dataset in a jcl?
how JCL works?
How can values be passed from the job stream to an executable program?