Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Jcl pram vs proc parms ashek15 JCL & VSAM 3 Thu Mar 30, 2017 6:50 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm
No new posts Single step utility for compare and u... ramprakashn JCL & VSAM 5 Fri Apr 29, 2016 3:43 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us