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 |
How to Pass table from a cobol program to another cobol program and how to use that table in called program
how many divisions are there in cobol
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is Redefines clause?
What is tne need to use sub programs in Cobol?
What are the divisions in a cobol program?
how do you reference the variable block file formats from cobol programs
using redefine can you redefine lower variable size to higher variable size?
What is amode(24)?
How do we get current date from system with century?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
how will u pass dadta to cobol+db2 program...?