what is redefines? where it can be effectively use for the
purpose of memory utilization? give an example?

Answer Posted / suman

Redifine is a clause which reuses the existing storage space

1)redifine must be coded immediate after orginal dataname.
2)level no must be same as orginal data name.
3)level no should be 01-49.
4)data tpye length must be same.
ex:
01 a pic 9(6).
01 b redifine a pic 9(6).
01 c redifine b pic 9(6).

Is This Answer Correct ?    4 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In COBOL programming, what is PERFORM? What is VARYING?

672


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3722


How do you differentiate between cobol and cobol-ii?

658


What are literals?

632


how do you reference the rrds file formats from cobol programs

802






What is the utilization of copybook in cobol?

657


) How do u handle errors in BMS macro?

1429


What is the difference between PIC 9.99 and 9v99 in COBOL?

737


Are you comfortable in cobol or jcl?

643


What are the different rules to perform a Search?

619


What is cobol?

749


Name the divisions, which are available in a cobol program?

685


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

1550


) How do u handle errors in BMS macro

1512


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

712