What is the use of EVALUATE statement?
Answers were Sorted based on User's Feedback
Answer / ravikumar
Evaluate statement is used to avoid nested if statments in
the program.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / hariharan mahadeek
Evaluate Statement used for case structure - When working
multiple options this statement will be handy. Instead of
using multiple IF statement.
Hariharan Mahadeek -
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / edukulla
By useing of evaluate state ,we can reduce the syntax error
and reduce programing lenth,naturally error can redued
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / suresh babu
You can use the EVALUATE statement instead of a series of
nested IF statements to test several conditions and specify
a different action for each. Thus we can use the EVALUATE
statement to implement a case structure or decision table.
We can also use the it to cause multiple conditions to lead
to the same processing.
| Is This Answer Correct ? | 2 Yes | 0 No |
Can we move SPACES to numeric field and ZEROES to alphabetic field? If yes what are the way doing this?
which is better either static call or dynamic call? and why?
how to display comp3 variables reply soon ?
how can i see junk values in dclgen or in hostvariable of comp ?
how do you reference the esds vsam file formats from cobol programs
TO abend the data sholud open in which mode? 1.new 2.old 3.mod 4.shr
what is the difference between Plan & package?
How can you declare the file ?
9(2).99 how many bytes take? Why . consider as a byte?
What are the ways you can generate a copybook?
What the difference is between continue and next sentence?
Can we put move statement in COBOL copybook