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
What type of SDLC u followed? Why?
What is the difference between external and global variables in COBOL?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
What kind of error is trapped by on size error option?
how to convert the recors form vsam file to db2 table tru file aid
What is rmode(any) ?
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
What are the different rules to perform a Search?
how to move the records from file to array table. give with code example
What are the various section in data division and briefly explain them.
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?
What is the difference between perform … with test after and perform … with test before?
Can we redefine the field of x(200) to less than 200?
How do u write test cases?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning