View previous topic :: View next topic
|
Author |
Message |
krsenthil85
New User
Joined: 31 Aug 2007 Posts: 55 Location: bangalore
|
|
|
|
Hi frnds,
My doubt is----
I have 3 steps in Proc and i want override the 2nd step inside the PROC .
is it possible to override a step inside PROC using JCL??? |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Can you provide an example of the step from the PROC and what it is that you want to override. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
Yes, it's possible, if this
Quote: |
is it possible to override a step inside PROC using JCL??? |
means - is it possible to override a DD name ? then go like this-
Code: |
//step2.ddname DD dsn=....override |
If it's about nested PROCs, forget about over-ride. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
abhishek dadhichi
New User
Joined: 19 Apr 2007 Posts: 37 Location: Bangalore
|
|
|
|
Hi..
Can anyone please tell, is it possible to stop a particular step from getting executed in a proc by making changes in JCL.
Thanks! |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
..remove that step from the JCL..
PS. BTW, How does your question relate to current thread.. |
|
Back to top |
|
|
abhishek dadhichi
New User
Joined: 19 Apr 2007 Posts: 37 Location: Bangalore
|
|
|
|
Hi Anuj,
What you said is fine, but i cant remove the step from Proc as its in production environment and moreover its a one time thing, What I mean to say is I have a JCL which calls a catalog proc which has 3 steps and i want to bypass the 2nd step without removing it from the proc, so I think we need to mention the COND parameter in Step 2 to ignore this step and execute the third step.
Thanks! |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi Abhishek,
Your politenees wins over my sarcasm... . Try this -
Code: |
//JOBNAME JOB (@),...
// MSGCLASS=?,NOTIFY=&SYSUID,
//*
//STEP1 EXEC PROC
// RLSELB=....somelib
// COND.STEP2=(99,NE) |
Actually, when you have a new question it's bettetr to start with a new thread, otherwise the current thread loses it's own essence. |
|
Back to top |
|
|
abhishek dadhichi
New User
Joined: 19 Apr 2007 Posts: 37 Location: Bangalore
|
|
|
|
Hi Anuj,
Thanks for the solution...
“True politeness consists in being easy one's self, and in making every one about one as easy as one can”
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hopefully, I had been helpful..
- Ad |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
what if STEP1 returns a cond code of 99 ? You would be better off coding
COND=(0,LE)
Gerry |
|
Back to top |
|
|
|