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 different file OPEN modes available in COBOL?
I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?
example for sub strings ? and refernce modifications whit output pls
0 Answers College School Exams Tests, IBM,
i want to learn mainframes. i completed MCA ,whats the future of mainframes
what will happen if i give program name and member name as different? program runs successful or w'll abend?
What is tne need to use sub programs in Cobol?
i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2
Why we are using comp and comp-3 in real time projects?
I have sequential file recl 1000 i want to add another 15 bytes to it. The record length should not change..How?
COMP field occupy ?
is it possible to declare index in cobol program? if it is not why its tell me pls
2)Where the Plan is located in CICS-DB2?