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



the two calls are being made many times ... in the sense, we have a
procedure in a service program is using these user space APIs and the
procedures is being called from many programs (both online and batch) many
times.





Scott Klement <klemscot@klements.com>@midrange.com on 09/26/2002 12:52:34
PM

Please respond to rpg400-l@midrange.com

Sent by:  rpg400-l-admin@midrange.com


To:   rpg400-l@midrange.com
cc:

Subject:  Re: API


On Thu, 26 Sep 2002, Uma Balasubramanian wrote:
>
> Are APIs (I am looking for User space API - in particular) available as
> 'procedure's? In other words, when I call a User Space API in my RPGLE
> program, through I use CALLP, it is a program. Are procedures available
for
> these ?
>

There are many APIs that are implemented as procedures in service
programs.  There are many others that are implemented as programs instead.
The advantage of procedures is that they're faster, the advantage of
programs is that they're usable from OPM applications.

The User Space APIs, as you've already noticed, are programs.  This is a
good thing, because it means you can call them from more different
environments.

Speed isn't really important for the User Space APIs, since you only need
to make two calls.   One to create the space, and one to get a pointer to
the space.   Once you've gotten the pointer, you don't need to call the
APIs.... so speed isn't really an issue.

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


--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

"Contents  of  this  E-Mail message are confidential, proprietary and
privileged
and  are  intended  for  the  addressee(s) only. Any unauthorised
dissemination,
publication  transfer  or  use  of the contents of this message, with or
without
modification(s) is punishable under the relevant law."
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Tata Consultancy Services
www.tcs.com





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.