[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] RE: Bug EXTERNAL
From: |
Bill Klein |
Subject: |
[open-cobol-list] RE: Bug EXTERNAL |
Date: |
Fri Oct 28 12:08:12 2005 |
I seem to have missed the BEGINNING of this "thread" - so I don't know what
is being asked about.
In the '85 Standard, the EXTERNAL phrase is "legal" on:
1) an elementary item (including 77-levels)
2) an 01 level (working-storage OR File sections)
3) an FD
It is NOT valid for a "group item" that is not an 01-level. (Other
restrictions related to REDEFINES, etc also exist)
The '02 Standard keeps the same rules with the addition of the "AS" phrase
to give the external item an external name (useful for communication with
C).
Does this answer the question? Does the IBM mainframe allow it somewhere
else (in which case, I may have forgotten something).
> -----Original Message-----
> From: Roger While [mailto:address@hidden
> Sent: Friday, October 28, 2005 11:14 AM
> To: address@hidden
> Cc: address@hidden; address@hidden
> Subject: Re: Bug EXTERNAL
>
> Bill, is this a valid use of EXTERNAL ?
> There are so many differences between C85, C2002, MF,ACU and
> main-frame that I can't see the wood for the trees.
>
> Roger
>
>
>
>