When we use conditional statement in JCL using
if-then-else-endif, IF statement is true, the step is
bypassed or executed?
Answers were Sorted based on User's Feedback
Answer / shubha
statement is executed,but if we use cond=( ),
then if the statement is true step will be bypassed.
| Is This Answer Correct ? | 17 Yes | 2 No |
Answer / satyasivaji.ch
When we use conditional statements if the condition
specified is true then step bypassed,n if u use if n else
statements then condition specified is true then step is
executed.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / arjun
The step will b bypassed if the condition is true. This is
the feature of JCL which is against all other languages
| Is This Answer Correct ? | 7 Yes | 4 No |
Answer / 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 |
Answer / nidhi sharma
IF STATEMENT IS TRUE STEP WILL BYPASS OTHERWISE IT WILL
EXECUTE.
| Is This Answer Correct ? | 4 Yes | 8 No |
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
How can the submitting users racf authority be overridden in a job stream?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
Could anyone please suggest me what is the maximum length of data that can be pass as input in //sysin dd * This was asked in interview. TIA
what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
If the proc stepname is excluded while overriding the COND, TIME, REGION and PARM parameters while calling the proc, will the override only apply to the first step in the proc or all the steps for all the above parameters?
what does mvs stand for?
GDG Create syntax ?
how can u understand ps and pds from their names ?
If i have defined an temperory dataset in step2, how can i call back or use the same dataset in step5 of the same job