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 type of SDLC u followed? Why?

1522


What is the difference between external and global variables in COBOL?

815


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2060


What kind of error is trapped by on size error option?

742


how to convert the recors form vsam file to db2 table tru file aid

2763






What is rmode(any) ?

686


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2337


What are the different rules to perform a Search?

619


how to move the records from file to array table. give with code example

2221


What are the various section in data division and briefly explain them.

700


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

897


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

885


Can we redefine the field of x(200) to less than 200?

822


How do u write test cases?

1640


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

686