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

executiion of alternate steps in jcl


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

New User


Joined: 29 Mar 2006
Posts: 34

PostPosted: Thu Nov 16, 2006 1:28 pm
Reply with quote

Hi ,
This is sudheer,

i need help on jcl.
i hve 10steps in my jcl

how coyuld i exicute alternate steps like 3rd,5th.....

could u please anybody give an idaea.

Thanks in advance

sudheer
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Thu Nov 16, 2006 1:51 pm
Reply with quote

Hi There,

You can use IEBEDIT

Code:
// 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=STEP1,STEP3,STEP5,STEP7,STEP9
/*
Hope it will helpful
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Thu Nov 16, 2006 6:35 pm
Reply with quote

Re: IEBEDIT

I think you need the step list in (...) if more than one.

Note also that comments preceding a step are considered to actually follow the previous step, so if you want them reproduced, they should follow the EXEC card.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Fri Nov 17, 2006 10:42 am
Reply with quote

Hi Phil,

Thanks for correcting me.
I missed it somehow.
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 CA7 deleting files in steps after job... CA Products 4
No new posts Add column to existing records using ... JCL & VSAM 2
No new posts Identify the count from two diffrent ... DFSORT/ICETOOL 19
No new posts Issue in KWIKKEY utility while creat... JCL & VSAM 2
This topic is locked: you cannot edit posts or make replies. VSE COBOL - File Status 46 when readi... COBOL Programming 8
Search our Forums:

Back to Top