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

i want excute only 3rd step in the proc


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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

New User


Joined: 28 Apr 2005
Posts: 99

PostPosted: Wed Jun 08, 2005 12:46 pm
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Forcing a step to run (even if abended) JCL & VSAM 8
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
Search our Forums:

Back to Top