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

Skipping steps in JCL


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

New User


Joined: 30 Jul 2004
Posts: 95

PostPosted: Wed Aug 10, 2005 12:30 pm
Reply with quote

Hi all,

suppose i have 10 steps in my jcl STEP1, STEP2........STEP10 now i want to execute only STEP1, STEP5, STEP8, STEP9, STEP10. is there any chance to execute without COND parameter, we had IF cond but it makes the jcl some what complex

regards,
siva pradeep
Back to top
View user's profile Send private message
sarath_ibm

New User


Joined: 03 Aug 2005
Posts: 14
Location: hyderabad

PostPosted: Wed Aug 10, 2005 12:54 pm
Reply with quote

Here is the JCL which would execute only the given steps in the EDIT
TYPE of the sysin card.

//JOBNAME JOB (2404),TEST,MSGLEVEL=(1,1),CLASS=K,MSGCLASS=X,

// NOTIFY=&SYSUID

//STEP0001 EXEC PGM=IEBEDIT

//SYSUT1 DD DISP=SHR,DSN=TEST.JCL(MEMBER)

//SYSUT2 DD SYSOUT=(*,INTRDR)

//SYSPRINT DD SYSOUT=*

//SYSIN DD DATA

EDIT TYPE=INCLUDE,STEPNAME=(S1,S5,S8,S9,S10)
Back to top
View user's profile Send private message
shanthikiran

New User


Joined: 31 May 2005
Posts: 7
Location: India

PostPosted: Thu Aug 11, 2005 1:16 pm
Reply with quote

//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

Regards
Shanthi kiran
Back to top
View user's profile Send private message
ksivapradeep

New User


Joined: 30 Jul 2004
Posts: 95

PostPosted: Fri Aug 12, 2005 11:48 am
Reply with quote

Hi sarath,

Thanks for ur reply, but my doubt is is IEBEDIT utility is compulsory, or we have to write that EDIT TYPE parameter in our own JCL.
please send me reply urgent

here i am sending one example please let me know whether its correct r not

//job card
//step1
//..........
//......
//step2
//..........
//......
//step3
//..........
//......
.
.
.
.
.
.
//step8
//..........
//......
//step9
//..........
//......
//step10
//..........
//......
//sysin dd data
EDIT TYPE=INCLUDE,STEPNAME=(S1,S5,S8,S9,S10)
//

shall i write like this in my own JCL
Back to top
View user's profile Send private message
shivashunmugam Muthu

Active User


Joined: 22 Jul 2005
Posts: 114
Location: Chennai

PostPosted: Fri Aug 12, 2005 1:29 pm
Reply with quote

IEBEDIT is must! Its the utility which is performing the requirement wht u r asking for.

Experts

correct me if i am wrong....
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 Identify the count from two diffrent ... DFSORT/ICETOOL 19
No new posts SMF logging in RDT server - Steps inv... PL/I & Assembler 1
This topic is locked: you cannot edit posts or make replies. Executing JCL specific steps at speci... JCL & VSAM 6
No new posts How steps execute in Job in case of a... JCL & VSAM 4
Search our Forums:

Back to Top