You can call QLIMROIR (system program not an official API)
it will give you the following information :
-1- Text                    
-2- Save information        
-3- Service information     
-4- Where Used (W/U) = XRef 
-5- Attr Information        
-6- Journal Information     
What you you need is in the "Where Used" part.

or either you can directly walk thru the OIR 
 you can do the following to see how its look like :
crtlib test
put a program into test
DMPOBJ TEST *LIB

Leif Svalgaard's book has lot of usefull information about OIR 
http://www.iseries400.org

HTH

Jean-Michel Penasse
EXPERIA Europe
jmpenasse@xxxxxxxxxxx
+33(0)4.76.67.07.70
www.experia.com 

> -----Original Message-----
> From: mi400-bounces@xxxxxxxxxxxx [mailto:mi400-bounces@xxxxxxxxxxxx]On
> Behalf Of Bobby.Hicks@xxxxxxxxxxxxxxxx
> Sent: Friday, February 21, 2003 5:32 PM
> To: mi400@xxxxxxxxxxxx
> Subject: [MI400] Program Reference Information
> 
> 
> 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.
> 
> 
> Bobby.
> 
> Robert Hicks
> Combinatorics Consulting Company
> Tel.: (248) 347 - 7222, ext. 222
> Fax: (248) 347 - 7227
> Email:  Robert.Hicks@xxxxxxxxxxxxxxxx
> 
> _______________________________________________
> This is the MI Programming on the AS400 / iSeries (MI400) mailing list
> To post a message email: MI400@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/mi400
> or email: MI400-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/mi400.
> 


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-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.