How to Write the RESTART Logic Using COBOL?
Answers were Sorted based on User's Feedback
i thing restart is using in jcl this is exec parameter,
if we have the 3 steps in jcl
//step1
//step2
//step3 in this case we run the jcl and got the abend at stop3,we don't want to run again step1 and step2,
directly we write like this
Restart = step3 bypass step1 to step2.
Is This Answer Correct ? | 7 Yes | 12 No |
Answer / mahendra babu
it is a keyword parameter at job level which is used restart the job from a specific step as per the user requriment.
syntax: 1) restart = step name.
2)restart = jclstep.proc step.
ex:-//jobcard , restart= (s3).
//s1
//s2
//s3
//s4
at the above ex is used to restart the job from s3 using the restart parameter.
Is This Answer Correct ? | 2 Yes | 8 No |
What is cobol?
i have the job which has written updated 100 records into the table and for 101th record it got abended and i want to start the job again and should wirte from 101th record not from 1st record..how to do it..?
Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?
where will u code file status ?
What is the difference between comp and comp-3?
Hi All, how is sign is stored in S9(17) comp-3 variable. Answer with an Example will be of great help.
How many types of sorts are there in cobol?
a pic s9(4) comp b pic s9(4) comp-3 c ???????????????? d ???????????????? move a to c add a+B giving d. what is ur declaration for c,d?
If we use GO BACK instead of STOP RUN in cobol?
What is difference between com and com3? Eg. s9(4) so what is the memory it will occupy com and com3.
What is an in-line perform ?
Hi All, Can anyone tell me how we can MOVE value of a X(19) variable to a S9(17) COMP-3 variable? Answer with an Example will be of great help.