I have some 10 steps ,but i want to exexute only 2nd step and 4 th step and 7th step,,so in this scenario what mgiht be the solution ,,is it only way like SET LASTCC=0 OR DO WE HAVE ANY OTHER ORION FOR THIS?
PLS LET ME KNOW U R VIEWS ON THIS.....
THANKS IN ADVANCE
Joined: 09 Mar 2006 Posts: 14 Location: The Netherlands
I don't think there's a way to select the steps to be run on the job-card.
If for a specific run you only want to run certain steps, it may be easiest to mark the steps you don't want to run! You can do this by adding COND=(0,LE) to the EXEC-card of these steps.
N.B.: With the COND-parameter, a step is not executed if the condition is TRUE. As 0 is always less or equal to the return-code, this condition is always true, and the step NOT executed. So; add COND=(0,le) to the steps you don't want to run, and only the remaining step will be run.
Hope this helps...