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


  • Subject: Re: Calling a program without knowing the parms
  • From: Scott Klement <klemscot@xxxxxxxxxxxx>
  • Date: Wed, 4 Jul 2001 00:01:17 -0500 (CDT)


If you decide to make this an open-source project, I'd be happy to
contribute to it.   

A good open-source system for allowing you to easily write programs that
access data on the AS/400, and write client-server apps would be a great
contribution to the community, IMHO.

Furthermore, I'd probably want to make the whole thing work in FreeBSD
and Linux as well as Windows... I assume that you wouldn't have any 
objections to something like that?


On Tue, 3 Jul 2001, John Ross wrote:

> For anyone still following this and interested in helping. Here are the two 
> programs I have now. I was think of making this all open source anyway.
> http://www.netshare400.com/cgi-bin/DSPSAMP?file=QRPGLESRC&mbr=MAIN1
> and
> http://www.netshare400.com/cgi-bin/DSPSAMP?file=QRPGLESRC&mbr=SPAWN1
> 
> Now I can keep going this route and make a SPAWN2, etc for the next 
> programs I need. Which for reading a file is probably the best. But say I 
> have a program that gets the serial number of the AS/400 and I have a 
> program that gets all objects in a library using an API. I just want to 
> call the program to get the serial number and have it passed back to the PC 
> program. Then in another PC program I want to call a program to create a 
> user space, then a program to populate the user space with objects in a 
> library, then read the user space, then delete the user space.
> 
> I know I could setup one or two spawn programs to deal with this passing 
> known parameters. But this is just one example. I want to tell a PC 
> programmer to call this program on the AS/400 and format the parameters 
> this way and here is what you will get back. And not have to then tell an 
> AS/400 programmer to setup a SPAWN program to call an already written 
> AS/400 program the and send the parameter values you get back to the PC 
> program. And I do not want to use ODBC or anything from client access.
> 
> I am sorry if I keep repeating the same things over and over it is just I 
> do not know what question(s) to ask and hope something will trigger someone 
> to say yes use the pointers or no you need to (or can) do it this way.
> 
> Thanks
> John Ross
> 

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.