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 perform what is varying?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?
i Want All cobol ERROR codes?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Write a program to enter and display the names of students in a class using the occurs clause.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
How do you set a return code to the JCL from a COBOL program?
what is the minimum number of lines a Cobol program should have to successfully compile and run
Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.
Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?
how you read control card into array?