Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Skipping steps in JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Skipping steps in JCL
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    Post subject: HI
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    Post subject:
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    Post subject: Re: HI
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    Post subject: Re: Skipping steps in JCL
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    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
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 Skipping a record from Internal SORT Keanehelp COBOL Programming 4 Tue Jul 28, 2015 9:15 pm
No new posts Count the number of JCL executable steps nartcr JCL & VSAM 5 Wed Nov 05, 2014 2:57 am
No new posts Help Skipping Records based on Condit... nartcr SYNCSORT 10 Fri Aug 22, 2014 2:56 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us