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 |
wt will happen to the step of a job if u code COND=ONLY
Hi, all Suppose i have 10 step in a job (s1,s2,s3,...s10) i want to execute step9 first and then step3 and i used the DPRTY for these steps. so what will happen to other steps? Will the get executed or only these two steps get executed?
I have a file in which I have 20 records. I want my first record to go into file 1 and second record to go in second file. I want to copy the alternate records like this in the two output files. How can I do this using JCL?
How to empty the records in jcl
what are the types of abends that occur on job failure? And explain the possible causes of these
what is XSUM in some fields= none, xsum ??
What are steplib and joblib? What for they are used?
What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?
How to get the last but one duplicate record of the file using Sort?
I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.
A job has 150 steps i want to execute only 57th step
what is use of space parameter in dd statement?