How do you skip a particular step in a proc/JOB?
Answers were Sorted based on User's Feedback
Answer / guest
Can use either condition codes or use the jcl control
statement IF (only in ESA JCL)\
Is This Answer Correct ? | 7 Yes | 2 No |
Answer / nikhil
Can use either condition codes or use the jcl control
statement IF (only in ESA JCL)
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / nikhil
To skip a particular step use Conditon in EXEC statement
If the condition is true then step will be bypassed.
Ex
//stepname EXEC PGM=xyz,COND(4,LT).
Is This Answer Correct ? | 4 Yes | 2 No |
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
Is there any command to check wether the ps file is in sorted order?
what happens in execution stage in job processing?
How to execute step2,step1, step3 if step1,2,3 are in order
How do you designate a comment in JCL?
whats the diff bw the evaluate also and and?
A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)
I have a Symbolic Parameter which can have a value say 01 or 02 etc. Now consider i have another Symbolic parameters which is used to get 3 digit code of months (JAN, FEB, etc) but for that i need to check the first symbolic parameter's value and provide its corresponding month's name in the second symbolic parameter. Say IF sym1 = 01 then sym2='Jan' ENDIF etc... In JCL, IF condition is used for RC, ABEND purposes of a step etc. When i use Symbolic parameter in IF clause it is showing Error message. Is there a way to get the above result possible in JCL. If you could provide me with an example, i would understand it better.
what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.
Explain the function of dd name parameter with a 2 part structure; audit.report?
i have 1000 records in input file and i want to sort it and the first 200 records to be placed in output file. how to do that??
What is the meaning of the EXEC statement keyword, COND? What is its syntax?