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

Reg: In MVS Jcl how can i skip from one step to another step


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ujwalavenu
Currently Banned

New User


Joined: 07 Feb 2006
Posts: 7
Location: Hyderabad

PostPosted: Fri Oct 13, 2006 9:02 am
Reply with quote

Hi,

I want to skip the few steps in Jcl. how i can skip.

For Example, After delete define the file i want to skip the sort condition and i need to run only the program step in the JCl. In MVS how can i do this.


Thanks and Regars.
Back to top
View user's profile Send private message
jayant_tibhe

New User


Joined: 25 Feb 2006
Posts: 27
Location: Pune

PostPosted: Fri Oct 13, 2006 10:26 am
Reply with quote

JCL For Select Execution..


//EDIT3 JOB ...
//STEP1 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=A
//SYSUT1 DD DSNAME=INSET,UNIT=disk,DISP=(OLD,KEEP),
// VOLUME=SER=111111
//SYSUT2 DD DSNAME=OUTTAPE,UNIT=tape,LABEL=(,NL),
// DCB=(DEN=2,RECFM=FB,LRECL=80,BLKSIZE=8160),
// DISP=(,KEEP)
//SYSIN DD *
EDIT START=JOBB,TYPE=INCLUDE,STEPNAME=(STEP1, STEP5, STEP8, STEP9, STEP10)

this ill execute STEP1, STEP5, STEP8, STEP9, STEP10 these steps only
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


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

PostPosted: Fri Oct 13, 2006 11:43 am
Reply with quote

Quote:
After delete define the file i want to skip the sort condition and i need to run only the program step in the JCl.

One thing you should look at first is Do you always want to skip sort step or not.

If you want to skip that step based on some conditions from earlier steps or because of contents of the file, then its a different problem.

If you want to skip it always... why not to comment out that step.
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Forcing a step to run (even if abended) JCL & VSAM 8
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
Search our Forums:

Back to Top