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

Hi, My interviewer ask A calls B and C calls B, a and b are static c and b are dynamic.what happens if they compile and execute at same time.

3 Answers   iGate,


What does the IS NUMERIC clause establish ?

2 Answers  


what is s000 u4087 error? please give the all error codes in cobol,jcl.

0 Answers  


what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.

3 Answers   HCL, TCS,


I have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please

2 Answers  






When search all is used in cobol program without sorted input data?

6 Answers   CGI, Principal Finance,


hie everyone.i just completed my b.tech in electronics and joined mainframes course.am i doing right course for my better future?please help me with your suggestions.ill be very thankful to you guys.

2 Answers  


What is report-item in COBOL?

0 Answers   Arigo Infotech,


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

0 Answers  


How can we increase the size of an existing PDS to include more no. of modules.

3 Answers  


What are various search techniques in cobol? Explain.

0 Answers  


when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?

1 Answers   Hewitt,


Categories