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
 

 

Execute 6th, 8th and 10th steps only. Without using Restart

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
Husna

New User


Joined: 02 Jun 2006
Posts: 49

PostPosted: Mon Jul 17, 2006 10:37 am    Post subject: Execute 6th, 8th and 10th steps only. Without using Restart
Reply with quote

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
View user's profile Send private message

hycind

New User


Joined: 17 Nov 2005
Posts: 1

PostPosted: Mon Jul 17, 2006 12:34 pm    Post subject: Re: Execute 6th, 8th and 10th steps only. Without using Rest
Reply with quote

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
View user's profile Send private message
ramk

New User


Joined: 01 Apr 2005
Posts: 2

PostPosted: Wed Aug 23, 2006 11:36 am    Post subject:
Reply with quote

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
View user's profile Send private message
prakash_pj

New User


Joined: 14 Jul 2006
Posts: 1

PostPosted: Wed Aug 23, 2006 12:12 pm    Post subject: Re: Execute 6th, 8th and 10th steps only. Without using Rest
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts execute APP if they are not ADDRESS T... italo_pm CLIST & REXX 3 Fri Aug 12, 2016 2:15 am
No new posts Execute multiple DB2 Load commands in... faizm DB2 4 Wed Aug 03, 2016 12:53 pm
No new posts CEXEC not able to execute if no SLINE... boyti ko CLIST & REXX 2 Wed Apr 13, 2016 4:31 pm


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