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 clause?

Answer Posted / krishna

Allowcation of more than one data items in a single memory
location.

Ex:
01 a pic x(9).
01 b redefines a pic x(7).

Rules for Redefines

1. Should be different datatype and size
2. Redefined item should not contain value clause
3. Redefing item cantain redefined item
4. Redefines can't write in 66 and 88 level numbers

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is search and searchall?what is the diffrence between them?give an best example?

6923


What are declaratives and what are their uses in cobol?

1261


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2330


Discuss about changing dataset name in proc.

1294


What is difference between static and dynamic call in cobol?

1466


How to know whether the module is dynamical or statistical?

1212


what is difference between cobol and cobol/400

23079


Write a cobol program making use of the redefine clause.

1228


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2187


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1218


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?

1379


Write the code to count the sum of n natural numbers.

1258


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.

4211


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1273


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5875