Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step i..

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

When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step i..

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

When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step i..

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

When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step i..

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

When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step i..

Answer / serafina

executed

Is This Answer Correct ?    2 Yes 0 No

When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step i..

Answer / nidhi sharma

IF STATEMENT IS TRUE STEP WILL BYPASS OTHERWISE IT WILL
EXECUTE.

Is This Answer Correct ?    4 Yes 8 No

Post New Answer

More JCL Interview Questions

For what purpose steplib and joblib are used ?

0 Answers  


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

0 Answers  


how do u send return code from cobol to jcl ?

2 Answers   TCS,


What 3 guidelines do we have to follow when concatenating DD statements?

3 Answers  


I have two input files i/p1 name id-key flag date i/p 2 name id-key date if id-key matches in the both the files then it should write the output file from i/p1 with flag 'Y'. It should be done thru JCL sort card ,Please provide the info on this. ---Note : output file should have all records from i/p1 with proper Flag.

2 Answers  


Is CPU time (TIME parameter) assigned to a JOB and JOBSTEP BOTH, by default ?

6 Answers   IBM,


In order to continue a job after a return code of 12 in step1, what the step2 exec statement include?

1 Answers  


What are the maximum and minimum sizes of any CONTROL AREA (VSAM datasets) ?

2 Answers   Patni,


IN DFSORT sum fields=none is usec to remove duplicates.how to write the duplicates in another dataset?

2 Answers  


How to find the number of duplicates in a file using Sort?

4 Answers   Fidelity,


What is a MODEL Paramater in GDG ?

2 Answers   Xansa,


What are the differences between JES2 & JES3 ?

4 Answers  


Categories