× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



(Unfortunately) the system doesn't store information inside the service program that tells what programs are using it. So you can't have a command that queries a service program for info about the callers.

You can, however dump the list of "called srvpgms" from all of the programs and service programs on the system into a file. Once you have that list of all srvpgm dependencies, you could query the file to find out what calls a given srvpgm.

That's what I do. I have a scheduled job that runs once each week that loops through all programs on the system, and dumps their srvpgm dependencies to a PF. Then any time I want to know what programs call a srvpgm, I can just query that PF.



On 3/16/2010 2:08 PM, MattLavinder@xxxxxxxxxxxxxxxxxxx wrote:

I am in need of a good utility that will allow you to quickly identify what
programs a service program is bound to. I have looked at PLCHECKUP (from
Easy400) but it is not exactly what I am looking form. When you use the
DSPPGM command, it shows the service programs bound to the object. I want
go the opposite direction. I want to name the service program and have it
show me every program bound to it. It would be great if it could even give
me information at the signature level.

Is anyone aware of such a program? I know there are probably commercial
solutions to do this, but right now I am looking for a free utility or some
sample code.

Matt


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