A PROC has five steps. Step 3 has a condition code. How can
you override/nullify this condition code?
Answers were Sorted based on User's Feedback
Answer / charu
The condition code can be nullified by using the following
command.
//STEP001 EXEC procname, COND.stepname=(0,LE)
Is This Answer Correct ? | 40 Yes | 9 No |
Answer / guest
Provide the override on the EXEC stmt in the JCL as follows:
//STEP001 EXEC procname, COND.stepname=value
All parameters on an EXEC stmt in the proc such as COND,
PARM have to be overridden like this.
Is This Answer Correct ? | 21 Yes | 12 No |
Answer / sanjayreddyguna
//step1 exec proc=procname,cond.step3=(0,le)
then proc in that step3 cond parameter will overide
Is This Answer Correct ? | 8 Yes | 3 No |
Answer / abhirup
//STEP01 EXEC PROCNAME, COND.STEPNAME = EVEN
WHERE STEPNAME IS THE PROC STEP.
Is This Answer Correct ? | 3 Yes | 2 No |
How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL.
Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?
Hi Please try to be to-the-point. 1) How to INCLUDE a JCL segment in a JOB ? (A Small example) 2) What is SPOOL and what is SPOOL FULL ? and how to direct the output of a Jobstep to SPOOL ?
Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance
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 //jcllib statement?
can we maintain 2 generations with different Lengths in Same GDG ?
i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.
What are three major types of JCL statements? What are their functions?
Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?
we define the array like this 01 array 02 veg occurs 10 times 03 days occurs 6 times 04 cost pic 9(5). but why don't we write it as 01 array 02 veg occurs 10 times 03 days occurs 6 time 04 cost pic 9(5). is there any error will occur ,what is it? and why don't 01,02,03 not contain picture clause? if we put pic in those is there any error will occur what is it will occur?
how to resolve the soc4 error?