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



I can't remember if DSPPGMREF gives you this?

You can get this information from APIs, though... That's what I've done, I've created a program that uses APIs to build a cross-reference file of all service program references. (It's just a PF that lists all programs or service programs that call other service programs.)

I have a scheduled job that rebuilds this PF every Sunday, though I can re-run it when I want an update, too. Then, I can just query the file to see which srvpgms are used by which callers.

Having said that... this doesn't come up very often!



On 2/26/2013 1:27 PM, RPGLIST wrote:
Thanks Scott.

One final question, is there a way to list all the programs that use a
particular service program? IE: If I wanted to rebind all of them?


If you do DSPSRVPGM on your service program, you'll want to hit F11, and
it will show the "Current Export Signature" in text, which will be what
you're looking for.

On DSPPGM, you need to hit enter until you get to the "Detail=*SRVPGM"
screen. On this page it'll list the service prgorams you're using with
the signature in the 4th column. Again, you have to hit F11 to see them
as character strings.

-SK


On 2/26/2013 1:10 PM, RPGLIST wrote:
Scott thanks, the article helps a lot I appreciate it.

Lastly, is there a way to verify the signatures match? I thought I could
just perform a DSPSRVPGM and verify the signature ID matches the program
by performing a DSPPGM but a test program I created is showing 3 service
programs and with what appears to be an API name, and none of it makes
sense.


--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.