Answer Posted / mahathiaz
1. You can REDEFINE a Variable from one PICTURE class to
another PICTURE class by using the same memory
location.
2. By REDEFINES we can INITIALISE the variable in
WORKING-STORAGE Section itself.
3. We can REDEFINE a Single Variable into so many sub
variables. (This facility is very useful in solving Y2000
Problem.)
Is This Answer Correct ? | 23 Yes | 1 No |
Post New Answer View All Answers
What is the difference between comp and comp-3 usage?
What is the difference between PIC 9.99 and PIC9v99?
Explain what you understand by passing by value.
What is comp-1 and comp-2?
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 you differentiate between cobol and cobol-ii?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
) How do u handle errors in BMS macro
What is a report item?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What are declaratives and what are their uses in cobol?
What is a scope terminator give example?
What are various search techniques in cobol? Explain.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?