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
 

 

Bypassing number of steps in JCL using COND Parameter.

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

New User


Joined: 29 Jun 2004
Posts: 6

PostPosted: Wed Jun 30, 2004 12:00 am    Post subject: Bypassing number of steps in JCL using COND Parameter.
Reply with quote

In my job i have 10 steps. I dont want to execute the first 8 steps. Only 9th & 10th steps have to be executed. How can i code cond parameter for that job. Is there any other alternative for this problem other than cond.

Thanks
Prashanth
Back to top
View user's profile Send private message

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Jun 30, 2004 4:00 am    Post subject:
Reply with quote

The best way is to use Step Restart in the JOB card.

Regards, Jack.
Back to top
View user's profile Send private message
erasani_p

New User


Joined: 29 Jun 2004
Posts: 6

PostPosted: Wed Jun 30, 2004 7:37 am    Post subject: Bypassing Steps
Reply with quote

Can u give me the code for that. I never worked with restart.

Thanks
Prashant
Back to top
View user's profile Send private message
sandip_datta

Active User


Joined: 02 Dec 2003
Posts: 151
Location: Tokyo, Japan

PostPosted: Wed Jun 30, 2004 3:08 pm    Post subject:
Reply with quote

RESTART can be coded in following manner.
Job card will look like -
Code:
//xxxxxxxx JOB 0000,'TEST',CLASS=J,MSGCLASS=X,MSGLEVEL=(1,1),RESTART=STEP09


Regards,
Sandip.
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Wed Jun 30, 2004 3:13 pm    Post subject: restart parameter
Reply with quote

Just code restart=stepname in the job step.

In your case give the stepname as step9.

Thanks,
Anu
Back to top
View user's profile Send private message
erasani_p

New User


Joined: 29 Jun 2004
Posts: 6

PostPosted: Wed Jun 30, 2004 9:04 pm    Post subject: Thanks for replying
Reply with quote

Thanks anuradha and sandeep for your quick reply.

Prashanth
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Wed Jun 30, 2004 10:49 pm    Post subject:
Reply with quote

Hi Prashant,

Be careful when you use restart. If the step is in a proc you must use the procstep name too.

That's why it's always best to check the manual. It contains that kind of detail.


Regards, Jack.
Back to top
View user's profile Send private message
v.suresh

New User


Joined: 29 Jun 2007
Posts: 5
Location: Bangalore

PostPosted: Wed Jul 04, 2007 8:28 pm    Post subject: for this same problem how we can use COND parameter?
Reply with quote

For this same problem how we can use COND parameter?
Back to top
View user's profile Send private message
kavisuresh

New User


Joined: 22 May 2007
Posts: 7
Location: chennai

PostPosted: Tue Jul 10, 2007 4:25 pm    Post subject: Re: Bypassing number of steps in JCL using COND Parameter.
Reply with quote

If its an Override u can use the below statements which will flush 8steps and continue with 9th and 10th steps,

//Procname EXEC procname,
// COND.STEPNAME1=(0,LE),
// COND.STEPNAME2=(0,LE),
// COND.STEPNAME3=(0,LE),
// COND.STEPNAME4=(0,LE),
// COND.STEPNAME5=(0,LE),
// COND.STEPNAME6=(0,LE),
// COND.STEPNAME7=(0,LE),
// COND.STEPNAME8=(0,LE)

Hope the above may help u

Regards,
Kavisuresh
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 what is meaning of the number in dcl Martylin PL/I & Assembler 2 Thu Mar 09, 2017 7:18 am
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am
No new posts GDG version number PANDU1 JCL & VSAM 4 Sat Mar 04, 2017 8:28 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm


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