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



It's rather simple in a way. But saying that, it basically took a 2x2 to the side of my head to grasp it.

Rebinding all programs is one way.

Another way is to know these a few things.
1 - Service programs can have multiple signatures
DSPSRVPGM SRVPGM(...) DETAIL(*SIGNATURE)
2 - You can set those signatures with "binder language". Binder language has three commands only: STRPGMEXP, EXPORT and ENDPGMEXP. The STRPGMEXP has the signature in it. That binder source can have multiple signatures. Example:
STRPGMEXP PGMLVL(*CURRENT) LVLCHK(*YES) SIGNATURE(*GEN)
EXPORT SYMBOL("...")
...
ENDPGMEXP
STRPGMEXP PGMLVL(*PRV) LVLCHK(*YES) SIGNATURE(*GEN)
EXPORT SYMBOL("...")
...
ENDPGMEXP

Instead of *GEN you could use some version number or something. For example, the version of software you're releasing. (If you're a vendor).

You can see this signature in the programs which use this service program with
DSPPGM PGM(...) DETAIL(*SRVPGM)

These services may be helpful:
https://www.ibm.com/docs/en/i/7.5?topic=services-program-info-view
https://www.ibm.com/docs/en/i/7.5?topic=services-bound-srvpgm-info-view

Like, what programs are using this service program? And what signature are they using?
select *
from qsys2.BOUND_SRVPGM_INFO
where program_library = 'ROUTINES'
and bound_service_program = 'SRVPGM'
;





Rob Berendt

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.