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 R 2 of the common forms of the EVALUATE STATEMENT ?

Answer Posted / scott

You can evaluate TRUE or FALSE conditions or you can
interigate the value of a field

1)
EVALUATE TRUE
WHEN A = 1
PERFORM SOMETHING
WHEN A = 2
PERFORM SOMETHING ELSE
END-EVALUATE

2)
EVALUATE A
WHEN 1
PERFORM SOMETHING
WHEN 2
PERFORM SOMETHING ELSE
END-EVALUATE

Is This Answer Correct ?    15 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you reference the variable block file formats from cobol programs

1309


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2630


How do you reference the following file formats from cobol programs?

1202


Which is not true about evaluate statement

2512


What is the difference between Global and External Variables?

1434


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1481


What are various search techniques in cobol? Explain.

1111


How you can read the file from bottom?

1195


What is the utilization of copybook in cobol?

1272


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

8024


Define cobol?

1480


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

3211


What is the compute verb? How is it used?

1187


Write down the divisions of cobol program?

1334


Why occurs cannot be used in 01 level in COBOL?

1204