We know that size of redefine and redefining need not to be
same..Then does the below case true
01 ws-date pic 9(6).
01 ws-redf-date REDEFINES ws-date
05 ws-year pic 9(4)
05 ws-mon pic 9(2)
05 ws-day pic 9(2)
Answer Posted / bkk
Yes, It is true because the size of the variable which is
redefining can have same or more than the size of the
original variable and it can be a group or an elementary
variable.
thanks for posting
bkk
| Is This Answer Correct ? | 12 Yes | 4 No |
Post New Answer View All Answers
Explain how you can characterize tables in cobol?
) how do u code after getting data?
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
Why did you choose to work with ibm mainframe cobol programming?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
How many bytes S(8) comp field occupy and its maximum value?
For rewrite, why is it mandatory that file needs to be opened?
i need a small 3d program using inline and outline.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
How many sections are there in data division in COBOL?
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?
what is the difference between COBOL2 AND COBOL390?
What rules are to be followed while using the corresponding options?
Write a program to explain size error.
What is the problem of ordered sequential files access?