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 |
i need the code for this program in cobol. 2 + 1 = 3 4+3=7 6+5=11 8+7=15 10+9=19
What does MAXCC 3 means? It is used in one my codes.
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
plz,could any one tell me? what about EBCDIC in cobol?briefly?
A table has two indexes defined. Which one will be used by the SEARCH?
The below is the declaration for a variable ws 01 ws pic 9(3). if you want to insert space how will you do that. in which level u should do it
What is different between variable length and fixed length?
Give some examples of command terminators?
Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.
What is the difference between a binary search and a sequential search?
WE HAVE 2 FILES IN COBOL. ONE IS FIXED LENGTH RECORDS ANOTHER ONE IS VARIABLE LENGTH. IF I DECLEAR LRECL OF FIXED ONE AS 80 AND 2ND RECORD AS 132. WHAT WE NEED TO DECLEAR LRECL FOR THOSE 2 FILES IN JCL?
why 02 level number can't be use as a separate level number like 01 or 77 ?