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



> Part 2: What does she have to put in her
> program to use this service program?

There are some prerequisites for the way I do it:
1) The subprocedure is placed in a service program with EXPORT specified
2) The service program is added to a binding directory
3) The subprocedure's PR specs are in a /COPY member

I use a single binding directory for all the service programs in my company.
There are potential issues with name collisions, but we have not run into
them yet.  I have a single /COPY for each service program, but am
re-thinking this, perhaps to use a single /COPY for all prototypes.  This
will reinforce our chosen naming convention (but that's a story for another
day).

In the source code of the program that wants to use this subprocedure:

h bnddir('mycompany')
d/copy qprotosrc,myserviceprogram
d next s ...

c eval next = getNext('INVOICE')

This was done off the cuff, so I apologise if I missed something.  Busy
today.
  --buck




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.