View previous topic :: View next topic
|
Author |
Message |
Husna
New User
Joined: 02 Jun 2006 Posts: 49
|
|
|
|
Hi all,
I have 10 Steps.... I need to execute 6th, 8th and 10th steps only. Without using Restart Parameter and null statements? How can I do the same using COND parameter? Any one please let me know the solution.
I have 100 Steps... I need to execute 2nd and 4th step and the I need to execute 52nd 67th step (Without using null statements). How can I do the same?
Awaiting your reply. |
|
Back to top |
|
|
hycind
New User
Joined: 17 Nov 2005 Posts: 1
|
|
|
|
A simple thing I can think of is to place all the steps to be skipped in an IF block.
something like this...
Code: |
//SKIPSTEP IF (FALSE) THEN
//STEP01
....
//STEP05
// ENDIF
//STEP06 .... |
|
|
Back to top |
|
|
ramk
New User
Joined: 01 Apr 2005 Posts: 2
|
|
|
|
Thank you Parikshit . .
i too thought the same . .
and here is a better solution i think
solution . . .
This can be done by using the predefined utilities
IEBEDIT & INTRDR
this is the JCL
// JOB . . .
//STEP1 EXEC PGM=IEBEDIT
//SYSUT1 DD DSN=A.PDS(M1),DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=STEP20-STEP30
/*
WE CAN ALSO EXECUTE ONLY REQUIRED STEPS
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=STEP3,STEP50,STEP20
/*
IN THE EDIT TYPE WE CAN USE "EXCLUDE" ALSO FOR EXCLUDING THE REQUIRED STEPS FROM EXECUTION
//SYSIN DD *
EDIT TYPE=EXCLUDE,STEPNAME=STEP100,STEP20 (OR) STEP20-STEP30
/* |
|
Back to top |
|
|
prakash_pj
New User
Joined: 14 Jul 2006 Posts: 1
|
|
|
|
use a ibm supplied utility program named iebedit , in iebedit use specify the steps name which can only be executed or omitted |
|
Back to top |
|
|
|