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


Please Help Members By Posting Answers For Below Questions

How do you reference the fixed block file formats from cobol programs

699


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

704


i want a program using by if, evaluate , string, unstring, perform, occurs?

4045


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

817


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.

928






how do you reference the ksds vsam file formats from cobol programs

660


What are literals?

626


What are the pertinent COBOL commands?

2620


What are declaratives and what are their uses in cobol?

706


Which is not true about evaluate statement

1567


What are the different data types in cobol?

786


What are the different rules of SORT operation?

691


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1765


How you can characterize tables in cobol?

710


What is amode(24)?

680