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
 

 

Want to Nullify the Condition Parameter of a STEP
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
chenchi

New User


Joined: 10 Jun 2004
Posts: 12
Location: Bangalore,India

PostPosted: Mon Jun 21, 2004 2:29 pm    Post subject: Want to Nullify the Condition Parameter of a STEP
Reply with quote

i am calling a procedure within a job.that procedure has 6 steps and the 4th step contains a condition.i want to execute that entire procedure (including the 4th step by nullifing that condition)...how..?
Back to top
View user's profile Send private message

bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Mon Jun 21, 2004 5:24 pm    Post subject:
Reply with quote

I think that the condition is raised with previous steps' return code.
you can try to force the return code ..

or modify the proc.

what do u mean by nullifying 4th step ?
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Mon Jun 21, 2004 6:05 pm    Post subject:
Reply with quote

Can you include the code for the PROC, especially the fourth step? The solution depends on the format used.
Back to top
View user's profile Send private message
chenchi

New User


Joined: 10 Jun 2004
Posts: 12
Location: Bangalore,India

PostPosted: Tue Jun 22, 2004 2:30 pm    Post subject: jcl-proc
Reply with quote

hi

here we r not nullifying the 4th step ...we have to nullify the condition included in the 4th step..i.e condition should not take part in the execution.
Back to top
View user's profile Send private message
anuradha

Active User


Joined: 06 Jan 2004
Posts: 247
Location: Hyderabad

PostPosted: Wed Jun 23, 2004 9:39 pm    Post subject:
Reply with quote

what is that condition you need to nullify there. Better you give the 4th step and the condition. So that it will be clear.
Back to top
View user's profile Send private message
chenchi

New User


Joined: 10 Jun 2004
Posts: 12
Location: Bangalore,India

PostPosted: Thu Jun 24, 2004 1:59 pm    Post subject:
Reply with quote

here suppose we want to call that procedure from another job that time if we don't want that condition and we want to execute all the 6 steps ...that time we need to nullify the condition.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Fri Jun 25, 2004 1:21 am    Post subject:
Reply with quote

Chenchi,

Why can't you JUST provide the icon_evil.gif ***JCL*** icon_evil.gif ?????????
Back to top
View user's profile Send private message
shinepushpan

New User


Joined: 23 Jan 2006
Posts: 6

PostPosted: Mon Jan 30, 2006 3:53 pm    Post subject: Re: Want to Nullify the Condition Parameter of a STEP
Reply with quote

Put an override for the proc step through your job. It's as simple as that.
Back to top
View user's profile Send private message
chandan.inst

Active User


Joined: 03 Nov 2005
Posts: 269
Location: Mumbai

PostPosted: Mon Jan 30, 2006 4:42 pm    Post subject: Re: Want to Nullify the Condition Parameter of a STEP
Reply with quote

Hi,
you can nullify that cond parameter on 4th step using parameter parameter override
i am giving the solution
When u call the procedure, suppose the procedure name is 'proc1'
at that time code like following
//step1 exec proc=proc1,cond.step4=
do not assign any value during override
it'll nullify cond parameter on step4 particularly for this execution only

check it out
regards,
chandan
Back to top
View user's profile Send private message
pa1chandak
Currently Banned

New User


Joined: 31 Jan 2006
Posts: 55

PostPosted: Thu Feb 02, 2006 9:47 am    Post subject:
Reply with quote

SPECIFY COND.STEP4=(SOME CONDITION)

THIS WILL OVERRIDR THE COND OF STEP4



IF I AM WRONG SOMEWHERE PLEASE CORRECT ME

THANK YOU

DO SEND ME THE REPLY

PAWAN

09822546416

// THE ONE I LOVE , I SHALL NEVER BLAME //
Back to top
View user's profile Send private message
chandan.inst

Active User


Joined: 03 Nov 2005
Posts: 269
Location: Mumbai

PostPosted: Thu Feb 02, 2006 1:10 pm    Post subject: Re: Want to Nullify the Condition Parameter of a STEP
Reply with quote

Hi Pawan,
Yes as per your coding It'll override the cond parameter for that particular execution of the procedure;they'll not be permanent changes
regards,
chandan
Back to top
View user's profile Send private message
r2k1984

New User


Joined: 21 Jun 2005
Posts: 69
Location: chennai

PostPosted: Tue Apr 25, 2006 12:15 pm    Post subject: Re: Want to Nullify the Condition Parameter of a STEP
Reply with quote

like ucan override the condition by doing set maxcc=0
so the maximum condition code from the step3 is nullified and the maxcc for the step 4 is nullified
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Apr 25, 2006 3:23 pm    Post subject: Re: Want to Nullify the Condition Parameter of a STEP
Reply with quote

And how exactly would that be done?
Back to top
View user's profile Send private message
saraladevi

New User


Joined: 25 Mar 2006
Posts: 5
Location: hyderabad

PostPosted: Sat Apr 29, 2006 3:12 pm    Post subject: dubt in jcl
Reply with quote

hi all,
can anyone tell me can we use restart parametr and cond parmter on the job card at the same time.
Back to top
View user's profile Send private message
saraladevi

New User


Joined: 25 Mar 2006
Posts: 5
Location: hyderabad

PostPosted: Sat Apr 29, 2006 3:16 pm    Post subject: doubt in jcl
Reply with quote

hi all,
plz help me out,
the query is ,ihave some 6 steps in a job,and iwant only first step to be executed and all the other steps to be not executed ,how can we do it using cond parametr .plz relpy soon.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Apr 29, 2006 7:50 pm    Post subject:
Reply with quote

Hi saraladevi,

Please start a new thread for your ques. Scroll to the top of the page. You'll see a button called "New Topic". Click it and reenter your ques and include a topic in the box provided.

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

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Apr 30, 2006 9:06 pm    Post subject:
Reply with quote

Deleted by sender - duplicate.
Back to top
View user's profile Send private message
prasanth_thavva

New User


Joined: 28 Jul 2005
Posts: 86
Location: Chennai

PostPosted: Mon May 01, 2006 3:32 pm    Post subject: how to nullify the rest of the steps
Reply with quote

hi ,

1)obviously first should run in JCL, add the null command after the first step , that's it nullifies all other steps in the JCl.,
2) using the cond. we can do this code COND=ONLY.
if the Step executes succesfully the above cond will work.if not code the below one

3) Using the cond. COND=(4,GT,Step01)


Thanks and Regards,
Venkata Prasanth.Thavva
Back to top
View user's profile Send private message
cheryala

New User


Joined: 20 Mar 2006
Posts: 46

PostPosted: Fri May 05, 2006 12:01 pm    Post subject:
Reply with quote

Hi,

Saraladevi wrote:
Quote:
can we use restart parametr and cond parmter on the job card at the same time.

Quote:
ihave some 6 steps in a job,and iwant only first step to be executed and all the other steps to be not executed ,how can we do it using cond parametr .plz relpy soon.


We can use Restart parameter and Cond parameter on the job card at the same time.
If you want to run only the first step except remaining other 5 steps ...
you need to code
COND=(0,LE) on your job card

If you want only 3 step skipping all other steps in your job ..code
COND=(0,LE),RESTART=STEP3

Cheers
Back to top
View user's profile Send private message
vidhiarjaria

New User


Joined: 17 Jan 2007
Posts: 1
Location: pune

PostPosted: Mon Mar 17, 2008 12:27 pm    Post subject:
Reply with quote

Do not put any condition in step 1 so it will get executed and put condition (0,LE,STEP1) in all other steps so any way this condition will become true and no other step will get execute.
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
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
No new posts Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm


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