How can we execute only one step in a job
Answers were Sorted based on User's Feedback
Answer / radhakrishnan
1. restart the step in the jobcard
2. give a null // at the end of the step.
Thanks,
raddie
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / pavan kumar
give that steps name in the restart parameter on the job
card and after that step put //
| Is This Answer Correct ? | 1 Yes | 0 No |
as per Sravanthi's answer.. A null (/*) statement at the
end of this step can be given for running this step alone
but we have to give restart in job.
suresh,the second method that u have suggested its not
correct, coz if u have more than one step in the same job
then u have to code the same COND parameter for each step.
this will stop the execution of 2 step...
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / valmiki1980
This is a sample to restart only step02 and skip rest all,
please correct me if i am wrong.
--------------------------------------------------
//JOB CARD RESTART=STEP02
//STEP01
//STEP02
//chkstp02 IF STEP02.RC > 12 THEN
//STEP03
//STEP04
//STEP05
/*
// ENDIF
//
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sushanta
Use RESTART parameter and then use null for that step so
that no step gets executed after that.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sachin
Suresh Sir: I agree with your answer but if Condition is True means that particular step(2) will be bypassed however job execution will go to the next step(3). I am just fresher, so please correct me if i am wrong.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / suresh
Hi,
Better we can give the true condition i.e COND=(0,LE) in
all the steps that we don't want to execute.
Please suggest if am wrong
| Is This Answer Correct ? | 0 Yes | 2 No |
how to skip the steps in JCl
How to pass data to a program that is coded in an exec statement?
i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can u do this.
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
Describe the EXEC statement, its meaning, syntax and keywords?
What does a disposition of (NEW,CATLG,KEEP) mean?
Does jcl support automatic restart?
Is it possible to code instream data in a PROC?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
I have a sequential file in which there are 50 records. Now I want to copy all the 50 records in the reverse order into a new file? The last record in the original file should be the first record in the new file. How can I do it?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
WHAT IS DUMMY IN JCL? HOW TO USE IT? CAN ANYBODY SEND PROGRAM ON THIS?