× 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: RE: Visual Basic and AS/400
  • From: "Schenck, Don" <Don.Schenck@xxxxxxxxxx>
  • Date: Thu, 15 Mar 2001 14:36:35 -0500

Hmmmm ... okay ... here's the problem:

I want to create an RPG program that acts as an "object"; I can call it,
pass it some parameters, and get back some data.

I guess the answer at this point is to use XML and the HTTP "Post" operation
and write the CGI in RPG so that it returns an XML string.

??

-- Don Schenck
   Schenck Technical Consulting
   DonS@SchenckTech.com / www.SchenckTech.com 

> -----Original Message-----
> From: Hall, Philip [mailto:phall@spss.com]
> Sent: March 15, 2001 2:14 PM
> To: 'MIDRANGE-L@midrange.com'
> Subject: RE: RE: Visual Basic and AS/400
> 
> 
> > But ... but ...
> > 
> > I thought the idea of ILE was several entry points???
> 
> Yes, but to call the various entry points in a *SRVPGM you 
> need a *PGM (ILE)
> you can't call them directly from the command line.
> 
> You could of course write a generic dispatcher *PGM that took 
> parameters
> similar to;
> 
> PARM1 --> *SRVPGM name
> PARM2 --> Entry point name within the above *SRVPGM
> PARM3 --> 'real' parm 1 to entry point function
> ...
> PARMN --> 'real' parm N to entry point function
> 
> The dispatcher would then invoke the entry point. Of course, 
> you'll need to
> handle returning any data from the function and pointers, but 
> it would be
> similar to how OS/400 allows the OS/400 API's to be called 
> from the Client
> Access toolkit API's
> 
> --phil
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to 
> MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: 
> david@midrange.com
> +---
> 
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-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 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.