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..........
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / hema
Restart the Job from second step. Suppress the Third step
using the condition code.
Is This Answer Correct ? | 4 Yes | 1 No |
what is use of disp parameter in dd statement?
How to do automated restart when a job abend?
Explain about File Tailoring
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
What is the error code SOC01 indicate ?
If i am going to change some variable in a copybook( size or variable type) ,what are the changes that need to be done in the corresponding JCL.
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayed after the PERFORM is over? assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above
how to code instream data in procedure?
Why block size is multiple of lrecl in jcl?
Explain the function of //cntl statement?
which parameter is use to declare the name of dataset in dd statement?
What do you do if you do not want to keep all the space allocated to a dataset?