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
 

 

about cond parameter

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

New User


Joined: 22 Aug 2005
Posts: 14

PostPosted: Thu Oct 13, 2005 9:57 pm    Post subject: about cond parameter
Reply with quote

my question is

out job having 3 steps

step1

step2

step3


i used cond parameter is step1.., there is any effect of step1...,


" what i know is .., execution of cond parameter depending on previous step but in my case, i used cond parameter in step1 itself. what is the effect of of step1.

could u plz help me..

Thanks and regards
sumanth
Back to top
View user's profile Send private message

sumanthmain

New User


Joined: 22 Aug 2005
Posts: 14

PostPosted: Thu Oct 13, 2005 9:59 pm    Post subject: Re: about cond parameter
Reply with quote

sorry its not out job.., it is our job.., just give me correct answer.,

Thanks and regards

cheers
sumanth
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


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

PostPosted: Thu Oct 13, 2005 11:03 pm    Post subject: Re: about cond parameter
Reply with quote

Sumanth.....

Why cant we test such type of question ourselves by running a job.
I think, no effect of COND specifying at STEP1.

Regards,

Priyesh.
Back to top
View user's profile Send private message
nikyojin

New User


Joined: 05 Oct 2005
Posts: 94

PostPosted: Thu Oct 20, 2005 1:37 pm    Post subject:
Reply with quote

The cond parameter will be ineffective if it is coded on the first step.
Back to top
View user's profile Send private message
ikumar

New User


Joined: 02 Aug 2005
Posts: 81

PostPosted: Thu Oct 20, 2005 5:12 pm    Post subject: Re: about cond parameter
Reply with quote

Hi guys,
Itz not completely ineffective if you specify COND parameter at first step.
just try coding COND=(0,LE) in your first step....it will not execute the first step at all....just try it n see....

Cheers,
Kumar
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


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

PostPosted: Thu Oct 20, 2005 6:30 pm    Post subject: Re: about cond parameter
Reply with quote

Kumar....

I just ran a job fine having single step with COND=(0,LE) and the step did what was it meant for.

AFAIK..There is no way to stop first step execution by COND Parm.

COND=(0,LE) check if 0 is less than or equal to any of the RCs from earlier steps.

Regards,

Priyesh.
Back to top
View user's profile Send private message
ikumar

New User


Joined: 02 Aug 2005
Posts: 81

PostPosted: Fri Oct 21, 2005 10:57 am    Post subject: Re: about cond parameter
Reply with quote

I m sorry....let me correct it...

To suppress the first step from execution, you need to use COND=ONLY.

For any other steps u can use COND=(0,LE).

Let me know if i am wrong.

Cheers,
Kumar.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


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

PostPosted: Fri Oct 21, 2005 11:58 am    Post subject: Re: about cond parameter
Reply with quote

Yes, Kumar.... COND=ONLY works fine.

It Flushes first step for my job.

Thanks & Regards,

Priyesh.
Back to top
View user's profile Send private message
nikyojin

New User


Joined: 05 Oct 2005
Posts: 94

PostPosted: Fri Oct 21, 2005 12:35 pm    Post subject:
Reply with quote

Hi Kumar,

Thanks for the info
I tried the same and the first step was flushed.

Regards,
Nikhil .S.
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 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
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


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