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)



We know that size of redefine and redefining need not to be same..Then does the below case true ..

Answer / 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

More COBOL Interview Questions

why we are using picture clause in the cobol programs?

2 Answers  


What are the different open modes available in cobol?

0 Answers  


what is difference between the sysabend and userabend?

2 Answers  


What is the difference between PIC 9.99 and 9v99 in COBOL?

0 Answers   SwanSoft Technologies,


Which division and paragraphs are mandatory for a COBOL program?

0 Answers  






What is the mode in which you will OPEN a file for writing?

4 Answers  


How to remove 2 duplicate records and copy only one using job control language?

0 Answers  


What is the difference between comp and comp-3 usage? Explain other COBOL usage?s.

3 Answers   IBM, Xansa,


what happens when a copybook variables are declared using include statement ?

3 Answers   IBM,


Hai friends why we need to read a file before re-write a record?

7 Answers   L&T,


In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?

1 Answers   CSC,


If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.

1 Answers   HCL,


Categories