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 I want to increase the Limit in GDG. What should I do?

1 Answers   IBM,


How can we pass data from cobol to JCl?

7 Answers   ADP, Amdocs, IBM,


What are the different data types available in COBOL?

4 Answers  


1.What is the default print format in cobol?

5 Answers   HSBC,


01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?

7 Answers   Patni,






What is perform what is varying?

0 Answers  


explain sorting techniques in cobol program?

0 Answers  


What are the different ways to run a COBOL DB2 program using JCL?

2 Answers  


Hai friends why we need to read a file before re-write a record?

7 Answers   L&T,


consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will be the value of stat a) set male to true. b) set female to true.

5 Answers  


what is dynamic array in cobol? what is the difference b/w array and table in cobol?

2 Answers  


What is the difference between PIC 9.99 and 9v99?

7 Answers  


Categories