what is the advantage of using redefines instead of
delaring the variables ?
Answer Posted / m r reddy
--Redefines is used to re-use the storage space irrespective of the data type.
--Using redefines more than one field can re-use the same memory.
Ex: 01 a pic x(5) value 'xyz12'.
01 b redefines a pic x(3).
Here a=xyz12 value is stored and
b=xyz value is stored. B is reuse the A's Memory
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What are the cobol coding sheets?
i need a small 3d program using inline and outline.
Define cobol?
Can we change the password using ALTER? anyone tried and changed?
What are the rules of the move verb?
Write a program to explain size error.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Discuss about changing dataset name in proc.
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
what is difference between cobol and cobol/400
Why would you use find and get rather than to obtain?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
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.
What rules are to be followed while using the corresponding options?