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 redefines? where it can be effectively use for the
purpose of memory utilization? give an example?

Answer Posted / siri

REDEFINES:-REUSE THE SPACE FROM FIRST BYTE ON WORDS....REDEFINES AND REDEFINING FIELDS MUST BE AT SAME LEVEL NOS..REDEFINING THE MEMORY MUST BE SAME OR SORTER...
FOR EXAMPLE 1000 BALLS IS THERE..EACH BALL CAST IS 10 RS/-...BUT I HAVE ONLY 10 RS/-...BUT I USE THE ALL 1000 BALLS HOW MEANS USING THE REDEFINES....

WORKING-STORAGE SECTION.
01 A PIC X(100) VALUES '******************************'
01 B REDEFINES A X(10)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can i see junk values in dclgen or in hostvariable of comp ?

2935


What are all the divisions of a COBOL program?

1148


What are the different data types in cobol?

1335


Discuss about changing dataset name in proc.

1175


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4121


What is the difference between perform … with test after and perform … with test before?

1373


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

1319


How you can characterize tables in cobol?

1150


What is comp-1 and comp-2?

1187


For rewrite, why is it mandatory that file needs to be opened?

1065


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1146


What is amode(31)

1110


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1157


How arrays can be defined in COBOL?

1139


What is static and dynamic call in cobol?

1004