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
What is the LINKAGE SECTION used in COBOL?
How arrays can be defined in COBOL?
How do define dynamic array in cobol.
Why did you choose to work with ibm mainframe cobol programming?
What are the different data types in cobol?
What kind of error is trapped by on size error option?
Can we redefine the field of x(200) to less than 200?
What is cobol?
How do we get current date from system with century in COBOL?
What is the difference between comp and comp-3?
How can you get the ksds file records into your cobol program?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
how do you reference the fixed unblock file formats from cobol programs
Write the code to count the sum of n natural numbers.