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
How do you reference the fixed block file formats from cobol programs
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
i want a program using by if, evaluate , string, unstring, perform, occurs?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
how do you reference the ksds vsam file formats from cobol programs
What are literals?
What are the pertinent COBOL commands?
What are declaratives and what are their uses in cobol?
Which is not true about evaluate statement
What are the different data types in cobol?
What are the different rules of SORT operation?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
How you can characterize tables in cobol?
What is amode(24)?