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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is redefines clause in COBOL?

841


Give some examples of command terminators?

749


How do you get the data to code the BMS macro?

1470


What guidelines should be followed to write a structured cobol prgm?

663


Write some characteristics of cobol as means of business language.

611






What is the default value(s) for an initialize and what keyword allows for an override of the default?

686


What is rmode(24)

676


how to refer the data field?

1795


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

679


Explain about different table spaces.

642


what are decleratives in cobol?

1821


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1895


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

701


How arrays can be defined in COBOL?

658


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2045