IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What would I need to do to skip two steps


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
spriya

New User


Joined: 06 Oct 2005
Posts: 42

PostPosted: Tue Feb 07, 2006 5:02 pm
Reply with quote

What would I need to do to skip two steps, rather than just running two steps.
I need the first 8 steps to run, skip steps 9 & 10, and then continue running steps 11-14. Is there
Back to top
View user's profile Send private message
rajandhla

Active User


Joined: 18 Oct 2005
Posts: 182
Location: Luton UK

PostPosted: Tue Feb 07, 2006 5:10 pm
Reply with quote

Is there any conditions, based on it you need to skip. or
if it one time request just comment the steps and run the job.

regards
jai
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Tue Feb 07, 2006 5:26 pm
Reply with quote

spriya,

Most suitable way to do this, is to add this COND parameter to the both steps. This will bypass both the steps.

Code:
COND=(4095,GT)


Regards,

Priyesh.
Back to top
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Tue Feb 07, 2006 5:32 pm
Reply with quote

Hi priya,

Try this..

Code:

//job1 ,,JOB,NOTIFY=&sysuid,TIME=1
//STEP EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSUT1 DD DSN=(PATH WHERE 15 STEP JCL IS PRESENT),DISP=SHR
//SYSUT2 DD DSN=(*,INTRDR),DISP=SHR
//SYSIN DD *
EDIT TYPE=INCLUDE
STEP NAME= (STEP1,STEP2,STEP4,STEP8,STEP9,STEP11,STEP14)
/*
//


THIS WILL EXECUTE ONLY THE MENTIONED STEPS IN THE CONTROL CARD.


corrections welcomed

Thanks,
Rajesh
[/quote]
Back to top
View user's profile Send private message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Tue Feb 07, 2006 5:55 pm
Reply with quote

Hi,

you can mention the following condition in 9th and 10th steps....

COND=(0,LE)

ofcourse....the answers posted by priyesh and rajesh are also correct.....

cheers........

pavan
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts SKIP LOCKED DATA in UPDATE statement DB2 9
No new posts Identify the count from two diffrent ... DFSORT/ICETOOL 19
No new posts SMF logging in RDT server - Steps inv... PL/I & Assembler 1
No new posts Logic to skip Maximum time-stamp and ... DB2 2
Search our Forums:

Back to Top