What is Redefines clause?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the LINKAGE SECTION used in COBOL?

894


What is difference between static and dynamic call in cobol?

779


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2661


Which mode is used to operate the sequential file?

671


How you can read the file from bottom?

660






What is the difference between next sentence and continue in cobol programing language?

712


Write a program that uses move corresponding.

673


Name the sections present in data division.

701


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6836


What are the pertinent COBOL

2045


Explain how you can characterize tables in cobol?

640


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

710


What is the use of intialize verb?

751


Write the code to count the sum of n natural numbers.

703


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2734