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

Can we redefine the field of x(200) to less than 200?

1381


How do we get current date from system with century in COBOL?

1388


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

1149


Name the sections present in data division.

1256


What is inspect in cobol ?

1313


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1360


Why did you choose to work with ibm mainframe cobol programming?

1123


how do you reference the esds vsam file formats from cobol programs

1225


HOw can I get the negative sign while deduct high value from low value

2262


What is the difference between structured cobol programming and object alternativelyiented cobol?

1257


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5378


What is redefines clause in COBOL?

1302


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1146


What is the difference between PIC 9.99 and 9v99 in COBOL?

1343


What are the different rules of SORT operation?

1151