Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What would I need to do to skip two steps

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: What would I need to do to skip two steps
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    Post subject:
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: 1452
Location: Chicago, IL

PostPosted: Tue Feb 07, 2006 5:26 pm    Post subject: Re: skip steps........
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts why i need hit enter after EXECIO * D... jackzhang75 CLIST & REXX 10 Fri May 20, 2016 9:16 pm
This topic is locked: you cannot edit posts or make replies. Executing JCL specific steps at speci... Shruti Takkar JCL & VSAM 6 Mon Feb 22, 2016 12:39 pm
No new posts How steps execute in Job in case of a... richiewalia JCL & VSAM 4 Tue Jan 12, 2016 12:34 pm
No new posts SKIP/DELETE records only from a speci... Bill Woodger SYNCSORT 6 Wed Feb 25, 2015 3:30 am
No new posts Count the number of JCL executable steps nartcr JCL & VSAM 5 Wed Nov 05, 2014 2:57 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us