What R 2 of the common forms of the EVALUATE STATEMENT ?
Answer / scott
You can evaluate TRUE or FALSE conditions or you can
interigate the value of a field
1)
EVALUATE TRUE
WHEN A = 1
PERFORM SOMETHING
WHEN A = 2
PERFORM SOMETHING ELSE
END-EVALUATE
2)
EVALUATE A
WHEN 1
PERFORM SOMETHING
WHEN 2
PERFORM SOMETHING ELSE
END-EVALUATE
Is This Answer Correct ? | 15 Yes | 2 No |
what is a zoned decimal data type and how it will be stored?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
I know my query will return more than one row but I don't want cursor what should I do?
What is the difference between index and subscript?
what is the coding difference between COBOL and CICS.
In INITIALIZE what is Repalcing Word will do
What is report-item?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
I have a cobol program with a sub program. How ca i find that it is a dynamic call? or static call..?
What is sqlca and why is it needed in any cobol-db2 program?
Have you code any new programs in COBOL ? What is the functionality of the programs?
I have a seq file with different fields one field is address with pic x(50) as input in a cobol program. In address there is 'PUNE' at any different positions in the address field ( form 1 t0 50) . My requirement is select the fields with address 'PUNE' by using cobol. Please suggest