>Is there a way I can retrieve the same type of information as the
>DSPPGMREF command?  I want to retrieve it and put it to a user space.
>Thanks for the help.

My DSPOBJREF tool (at http://www.figu.no/txt/dspobjref/dspobjref.htm)
uses the OIRS (x'1952') to retrieve where used information "on the fly".

The DSPPGMREF information starts at offset x'100'
Each object (*PGM *SRVPGM *MODULE *SQLPKG) uses one or more 512-byte
to store their references. If the first 4 bytes are different from all x'ff'
the "block" is continued from the preceding block.
There are different structures with the data, depending on which type of
is referenced.

In the QDIDX index for the library there's a (zerobased) value that tells
the starting
512-byte block for the program object in question.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 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.