×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Thanks. The pointer to the COBOL Programmers Guide was very helpful. We
have version 3 of the COBOL/400 Users Guide on the shelf, and on page 44 is
the Data Division Map section.

Beautifully described in something even I - hopefully - can understand :)

Thanks again,

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Simon Coulter
Sent: 9. juli 2010 14:16
To: Java Programming on and around the iSeries / AS400
Subject: Re: Copy book layout - can a compiler tell?


On 09/07/2010, at 8:52 PM, Thorbjørn Ravn Andersen wrote:

I read this as line number, level (renumbered), field name, _W_orking
_S_pace,

Actually Working Storage.

starting index (from where?),

Displacement from start of containing structure. Only for GROUP members.

length, type (AN=alpha numeric?,

Yes.

GROUP is a group, and elsewhere I've seen NE, ZONED, PACKED, BOOLN,
etc.),
I-name (internal location of variable information?), and attributes
(with
plenty more besides REDEFINES like INDICATOR, VALUE, DEVICE DATABASE
etc).
Does this happen to be officially documented anywhere? My Google-fu
did not
locate anything.

See the Understanding Compiler Output section of Chapter 3. in the
COBOL Programmer's Guide.

Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists

http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.