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 |
Explain the function of a dd statement?
What 3 guidelines do we have to follow when concatenating DD statements?
What is DSNDB06 ?
wt will happen to the step of a job if u code COND=ONLY
I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.and it should not execute 18,19,20 steps??
9 Answers IBM, Infosys, TCS, Xansa, Xchanging,
How do you submit a JCL under CICS environment ?
We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?
What is TimeStamp, What is TimeStamp error and What is the Abend Code for TimeStamp Error ?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
How to pass values in jcl to cobol?
What is the function of dd name parameter with a 2 part structure; audit.report?