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
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
) how do u code after getting data?
What are literals?
What is the utilization of copybook in cobol?
Write the code to count the sum of n natural numbers.
how do you define single dimensional array and multidimensional array in your cobol?
Explain how you can characterize tables in cobol?
What is a report item?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Differentiate between structured cobol programming and object-oriented cobol programming.
What are the cobol coding sheets?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
what is the difference between COBOL2 AND COBOL390?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.