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
What is the function of a dd statement?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
What is the function of //cntl statement?
What is the motivation behind coding class parameter in job statement?
Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You
which parameter is used to check the syntax of a jcl without executing it?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
when does a dataset go uncataloged?
Explain the function of dd name parameter with a 2 part structure; audit.report?
what operation is performed by job statement?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
How does jcl act on code(if you take a cobol program)?
How can return codes be tested before execution of a job step?
what is use of disp parameter in dd statement?
Is it possible to define dd statements as you want?