Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the use of EVALUATE statement?

Answers were Sorted based on User's Feedback



What is the use of EVALUATE statement?..

Answer / ravikumar

Evaluate statement is used to avoid nested if statments in
the program.

Is This Answer Correct ?    6 Yes 0 No

What is the use of EVALUATE statement?..

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

What is the use of EVALUATE statement?..

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

What is the use of EVALUATE statement?..

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

Post New Answer

More COBOL Interview Questions

What are declaratives and what are their uses in cobol?

0 Answers  


Hai friends why we need to read a file before re-write a record?

7 Answers   L&T,


I have a source program compiled with Cobol-2. The output file has a record length of 100 defined in the program but a record of 60 bytes getting written into it. i.e. The rest of 40 bytes I am not Writing anything. But it by default puts some values into the last 40 bytes. However it does not impact anything. But when Compiled the module with Enterprise Cobol the last 40 bytes were spaces as fillers. Can anyone explain?

5 Answers   Cognizant,


What is the output generated by the following code? 01 GRP-I. 05 SUBFLD1 PIC XX VALUE "AB". 05 FILTER PIC X(6) VALUE SPACES. 01 GRP-2 REDEFINED GRP-1. 05 SUB-FLD2 PIC XX. 05 SUB-FLD3 PIC XX. 05 FILTER PIC X(4). IF SUB-FLD1 NOT = SPACES DISPLAY "SUBFLD1" MOVE "ABBCCD" TO GRP-1 IF SUB-FLD3 = SPACES DISPLAY "SPACES" ELSE DISPLAY "SUBFLD3" DISPLAY "END" ELSE DISPLAY "SPACES" DISPLAY "END". (a) SUBFLD1 SUBFLD3 END (b) SPACES END (c) SUBFLD1 END (d) SUBFLD1 SPACES

7 Answers   TCS,


How is sign stored in Packed Decimal fields and Zoned Decimal fields?

6 Answers   ABC, HCL, TCS,


I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?

3 Answers  


88 class is used for

5 Answers   CTS, EDS,


how to transfer the file from pc to mainframe??

3 Answers  


i have two file one is ksds another one is esds i want store matching records in flat file how to you matching.

2 Answers   Wipro,


I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?

1 Answers  


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

0 Answers  


How can you display the SPOOL information ?

2 Answers  


Categories