Home > Software > Mainframe > Cobol
Interview Questions   Tutorials   Discussions   Programs   

Cobol - Can we use redefine clause in occurs clause?

asked mar August 22, 2014 12:48 PM  

Can we use redefine clause in occurs clause?


1 Answers

answered By Mswami   0  
The data description entry for the redefined item cannot contain an OCCURS clause. However, the redefined item can be subordinate to an item whose data description entry contains an OCCURS clause. In this case, the reference to the redefined item in the REDEFINES clause must not be subscripted. Neither the redefined item nor the redefining item, nor any items subordinate to them, can contain an OCCURS DEPENDING ON clause.
   add comment

Your answer

Join with account you already have



Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!