Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cross Reference of Data Division

0 views
Skip to first unread message

Mertens

unread,
Sep 21, 1997, 3:00:00 AM9/21/97
to

I'm looking for an utility that is able to produce a kind of extended
cross reference of the data division of a COBOL program. It shows for
each data field by which other data fields it is modified and which data
fields are modified by it. It should work like this:

Given a procedure code like

MOVE FIELD-A TO FIELD-B
COMPUTE FIELD-C = FIELD-B * FIELD-D
ADD FIELD-C TO FIELD-A FIELD-B

the utility should produce a cross-reference-list like

FIELD-A modified by FIELD-C (ADD)
FIELD-B modified by FIELD-A (MOVE), FIELD-C (ADD)
FIELD-C modified by FIELD-B (COMPUTE), FIELD-D (COMPUTE)
FIELD-D not modified at all

FIELD-A modifies FIELD-B (MOVE)
FIELD-B modifies FIELD-C (COMPUTE)
FIELD-C modifies FIELD-A (ADD), FIELD-B (ADD)
FIELD-D modifies FIELD-C (COMPUTE)

and so on, I think you know what I mean. I would be thankful for any
hints to a suitable prgram.
Please contact me at merten...@t-online.de.

Thanks

Norbert Mertens

Clifford Lane

unread,
Sep 22, 1997, 3:00:00 AM9/22/97
to

Sounds like you are getting to work on a year 2000 project.

Most compilers will provide this kind of cross reference. Which one are
you using?

Cliff Lane
c-l...@mail.com

Mertens <Merten...@t-online.de> wrote in article
<602hr0$3vs$1...@news02.btx.dtag.de>...

0 new messages