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 |
With in these three which one is the default one Call Reference, Call By Value, Call By Content.-Which one is default?
Can anybody give me example of subscript and index
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 ?
Why we are using comp and comp-3 in real time projects?
what is the difference between Plan & package
In an EVALUATE statement, can I give a complex condition on a when clause?
What divisions, sections and paragraphs are mandatory for a COBOL program?
What is the difference between SEARCH and SEARCH ALL? What is more efficient?
If I want to increase the Limit in GDG. What should I do?
How much salary you are expecting? If they ask in an interview, what we have to tell?
6 Answers Tech Mahindra, Wipro,
sample code for read a 2nd record from last in flatfile how can do?
What are the different open modes available in cobol?