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

what is search and searchall?what is the diffrence between them?give an best example?

3 Answers   BirlaSoft,


Can we use icetool in cobol program?

3 Answers  


What are the steps you go through while creating a COBOL program executable?

3 Answers  


I have a files containing both duplicate and non-duplicate records.The file is already sorted by a key.I want to determine those records that are duplicate and records that are non-duplicate.If duplicate the record is move to a duplicate file and if non-duplicate that will be move to valid file.thank you

1 Answers  


I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.

1 Answers  






In which area will you utilize 88 level items in cobol?

0 Answers  


Can we dynamically increase the size of occurs clause? i.e In case I an not sure of the size of array and want to increase the size at run time.If yes , how?

1 Answers  


how to code in cobol while using variable block file?

1 Answers  


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

2 Answers   IBM, Wipro,


What is difference between comp & comp-4?

6 Answers  


Explain about different table spaces.

0 Answers  


What is the figurative constant in cobol?

1 Answers  


Categories