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 |
Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?
whats the difference between search and search all?
01 x pic s9(8) comp. How will the following value be internally allocated '18787'
How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?
What are the functions like c or c++ in cobol?
What is the difference between CONTINUE & NEXT SENTENCE ?
can I copy book which contain db2 statment in procedure divion?
What are declaratives and what are their uses in cobol?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
what is Reentrancy and Quasi-reentrancy?
how to know that the file has 300 records how to acess it?
Please let me know how the Eject verb works for page break.. I want to know the code, how it is used.