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 |
can any one help -s806
Can we use icetool in cobol program?
What are various search techniques in cobol? Explain.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What does the INITIALIZE verb do?
What happens in the background of spool when we submit a job for compilation and execution... This is a recent question in ibm...Kindly help me.....
What is the use of LINKAGE SECTION?
How to delete leading spaces/blank in COBOL ? Example:- 01 data-name-1 pic x(220) " English is a language". I would like to delete leading spaces.
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Suppose, file A has 100 records and file B has 500 records. We want to write records common to both A and B into file C and records which are present only in either A or B into another file D. What should be the logic of Cobol program to achieve this?
7 Answers Bank Of America, Mind Tree,
what are the steps to sort in a cobol program?
How many types of sorts are there in cobol?