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 advantage of using redefines instead of
delaring the variables ?

Answer Posted / m r reddy

--Redefines is used to re-use the storage space irrespective of the data type.
--Using redefines more than one field can re-use the same memory.

Ex: 01 a pic x(5) value 'xyz12'.
01 b redefines a pic x(3).

Here a=xyz12 value is stored and
b=xyz value is stored. B is reuse the A's Memory

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2565


Write the code implementing the perform … varying.

1038


Which division and paragraphs are mandatory for a COBOL program?

1251


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1097


How many bytes S(8) comp field occupy and its maximum value?

2125


What are the different rules to perform a Search?

1076


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

1162


how to convert the recors form vsam file to db2 table tru file aid

3243


What the difference is between continue and next sentence?

1140


What is comp-1 and comp-2?

1213


Name some of the examples of COBOl 11?

3123


How do u write test cases?

2051


What is the difference between next sentence and continue in cobol programing language?

1195


What is amode(24)?

1219


Have you used comp and comp-3 in your project? And how?

2459