How do you skip a particular step in a proc/JOB?

Answers were Sorted based on User's Feedback



How do you skip a particular step in a proc/JOB?..

Answer / debajyoti

COND=(0,LE) or COND=(4095,GE)

Is This Answer Correct ?    22 Yes 2 No

How do you skip a particular step in a proc/JOB?..

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

How do you skip a particular step in a proc/JOB?..

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

How do you skip a particular step in a proc/JOB?..

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

How do you skip a particular step in a proc/JOB?..

Answer / ganesh

COND=(0,LE,stepname)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More JCL Interview Questions

Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

0 Answers  


Is there any command to check wether the ps file is in sorted order?

4 Answers  


what happens in execution stage in job processing?

0 Answers   IBM,


How to execute step2,step1, step3 if step1,2,3 are in order

8 Answers   CSC,


How do you designate a comment in JCL?

1 Answers  






whats the diff bw the evaluate also and and?

0 Answers   CGI,


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)

2 Answers   IBM,


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.

0 Answers  


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.

1 Answers  


Explain the function of dd name parameter with a 2 part structure; audit.report?

0 Answers  


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??

14 Answers   L&T,


What is the meaning of the EXEC statement keyword, COND? What is its syntax?

2 Answers  


Categories