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



Hi Chris,

> Is there a way to tell what programs use a procedure in a service program?

Personally, I'm a proponent of the "new way" of handling things, which is
to make sure that service programs are ALWAYS backward compatible.  In
that situation, you never have to search out and find where each proc is
used.  If you're interested in this approach, give me a bit more detail on
what's changing in your interface, and I'll suggest how you might do it in
a backward-compatible manner.

However, if you do want to do it the "old-fashioned" way and
change/recompile every program that uses the service program, the
FNDSTRPDM utility can be used to search the source code that's stored in
source PFs, and QShell's grep utility can be used to search source files
stored in the IFS.  (Though, grep also works on source PFs, I prefer
FNDSTRPDM)


> We have a service program with multiple procedures and would like to be
> able to get a list of programs that use one of the procedures to change the
> interface without having to look through all the programs that reference
> the service program.

This isn't any different from changing the size of fields in an externally
defined file.  You need to search out where these procedures are called,
modify the code to use the new interface, and recompile the programs.

If you're going to break backward compatibility, I recommend making sure
that the service program's signature changes as well, so that if you miss
any programs they won't run (just like a record format level check on a file)


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.