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 |
Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.
What is the difference between binary search and sequential search?
What is the difference between a binary search and a sequential search?
how can we find total no of records in a file ....is there any utility......?
db2 variable decimal(15,2) what is the equalent size of cobol variable
If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....
I had 100 records and i want to execute last three records by using cobol programming?what will be coding?
File status must be checked both while opening and reading the file or only while reading the file?
Can we redefine the field of x(200) to less than 200?
given the following piece of code: CALL SUB-PGM USING A, B, C. CALL SUB-PGM USING A, C, C. (a) Both CALL statements will always produce same result. (d) Both CALL statements may produce different result. (c) Compile-time error because SUB-PGM is a dataname. (d) Compile-time error because A, B, C are used twice.
How can we know that cobol program is using report file or simple file....?
What is CALL statement in COBOL?