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
 
i want excute only 3rd step in the proc

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
rameshbabu
Warnings : 1

New User


Joined: 23 May 2005
Posts: 27

PostPosted: Wed Jun 08, 2005 11:29 am    Post subject: i want excute only 3rd step in the proc
Reply with quote

hi plse clarify my doubt i am having 100 steps in a proc i want excute only 3 rd remaining(from 1 to 2 and 4 to 100) and all no need we can use cond
=(0,le) in jobcard and restart=procname.stepname is it ok ? or any other suitable solution is there ?
Back to top
View user's profile Send private message

lucky

New User


Joined: 01 Jun 2005
Posts: 12
Location: Croatia

PostPosted: Wed Jun 08, 2005 12:37 pm    Post subject: Re: i want excute only 3rd step in the proc
Reply with quote

I was on a JCL course recently and I asked the instructor the same question. He's response was the same, to use restart and break in the next step. I would rather use "//" not conditionals.

With COND (0,LE) you could have a problem if the previous job didn't end with 0, or if there are more than 4 steps in the JCL.
Back to top
View user's profile Send private message
Deepa.m
Warnings : 1

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Wed Jun 08, 2005 12:46 pm    Post subject:
Reply with quote

you can introduce a null statment (//) at the end of step3 and restart from
step 3.

Can we use a COND in jobcard? My understanding is Cond can be given along with EXEC statement.
Back to top
View user's profile Send private message
David P

Active User


Joined: 11 Apr 2005
Posts: 106
Location: Cincinnati Ohio

PostPosted: Wed Jun 08, 2005 1:19 pm    Post subject:
Reply with quote

Hi Deepa,

Yes, condition parameter can be given in the jobcard along with the
EXEC statements mentioned in steps to follow.

let me know in case of any concerns.

regards,
David.
Back to top
View user's profile Send private message
frame_kan

New User


Joined: 03 Jun 2005
Posts: 5

PostPosted: Thu Jun 09, 2005 4:04 pm    Post subject: Re: i want excute only 3rd step in the proc
Reply with quote

Can anyone please give example of null statement and restart for this problem
Back to top
View user's profile Send private message
MGIndaco

Active User


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

PostPosted: Thu Jun 09, 2005 7:50 pm    Post subject:
Reply with quote

Try to see this post:
http://ibmmainframes.com/viewtopic.php?t=1886&highlight=sub
Back to top
View user's profile Send private message
sridhard

New User


Joined: 02 Jun 2005
Posts: 8
Location: Chennai

PostPosted: Thu Jun 09, 2005 8:59 pm    Post subject: Re: i want excute only 3rd step in the proc
Reply with quote

Hi,

Restart the job from the 5th step and override the condition parameter for the successive steps of the proc, in the job.

The condition may look like COND.STEP6 =(0,LE)

Thanks
Sridhar
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
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts LIBDEF not working in called proc packerm CLIST & REXX 0 Fri Sep 15, 2017 7:22 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am

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