redines clause with occurs clause



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

redines clause with occurs clause

Postby mahesh77 » Wed Jul 08, 2009 12:39 pm

hey group,

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.

can some throw light on this by posting some code on this topic?
mahesh77
 
Posts: 17
Joined: Fri May 29, 2009 5:27 pm
Has thanked: 0 time
Been thanked: 0 time

Re: redines clause with occurs clause

Postby dick scherrer » Thu Jul 09, 2009 12:08 am

Hello,

Neither the redefined item nor the redefining item, nor any items subordinate to them, can contain an OCCURS DEPENDING ON clause.
What about this statement is not clear?

can some throw light on this by posting some code on this topic?
Given that this is not allowed, i'm not sure how someone might post some code :?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post