Re: Redefines clause in occurs clause
Posted: Sat Apr 21, 2012 6:47 pm
this is the updation of compiler, which gives us such diagnostic messages
Mainframe Technical Support Forums
https://www.ibmmainframeforum.com/
https://www.ibmmainframeforum.com/ibm-cobol/redefines-clause-t5857-10.html
First, your "new compiler" was announced by IBM on June 21, 2005 -- so it is nearly 7 years old at this point. The current Enterprise COBOL compiler is V4R2 IIRC.k i will tell, it due to new compiler v3r4 which allows the warning level diagnostic.
Deepak kumar25 wrote:this is the updation of compiler, which gives us such diagnostic messages
I suspect that ratner than "point of view" you might mean "it is my understanding".IN MY POINT OF VIEW:
WE CAN REDEFINE A DATA ITEM HAVE AN OCCURs CLAUSE.
but we cannot redefine a data item having occurs clause.