Define REDEFINE clause and Is it possible to have the
redefine clause anywhere in the working storage section for
a data name?

Answers were Sorted based on User's Feedback



Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working stora..

Answer / selvam a

REDEFINE clause allows the said area to be referred by more
than one data name with different sizes and pictures.
Usage:
level-number data-name1 REDEFINES data-name2
Answer to the question 2:
The REDEFINES clause must immediately follow data-name1
Other Rules:
1. The level number of data-name1 and 2 must be identical.
2. date-name1 and 2 must be of same size.
3. Multiple redefinitions are allowed.

Is This Answer Correct ?    10 Yes 3 No

Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working stora..

Answer / adarsha

thats right !

Is This Answer Correct ?    1 Yes 0 No

Define REDEFINE clause and Is it possible to have the redefine clause anywhere in the working stora..

Answer / anju

I think redefine cannot be done for a level01 item.

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More COBOL Interview Questions

can we use COPY statement in w-s section? how?

3 Answers  


How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?

4 Answers  


01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases

6 Answers   Patni,


How will 128 be saved in s9 (3) comp-3 How will 12 be saved in s9 (2) comp

3 Answers   CTS,


BY seeing a program how can we say that it is static call or dynamic call

5 Answers   CGI,






how do you reference the fixed unblock file formats from cobol programs

0 Answers  


In an EVALUTE statement is the order of the WHEN clauses significant?

4 Answers  


Can we use goto statement in inline_perform ?

5 Answers   IBM,


i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?

2 Answers  


can we read records in a file from botom to top. if possible how can we read

12 Answers   ACS,


In COBOL CALL-CALLING,if a program A is calling 3 sub- programs, dynamically, then it is said sub-programs will always will always in Initial Mode. My question is : Do we need to code CANCEL or (IS INITIAL) for dynamically called sub-programs or it is the property of Dynamically called pgms so every time sub-pgms are called they will be in initial mode. ***This question is only Dynamic call****, Please reply. Thank you in advance.

4 Answers   Wipro,


What are the differences between OS VS COBOL and VS COBOL II?

1 Answers   IBM,


Categories