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 use of intialize verb?
What are the different rules of SORT operation?
Which mode is used to operate the sequential file?
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 ......
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
) How do u handle errors in BMS macro?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
how do you reference the rrds file formats from cobol programs
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How many sections are there in data division in COBOL?
What is amode(31)
What is static and dynamic call in cobol?
What do you understand by psb and acb?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is rmode(any) ?