View previous topic :: View next topic |
Author |
Message |
nadh Intermediate
Joined: 08 Oct 2004 Posts: 192 Topics: 89
|
Posted: Wed Sep 27, 2006 6:10 am Post subject: Condition Codes |
|
|
Hi,
I have following code in my jcl
STEP001 EXEC PGM=IEFBR14,COND=(8,LT)
DD01 DD DISP=(MOD,DELETE),SPACE=(TRK,0),
DSN=FST.&ENV..&FEED..&SRCE..JVS.CONNECT
This is first step in jcl. the dataset in question will be deleted by previous job. this step is included in jcl to make confirm to delete it if it was not deleted by previous job. My question is what is the use of COND=(8,LT). As this is the first step in jcl this cond wont be anyuseful. Suppose if the dataset is deleted prior to this job run, will STEP001 wont find the dataset, what hapens in that case whether it will give jcl error or it continues with next step.
Thanks
nadh |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
Posted: Wed Sep 27, 2006 7:23 am Post subject: |
|
|
nadh,
Pay attention to the DISP parameter and look up in the JCL manual for DISP=MOD. Cond Code in this step has no effect.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
Deepthi Beginner
Joined: 20 Aug 2005 Posts: 27 Topics: 6 Location: MN
|
Posted: Fri Nov 10, 2006 4:44 pm Post subject: |
|
|
Hi,
I have a job which ends with a return code 8. Can I override this return code as this return code for this job is acceptable and make it end with a Return code Zero. _________________ Thanks,
Deepthi.
Our lives begin to end the day we become silent about things that matter. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
|
|