hi,i have joined in mainframe course recently. ihave a doubt
ragarding restart parameter.what is d use of it. and what is
d syntax for it. any one give me d answer pls.
Answers were Sorted based on User's Feedback
Answer / reddyp
Restart papameter is used to restat a step from the
abendining step.
assume that jcl has 5 steps.You have submitted the job.And
the job was abended at step4.so , u need to execute the
step from step4.here note that 3 steps are executed
successfully.Here u can code RESTART=step4 on the job card
and submit the jcl.Now the job will skip the first 3 steps
and starts executing from the step #4.
Hope this helps
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / neethu
yes, also i would like to share one more point,if we did
not give restart it will restart from step1 itself. incase
if it is abbends in step1 itself we dnt need to give
restart coz as default it will always restart from step1.
| Is This Answer Correct ? | 3 Yes | 1 No |
What is difference between Return Code, user completion code, Abend code and reason Code?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
How system will identify whether user wants to create PS or PDS? If answer is SPACE parameter then why we need to pass ps or po as dataset organisation while creation
A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?
What are SD37, SB37, SE37 abends?
what is the compile process of cobol program expalin with code
what are the various stages of job processing?
How to change default PROCLIB?
We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.
Could you provide an example and its effect OF, Using COND on JOB and EXEC both ?
i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. How should i give the condition statement... I have tried this with two steps which is working but not able to add condn for the 3rd step. can anyone help me... I want to know the cond stmt which i can code in step 3 and step4, so that only either step2 or step3 or step4 executes
how to run batch program without jcl?