View previous topic :: View next topic
|
Author |
Message |
sathish1760
New User
Joined: 02 May 2008 Posts: 42 Location: chennai
|
|
|
|
How to use conditional handling in JCL.
My scenario is
If a=1 then
call proc1
if a=2 then
call proc2 |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
Back to top |
|
|
sathish1760
New User
Joined: 02 May 2008 Posts: 42 Location: chennai
|
|
|
|
Hi dick,
Thanks for information.
But my requirement is that i need to check the value of the variable and do the conditional branching.
// set a=1
If a=1 then
call proc1
If a=2 then
call proc2 |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Yes - understood.
Such examples are in that link (if i understand the requirement).
There are many more pages of info for this, so you need to look at the other pages for the same topic as well. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
sathish1760 wrote: |
But my requirement is that i need to check the value of the variable and do the conditional branching. |
JCL does NOT work that way. That can only be accomplished through a program. |
|
Back to top |
|
|
|