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

about cond parameter


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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: 1448
Location: Chicago, IL

PostPosted: Thu Oct 13, 2005 11:03 pm
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
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
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: 1448
Location: Chicago, IL

PostPosted: Thu Oct 20, 2005 6:30 pm
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
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: 1448
Location: Chicago, IL

PostPosted: Fri Oct 21, 2005 11:58 am
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Demand with DEADLINE TIME parameter CA Products 4
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
No new posts Writing the output file name from a p... JCL & VSAM 7
Search our Forums:

Back to Top