In an EVALUTE statement is the order of the WHEN clauses
significant?

Answers were Sorted based on User's Feedback



In an EVALUTE statement is the order of the WHEN clauses significant?..

Answer / mahathiaz

Absolutely. Evaluation of the WHEN clauses proceeds from
top to bottom and their sequence can determine results

Is This Answer Correct ?    9 Yes 0 No

In an EVALUTE statement is the order of the WHEN clauses significant?..

Answer / sravanthi

If 10 conditions coaded in 10 different when clause in an evaluate
If one when conditions is satisfied then it will not check the next conditions it will directly come out of evaluate loop

Is This Answer Correct ?    3 Yes 0 No

In an EVALUTE statement is the order of the WHEN clauses significant?..

Answer / keshireddy

Maha is correct.. In addition as it is top to bottom, more
number of times satisfied condition keep first.. this is
just for performance.

Is This Answer Correct ?    2 Yes 0 No

In an EVALUTE statement is the order of the WHEN clauses significant?..

Answer / jay

Yes
With Evaluate statment with When condition are evaluated from top to bottom.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

how to submit a jcl by cobol program. clear me with an example.

3 Answers   HCL,


How do u write test cases?

0 Answers   IBM,


I try to use some column names in my cobol progorm but these column not in db2 table ..when do i get error ..while bind time or runtime?

2 Answers  


I have a File that has duplicate records. I need only those records that occur more than thrice.?

3 Answers   IBM, Wipro,


01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name

5 Answers   TCS,






Why occurs can not be used in 01 level ?

2 Answers   TCS,


What is diff betn PS and ESDS file? What is the diffrent compiler options in cobol and there discription? What is retrive nth maximum salary from salary DB2 table. Can we redefine COM-3 variable with varchar variable?

4 Answers  


what is Pic 9v99 Indicates?

2 Answers  


Whtz the specialty of 77 level number ?

2 Answers   Infosys,


wht is structured cobol pgm and non structred cobol pgm ?

1 Answers   CTS, DELL,


how you read control card into array?

3 Answers   HCL,


There is a production file which has millions of records in it.The program that uses it ends up with an SOC7 abend.It is sure that the abend is due to some invalid data in the file.Is there any way to debugg the SOC7 abend with out giving displays? I need the record which is cause for the abend.

8 Answers   Danske, iGate,


Categories