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



Weird when I copy / paste including the "bp.htm" that was wrapped and saw 
all of in there before enter. And I got the message.
But when I typed it in (**Note I suck at typing) it worked. Can not 
believe I can type better than cut/paste. 

Well it's Monday.
Thanks Again
Bill H. 
 




"Bartell, Aaron L. (TC)" <ALBartell@xxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
08/11/2003 02:16 PM
Please respond to RPG programming on the AS400 / iSeries

 
        To:     "'RPG programming on the AS400 / iSeries'" 
<rpg400-l@xxxxxxxxxxxx>
        cc: 
        Subject:        RE: Dynamic call with procedure pointers


Wow!  IBM can move links faster than I can post them!  :-)

The url's wrapped.  Try pasting the entire URL into your address bar, that
should fix it.

Aaron Bartell

-----Original Message-----
From: Bill Hopkins [mailto:BHopkins@xxxxxxxxxxxxxxxxxxx]
Sent: Monday, August 11, 2003 1:10 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Dynamic call with procedure pointers


 I get to the support center but ............................

"You have reached a Web page that is no longer supported."

Am i doing something wrong when I click?

Thanks 
Bill H






"Bartell, Aaron L. (TC)" <ALBartell@xxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
08/11/2003 01:54 PM
Please respond to RPG programming on the AS400 / iSeries

 
        To:     "'RPG programming on the AS400 / iSeries'"
<rpg400-l@xxxxxxxxxxxx>
        cc: 
        Subject:        RE: Dynamic call with procedure pointers


Thanks Barbara!  That looks like it is exactly what I need.  Here are the
Reference pages for the archives :

http://publib.boulder.ibm.com/iseries/v5r1/ic2924/index.htm?info/apis/qleact
bp.htm (QleActBndPgm)
http://publib.boulder.ibm.com/iseries/v5r1/ic2924/index.htm?info/apis/qleget
exp.htm (QleGetExp)

I will see if I can wrap these with some service programs and get them 
back
to the group for anyone else that needs them.

Aaron Bartell

-----Original Message-----
From: Barbara Morris [mailto:bmorris@xxxxxxxxxx]
Sent: Monday, August 11, 2003 11:35 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Dynamic call with procedure pointers


"Bartell, Aaron L. (TC)" wrote:
> 
> >From all of the documentation I have read this morning it looks as 
though
I
> need to define the procedure's prototype in the calling program at
> compile-time.  Is there any way around this?  I would instead like to go
out
> to a file and get the procedure name during run-time.
> 

Aaron, the prototype is necessary to define the parameters and possible
return value.  You can code a procedure pointer in the EXTPROC keyword,
and set the procedure pointer at runtime.

It sounds like you probably know at compile time the possible names you
might want, so you can set the procedure pointer with %PADDR. If not,
there's a way to get a procedure pointer given a service program and
procedure name - search for QleActBndPgm and QleGetExp.

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



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