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



Also check Aaron Bartell's website - he has something for calling pc pgms.
Jim

----- Original Message ----- From: "Wall, Isa (ED)" <IWall@xxxxxxxxxxxxxxxxxxxx>
To: "RPG programming on the IBM i / System i" <rpg400-l@xxxxxxxxxxxx>
Sent: Tuesday, October 06, 2009 9:43 AM
Subject: RE: Calling dll/exe program from AS400


Thank you... I'll check out Scott's application.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan
Sent: October 06, 2009 8:38 AM
To: RPG programming on the IBM i / System i
Subject: Re: Calling dll/exe program from AS400

Yes, that's how you have to do it. I don't think rexec allows a return
parm,
but standard io (stdio) is available, as well as stderr. I've done stuff
where I've essentially put output to stdio, and then read that after my
rexec call.

Look around..I believe there are some implementations of rexec type
solutions that allow you to send/receive parms. I think
scotthasanappforit.
I just saw something (in a magazine? on midrange.com?) about that.

On Tue, Oct 6, 2009 at 8:19 AM, Wall, Isa (ED)
<IWall@xxxxxxxxxxxxxxxxxxxx>wrote:

I though you send parms with rexec but you can't receive a parm.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan
Sent: October 06, 2009 8:05 AM
To: RPG programming on the IBM i / System i
Subject: Re: Calling dll/exe program from AS400

You can send an rexec command to a PC and have it call a procedure in
a
dll.
The location of the dll doesn't matter...it's what's calling it that
matters. An iSeries program can't call a dll.

On Tue, Oct 6, 2009 at 7:51 AM, Wall, Isa (ED)
<IWall@xxxxxxxxxxxxxxxxxxxx>wrote:

> How do you call a dll on the IFS From an AS/400 passing it various
> Parameters and then wait until a return value is received?
>
>
>
> Thanks,
>
>
>
> Isa Wall
>
> Lead Software Developer
>
> Everglades Direct, Inc.
>
> 720 International Parkway
>
> Sunrise, FL 33325
>
> 954.514.2259
>
> 954.851.1201 Fax
>
> iwall@xxxxxxxxxxxxxxxxxxxx <mailto:gfleming@xxxxxxxxxxxxxxxxxxxx>
>
>
>
>
>
> --
> This is the RPG programming on the IBM i / System i (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 IBM i / System i (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 IBM i / System i (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 IBM i / System i (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 IBM i / System i (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 ...

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.