What is the use of EVALUATE statement?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between PIC 9.99 and 9v99 in COBOL?

996


What is the difference between perform … with test after and perform … with test before?

1166


What are the pertinent COBOL

2251


Write a program to explain size error.

898


What is the LINKAGE SECTION used in COBOL?

1226


What are the different rules for performing sort operation?

985


What is the difference between a binary search and a sequential search what are the pertinent cobol?

943


What are declaratives and what are their uses in cobol?

956


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

967


what are decleratives in cobol?

2011


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2224


What are all the divisions of a COBOL program?

907


What is difference between static and dynamic call in cobol?

1043


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5103


how do you define single dimensional array and multidimensional array in your cobol?

878