Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Executing Step 3, step 6 and step 9 among 10 steps

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
cooolguyin
Warnings : 1

New User


Joined: 12 May 2005
Posts: 13
Location: chennai

PostPosted: Thu May 12, 2005 6:54 pm    Post subject: Executing Step 3, step 6 and step 9 among 10 steps
Reply with quote

Hi everybody,

Here is my query: my job has 10 steps and i wanna execute step 3, step 6 and step 9. icon_rolleyes.gif help pls..
Back to top
View user's profile Send private message
References
grepusr3

New User


Joined: 10 May 2005
Posts: 35

PostPosted: Thu May 12, 2005 7:49 pm    Post subject:
Reply with quote

In your JCL - if these are the only steps you want to run, please try deleting the steps you do not need (Steps 1,2,4,5,7,8,10) and submit it.

-Pelad
Back to top
View user's profile Send private message
priyesh.agrawal

Global Moderator


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

PostPosted: Thu May 12, 2005 8:12 pm    Post subject: Re: Executing Step 3, step 6 and step 9 among 10 steps
Reply with quote

You can restart your Job from STEP3 by RESTART parameter & can give COND parameter at the steps u don't want to execute.

& If you don't want to code COND Parameter, U'll have to go for IEBEDIT..

Check Links for that.

http://www.ibmmainframes.com/viewtopic.php?t=1707&highlight=executes+step

http://www.ibmmainframes.com/viewtopic.php?t=1253&highlight=executes+step

Regards,

Priyesh.
Back to top
View user's profile Send private message
cooolguyin
Warnings : 1

New User


Joined: 12 May 2005
Posts: 13
Location: chennai

PostPosted: Thu May 12, 2005 9:32 pm    Post subject: Re: Executing Step 3, step 6 and step 9 among 10 steps
Reply with quote

hi Priyesh,

thanks for ur reply, it would be great if u just tell me what is the exact condition code to be given for the steps that should not be executed
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3267
Location: Charlotte,NC USA

PostPosted: Thu May 12, 2005 9:38 pm    Post subject: Re: Executing Step 3, step 6 and step 9 among 10 steps
Reply with quote

COND=ONLY works well.
Back to top
View user's profile Send private message
MGIndaco

Moderator


Joined: 10 Mar 2005
Posts: 478
Location: Milan, Italy

PostPosted: Thu May 12, 2005 10:09 pm    Post subject:
Reply with quote

I don't understand this request.
It is a necessity for once or it's repetitive?
If it run only today I assume that you can submit your jcl deleting unnecessary steps, otherwise, in my opinion, you must think to the reason of this special condition and make provision about the really and main benefit that you are currently looking for.
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 170
Location: Cincinnati OH USA

PostPosted: Fri May 13, 2005 4:52 am    Post subject:
Reply with quote

Sounds like a classroom/homework question and shows up on every mainframe/mvs board site each week.

I believe a search will provide the answer.

Dave
Back to top
View user's profile Send private message
ajay_dheepak

New User


Joined: 12 May 2005
Posts: 33
Location: Chennai

PostPosted: Wed May 18, 2005 11:48 am    Post subject:
Reply with quote

Its not a big thing Coolguyin.

In ur Job include a step before ur step1.

//Step0 EXEC PGM=CONDTN,PARM=0000

Then in all steps use a COND=(0000,EQ).

Just before submitting the job change the COND value 0 to say 1000 for the steps u want to execute and submit.

I think u r clear now.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1