What is the meaning of the EXEC statement keyword, COND?
What is its syntax?
Answers were Sorted based on User's Feedback
Answer / guest
COND specifies the conditions for executing the subsequent
job step. The value after the COND= is compared to the
return codes of the preceding steps and if the comparison is
true, the step is bypassed. (If this answer confuses you,
welcome to the club - memorize it and don't ask questions!)
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / suresh babu
EXEC operation is meant for executing a program or
procedure. Each EXEC is known as one step. Maximum EXEC
steps in a JCL can be: 255.
The COND parameter coded on the EXEC statement applies only
to the job step that it is coded in. The job step is
executed or bypassed, depending on the condition codes
issued by one or more prior job steps.
SYNTAX: COND=(comparison-code,condition,stepname)
| Is This Answer Correct ? | 0 Yes | 0 No |
what is the function of iebcompr?....is it compare record length or characteristics of a dataset?...pls explain with examples.......
I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
What do you understand by the term notcat 2 – gs?
what are the statements that are not valid to be included in an include statement?
Is automatic restart possible in jcl?
what JCL Procedures?
hi friends........if u know syntax of IEBEDIT IN JCL
How do you skip a particular step in a proc/JOB?
How does the jcl specify the job to os?
How do you submit a JCL under CICS environment ?
What is COND=EVEN ?