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

can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2434


What are the cobol coding sheets?

1279


i need a small 3d program using inline and outline.

2216


Define cobol?

1412


Can we change the password using ALTER? anyone tried and changed?

2021


What are the rules of the move verb?

1272


Write a program to explain size error.

1204


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1352


Discuss about changing dataset name in proc.

1237


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1258


what is difference between cobol and cobol/400

22929


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

1187


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

2083


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5749


What rules are to be followed while using the corresponding options?

1077