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

what happens of we dont give time stamp in precompilation process

2 Answers  


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,


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

0 Answers  


how would you resolve sb37 and SE37?

2 Answers   Hewitt,


I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.

9 Answers  






what is lrec=f,what is difference between f,fb,v,vb?what is default value?how do we came to know that records are in f,fb,v,vb?

2 Answers   IBM, Wipro,


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  


IF there 5 to 6 files in a JCL and there is some space abends, how can we identify which file has space abend and what can be done to get off that abend or rectify that abend.

2 Answers   ADNA, CSC,


what is call by value and call by reference ?

3 Answers   Infosys, ITC Indian Tobacco Company,


What is an index for tables?

2 Answers  


Difference between array and sub-script ?

0 Answers   HCL,


Define in-line perform?

1 Answers  


Categories