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

What is the use of intialize verb?

751


What are the different rules of SORT operation?

701


Which mode is used to operate the sequential file?

671


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10633


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

678






) How do u handle errors in BMS macro?

1429


What is the default value(s) for an initialize and what keyword allows for an override of the default?

697


how do you reference the rrds file formats from cobol programs

802


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

710


How many sections are there in data division in COBOL?

680


What is amode(31)

726


What is static and dynamic call in cobol?

600


What do you understand by psb and acb?

668


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

720


What is rmode(any) ?

686