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
In COBOL programming, what is PERFORM? What is VARYING?
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.
How do you differentiate between cobol and cobol-ii?
What are literals?
how do you reference the rrds file formats from cobol programs
What is the utilization of copybook in cobol?
) How do u handle errors in BMS macro?
What is the difference between PIC 9.99 and 9v99 in COBOL?
Are you comfortable in cobol or jcl?
What are the different rules to perform a Search?
What is cobol?
Name the divisions, which are available in a cobol program?
Can we change the password using ALTER? anyone tried and changed?
) How do u handle errors in BMS macro
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