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