wht is the diff b/w if and evaluate stmts ?
Answers were Sorted based on User's Feedback
Answer / ankit
evaluate is used to reduce the complexity of IF ELSE
statements .both of two are condition handling statements
| Is This Answer Correct ? | 19 Yes | 0 No |
Answer / chandrababu naidu
Both if and evaluate perform same thing. but by perform
multiple if conditions choose evaluate is best thing.
evaluate reduces multiple if's and decrease burden.
| Is This Answer Correct ? | 0 Yes | 0 No |
What R 2 of the common forms of the EVALUATE STATEMENT ?
What are the differences between COBOL and COBOL II?
How do you come out of an EVALUATE statement?
can you declare redefine in level 01?
What is file status 39 ?
what happens if we dont close cursor in db2-cobol pgm?
Should I use STOP RUN in the sub program??why?
What is wrong with the following data declaration? 01 W-DATE PIC X(6). 05 DD PIC 99. 05 MM PIC 99. 05 YY PIC 99. (a) Nothing is wrong. (b) Under W-DATE all level 05 items are having a PIC 99 but level 01 has PIC X(6). (c) PIC can't be specified for a group item. (d) DD, MM, and YY are invalid datanames.
HELLO FRIENDS, THIS IS JANARDHAN.GADIRAJU, I FACED ONE INTERESTING QUESTION IN COBOL, THAT IS WHAT ARE THE VALUES WE CAN SEE IN HIGHVALUES AND LOWVALUES, CAN U PLEASE GIVE ME THE ANSWER
77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A will be executed.?
in cobol main pgm is calling sub pgm but sub pgm does not exists , what abend i get if submit the job?
If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??