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?

Answers were Sorted based on User's Feedback



What is Redefines clause?..

Answer / a.roselin

Redefine Clause represents the same storage locations by
diffent data types

Is This Answer Correct ?    62 Yes 3 No

What is Redefines clause?..

Answer / roopa sharma

two or more data items can use same working storage area by
redefining a storage area

Is This Answer Correct ?    24 Yes 3 No

What is Redefines clause?..

Answer / sudhakar koppavarapu

Redefines clause allows a programmer to give different data
descriptions to the same area of storage.



syntax:

LevelNumeber Identifier1 REDEFINES identifier2.


01 A PIC X(7).
01 B REDEFINES A PIC 9(5)V9(2).

Is This Answer Correct ?    24 Yes 8 No

What is Redefines clause?..

Answer / somnath

Two or more data items can use same working storage area by
redefining a storage area.

Is This Answer Correct ?    12 Yes 2 No

What is Redefines clause?..

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

What is Redefines clause?..

Answer / malay

redefine clause is used to access same memory storage space by different data items.
ex...
01 a pic x(9).
01 b redefines pic 9(7)v9(2).
tips.
datatype may be different but size of B be same or less then size of A.
better for use same datatype and same size,so that out put should be correct.

Is This Answer Correct ?    11 Yes 7 No

What is Redefines clause?..

Answer / bhanupriya

the REDEFINES clause allows you to use different data description entries to describe the same computer storage area

Is This Answer Correct ?    4 Yes 0 No

What is Redefines clause?..

Answer / prakash shrivastava

Redifines clause is used to allocate more than one data in
same memory location....

ex:- 77 a pic 9(2).
77 b redefines a pic 9(2).

Is This Answer Correct ?    20 Yes 31 No

Post New Answer

More COBOL Interview Questions

If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it

7 Answers   BirlaSoft,


In a program, variables are used but no DB2 involved in it. Can you call it as host variables??

4 Answers   EDS,


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

0 Answers   Valtech,


what is the difference between start and startbr?

2 Answers  


what will happen if pass values more than 100 using PARM parameter?

1 Answers  


copy 100 records without using ibm utilities

3 Answers  


what is difference between cobol and cobol/400

1 Answers   HCL,


What is an index for tables?

2 Answers  


If a sub program is called from mainprogram.I have opened cursor in main program and Fetch the result in subprogram ,Is it possible ?If yes please tell me the reason.

1 Answers  


Will the variable POS in the following code have a value of 2 or not? 01 POS PIC S9(4) COMP VALUE 2. 01 FIRST-NAME PIC X(10) VALUE 'ABC'. 01 LAST-NAME PIC X(10) VALUE 'XYZ'. 01 NAME PIC X(20) VALUE SPACES. STRING FIRST-NAME DELIMITED BY SPACES ' ' DELIMITED BY SIZE LAST-NAME DELIMITED BY SPACES INTO NAME WITH POINTER POS

2 Answers  


what happens if parmparameter passes zero bytes to the program

0 Answers   HSBC,


What is wrong with the following data declaration? 01 W-DATE PIC X(6). 05 DD PIC 99. 05 MM PIC 99. 05 YY PIC 99. (a) Nothing is wrong. (b) Under W-DATE all level 05 items are having a PIC 99 but level 01 has PIC X(6). (c) PIC can't be specified for a group item. (d) DD, MM, and YY are invalid datanames.

6 Answers   Mphasis, TCS,


Categories