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 ?

Answers were Sorted based on User's Feedback



what is the advantage of using redefines instead of delaring the variables ?..

Answer / kavithachandrashekar

Redefines is basically used to occupy same same storage space for different data items.In this case if we declare new variable then there is wastage of memory

Is This Answer Correct ?    4 Yes 0 No

what is the advantage of using redefines instead of delaring the variables ?..

Answer / 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

what is the advantage of using redefines instead of delaring the variables ?..

Answer / deepak kumar

redefines saves the memory by referring the same memory location by other data items.

Is This Answer Correct ?    1 Yes 0 No

what is the advantage of using redefines instead of delaring the variables ?..

Answer / sriram

redefines is a clause which is used for predefined storage space for other variables without wastage of space.

Is This Answer Correct ?    0 Yes 0 No

what is the advantage of using redefines instead of delaring the variables ?..

Answer / joshin

redifine will used to change the pic clause of already
declared variable.

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More COBOL Interview Questions

How to declare if emp-name = AAAAA""BBB in working-storage section. After display emp-name should print like AAAAA""BB

6 Answers   Polaris,


how to submit a jcl by cobol program. clear me with an example.

3 Answers   HCL,


How do you differentiate between cobol and cobol-ii?

0 Answers  


Write a program to explain size error.

0 Answers  


I have a File that has duplicate records. I need only those records that occur more than thrice.?

3 Answers   IBM, Wipro,


I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.

1 Answers   L&T,


I want ALL ERROR codes in VSAM

3 Answers   American Express, TCS,


whn do i get soc7 abend while moving alphanumeric to numeric or while moving numeric to aplhanumeric please reply ASAP?

9 Answers  


What is the difference between static call & Dynamic call?

2 Answers   CSC, TCS,


how do you define single dimensional array and multidimensional array in your cobol?

0 Answers  


How to Pass table from a cobol program to another cobol program and how to use that table in called program

8 Answers   Patni, SunGard,


Can we move SPACES to numeric field and ZEROES to alphabetic field? If yes what are the way doing this?

6 Answers   T systems,


Categories