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 are the different forms of EVALUATE statement?

Answer Posted / shinoy sansilavose

EVALUATE
WHEN A=B AND C=D
imperative stmt

WHEN (D+X)/Y = 4
imperative stmt
WHEN OTHER
imperative stmt
END-EVALUATE

EVALUATE SQLCODE ALSO FILE-STATUS
WHEN 100 ALSO '00'
imperative stmt
WHEN -305 ALSO '32'
imperative stmt
WHEN OTHER
imperative stmt
END-EVALUATE

EVALUATE SQLCODE ALSO A=B
WHEN 100 ALSO TRUE
imperative stmt

WHEN -305 ALSO FALSE
imperative stmt
END-EVALUATE

EVALUATE SQLCODE ALSO TRUE
WHEN 100 ALSO A=B
imperative stmt
WHEN -305 ALSO (A/C=4)
mperative stmt
END-EVALUATE

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between comp and comp-3?

1144


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1122


What is the difference between Call and a Link?

1144


What are declaratives and what are their uses in cobol?

1159


What is rmode(any) ?

1209


What is a report item?

1109


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2406


IF I mention stop run in CICS what happens?

2319


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2029


How to know whether the module is dynamical or statistical?

1098


What are various search techniques in cobol? Explain.

1039


For rewrite, why is it mandatory that file needs to be opened?

1077


Why would you use find and get rather than to obtain?

1152


How you can characterize tables in cobol?

1164


What is comp-1 and comp-2?

1198