Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm
No new posts JTS parameter Shashank Chaubey JCL & VSAM 2 Thu Jul 13, 2017 4:15 pm
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us