Give some advantages of REDEFINES clause?

Answer Posted / mahathiaz

1. You can REDEFINE a Variable from one PICTURE class to
another PICTURE class by using the same memory
location.
2. By REDEFINES we can INITIALISE the variable in
WORKING-STORAGE Section itself.
3. We can REDEFINE a Single Variable into so many sub
variables. (This facility is very useful in solving Y2000
Problem.)

Is This Answer Correct ?    23 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1688


Write some characteristics of cobol as means of business language.

832


How you can read the file from bottom?

866


What do you understand by psb and acb?

842


What is link edit in cobol?

937


how do you reference the printer file formats from cobol programs

880


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

11496


What is redefines clause in COBOL?

1028


How do you reference the following file formats from cobol programs?

904


What are the cobol coding sheets?

858


IF I mention stop run in CICS what happens?

2081


Why did you choose to work with ibm mainframe cobol programming?

838


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

961


How can you get the ksds file records into your cobol program?

838


Can we change the password using ALTER? anyone tried and changed?

1741