Hi All,
One of the interviewer asked me,I have one catalog procedure which contains step1,2...upto step15.Now i want to run the steps which is inside the procedure, from step2 to step15 without using restart parameter,only i want to use COND parameter.I replied by using IEBEDIT,it can be easily handled.But interviewer wants only with COND parameter.
Thanks and Regards,
Inbasekar
Jcl without first step execution
-
- Posts: 2
- Joined: Wed Jan 09, 2008 2:41 pm
- Skillset: jcl,cobol,cics,db2,vsam
- Referer: friend
-
- Global moderator
- Posts: 3720
- Joined: Sat Dec 19, 2009 8:32 pm
- Skillset: Systems programming, SAS, COBOL, CICS, JCL, SMS, VSAM, etc.
- Referer: other forum
- Location: Dubuque, Iowa, USA
Re: Jcl without first step execution
From the JCL Reference manual:
16.5.6.3 COND Parameter on the First Statement in a Job The system evaluates a COND parameter on the first EXEC statement in a job as false. However, you can use an IF statement before the first EXEC statement in a job to bypass the step. See Chapter 17, "IF/THEN/ELSE/ENDIF Statement Construct" in topic 17.0 for more information.
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: Jcl without first step execution
However you do it it is probably a bad idea as that first step should be producing something that is required in a later step. If it isn't then it should be in a job of its own.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Similar Topics
- Replies
- Views
- Last post
-
- 0
- 1552
-
by prisgs
View the latest post
Fri Nov 18, 2022 8:30 pm
-
- 10
- 3626
-
by willy jensen
View the latest post
Tue Oct 31, 2023 8:36 pm
-
- 9
- 2834
-
by sergeyken
View the latest post
Thu Jan 09, 2025 11:59 pm
-
-
Sending o/p file's content to spool withot adding extra step
by Misha786 » Tue Jan 12, 2021 6:51 pm » in JCL - 4
- 2022
-
by sergeyken
View the latest post
Tue Jan 12, 2021 11:28 pm
-