Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
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
References
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

Global Moderator


Joined: 28 Mar 2005
Posts: 1509
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

Active User


Joined: 05 Oct 2005
Posts: 88

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

Active User


Joined: 02 Aug 2005
Posts: 86

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

Global Moderator


Joined: 28 Mar 2005
Posts: 1509
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

Active User


Joined: 02 Aug 2005
Posts: 86

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

Global Moderator


Joined: 28 Mar 2005
Posts: 1509
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

Active User


Joined: 05 Oct 2005
Posts: 88

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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1