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 |
How can you submit a job from COBOL programs?
in the TIME parameter we r giving hours r minutes
I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..
What is the linkage section?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What will happen if you code GO BACK instead of STOP RUN in a stand-alone COBOL program i.e. a program which is not calling any other program ?
9(2).99 how many bytes take? Why . consider as a byte?
What is the difference between Call and a Link?
Whtz the specialty of 77 level number ?
Explain call by context by comparing it to other calls.
Can we move X(7) to S9(7) COMP?
Without using move verb how to move one variable to another.