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
how do you reference the fixed unblock file formats from cobol programs
In which area will you utilize 88 level items in cobol?
What rules are followed by the search verb.
What is a SSRANGE and NOSSRANGE?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
State the various causes of s0c1, s0c5 and s0c7.
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
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 are the cobol coding sheets?
Give some examples of command terminators?
Write a cobol program making use of the redefine clause.
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
how do you reference the ksds vsam file formats from cobol programs
what is s000 u4087 error? please give the all error codes in cobol,jcl.