When we use conditional statement in JCL using
if-then-else-endif, IF statement is true, the step is
bypassed or executed?
Answer Posted / praveen bejjanki
JCL has 2 statement which can check for the Return code of
the previous step.
1. Cond stmt: step will be executed when the condition is
falst
2. If stmt: step will be executed when the given condition
is true.
@All: Correct me if i'm wrong
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
List in order the hierarchical levels of jcl?
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
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
How can a stopped job be started again?
how do you code a null statement?
How does jcl specify the job to the operating system?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
What parameter of the job statement is used to limit the cpu time consumed by the job?
what happens in conversion stage in job processing?
i want to store 20 digits . how will u do it in cobol ?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
What is one line to pass PARM from JCL to COBOL?
Explain the function of //cntl statement?
How jcl work to handle various input output file operations?
What is the function of the dd mgmtclas keyword in sms datasets?