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...

Explain about Redefines cluse?

Answer Posted / amit barwa

REDEFINES Clause
Facilitates two or more data-names to point to the same
memory location
e.g.

01 WS-NUM1 PIC X(1)

01 WS-NUM2 REDEFINES WS-NUM1 PIC X(2).

If you MOVE '10' to WS-NUM2,

DISPLAY WS-NUM1 will show 1 while

DISPLAY WS-NUM2 will show 10.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we get current date from system with century in COBOL?

1423


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3273


What are the different types of condition in cobol and write their forms.

1145


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

1433


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1192


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2539


Explain about different table spaces.

1149


What are declaratives and what are their uses in cobol?

1254


What is cobol?

1286


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1125


how to move the records from file to array table. give with code example

2723


What is amode(31)

1211


What is redefines clause in COBOL?

1342


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2433


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1376