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

how to crack cts interview apps? NOVEMBER 21 2010

2 Answers   CTS,


Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?

4 Answers  


How To move a value to an array using move verb?

3 Answers   IBM,


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

0 Answers   EDS,


What is the use of EVALUATE statement?

4 Answers   Tesco,






A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.

1 Answers  


What is the compute verb? How is it used?

0 Answers  


Difference between file status codes 02 and 22.... since both are for duplicate key detection.

1 Answers  


What is amode(24)?

0 Answers  


why occurs clause not mentioned in 01 level

6 Answers   HCL, NIIT, TCS, Tesco,


I have a files containing both duplicate and non-duplicate records.The file is already sorted by a key.I want to determine those records that are duplicate and records that are non-duplicate.If duplicate the record is move to a duplicate file and if non-duplicate that will be move to valid file.thank you

1 Answers  


What is the use of LINKAGE SECTION?

1 Answers  


Categories