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 are the diferences b/w sub-script and index?
What is the difference between a subscript and an index in a table definition?
What is mean by maxcc
what is the difference between implicit and explicit scope terminator with example?
Extract only those records from a PS file which are having word 'TEXT' in the records using COBOL? The word TEXT is not present in a particular position in all the records.
Identify the invalid dataname from the following: (A) savings-account (B) annual-allocation-for-overhead (C) samount250 (D) 12demand
I want to declare a field with data type Double in my COBOL program. how shall i do that ?
In CICS/VSAM every file that is accessed should be defined in FCT. we have CICS READ, WRITE, BROWSE commands for VSAM files. How does it work with DB2 tables. It know it has to do with the plan. Please expain with examples.
How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.
How to concatenation one or more string?
Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.
01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??