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



Joep,
 
We just do an CRTPGM where we define the Serviceprogram to be bound with as 
library *LIBL.
If the use of a Binding directory would solve this problem we will start using 
it.
 
Kind regards,
Eduard Sluis.

Joep Beckeringh <joep@xxxxxxxxxxxxxxxxxxx> wrote:
Eduard,

How do you bind the service programs to your programs? If you use binding 
directories, make sure the entries in the binding directory refer to *LIBL and 
not to a library.

Joep Beckeringh


Eduard Sluis wrote:
> Dear all,
> 
> We create systems that can interact with many banking systems.
> To do so we make use of API programs to retrieve different types of data or 
> inflict execution of bankingssystem functions.
> Typically we have in several API library's the same named API programs that 
> execute the same kind of functions to different bankingsystems.
> To interchange the API used by the basing system we just change the API 
> library used.
> 
> To modernize one and other we have planned to create one serviceprogram as 
> API for each bankingsystem containing all the to be used functions to the 
> bankingsystem.
> However when we create programs in the basingsystem and define the 
> serviceprogram to be used it not only stores the program but also the library 
> where the first occurrence of the serviceprogram is found.
> 
> At execution time not the library list is used to find the serviceprogram and 
> execute the correct one in the in the library list defined API library for 
> its environment but the one that was administrated when the program was 
> created.
> Obviously this does not give the correct results and at clclient sitesith 
> other lilibrary structurest would even create disasters.
> 
> Is there a way to make the system just search the library list and execute 
> the service program that is first found in the library list? As it should do! 
> Or do we have to refrain from this and need to keep on using the existing 
> Call's??
> 
> Kind regards,
> Eduard Sluis.
> 

-- 
This is the RPG programming on the AS400 / 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.