In an EVALUTE statement is the order of the WHEN clauses
significant?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / jay
Yes
With Evaluate statment with When condition are evaluated from top to bottom.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between static call & Dynamic call?
Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.
how to fetch the record before the last record in a cobol file( its a huge file and if the key field is not known)
Write the code to count the sum of n natural numbers.
If a sub program is called from mainprogram.I have opened cursor in main program and Fetch the result in subprogram ,Is it possible ?If yes please tell me the reason.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between a binary search and a sequential search?
What is the difference between SEARCH and SEARCH ALL? What is more efficient?
What is EIBCALEN? Why it is used?
if a file has 1000 recods how copy the records from 1 to 100 records using sort
How many types of sorts are there in cobol?
what are the utilities for load and unload the DB2 tables