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

Which division and paragraphs are mandatory for a COBOL program?

712


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

744


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

713


Describe the cobol database components?

684


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

678






Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5067


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1616


What is the difference between external and global variables in COBOL?

817


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1525


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1809


What is the difference between goback, stop run and exit program in cobol?

933


What is length is cobol?

652


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1598


Why would you use find and get rather than to obtain?

694


IF I mention stop run in CICS what happens?

1898