wht is the diff b/w if and evaluate stmts ?

Answers were Sorted based on User's Feedback



wht is the diff b/w if and evaluate stmts ?..

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

wht is the diff b/w if and evaluate stmts ?..

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

Post New Answer

More COBOL Interview Questions

What R 2 of the common forms of the EVALUATE STATEMENT ?

1 Answers   Cap Gemini,


What are the differences between COBOL and COBOL II?

1 Answers   CSC,


How do you come out of an EVALUATE statement?

3 Answers  


can you declare redefine in level 01?

8 Answers   Patni,


What is file status 39 ?

10 Answers   JPMorgan Chase,


what happens if we dont close cursor in db2-cobol pgm?

6 Answers  


Should I use STOP RUN in the sub program??why?

6 Answers   Xansa,


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.

6 Answers   Mphasis, TCS,


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

7 Answers   Patni,


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.?

9 Answers   TCS,


in cobol main pgm is calling sub pgm but sub pgm does not exists , what abend i get if submit the job?

2 Answers   HSBC,


If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??

4 Answers   Accenture,


Categories