× 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: Can my VB program execute an AS/400 program?
  • From: "Urbanek, Marty" <Marty_Urbanek@xxxxxxxxxxxx>
  • Date: Fri, 15 Jun 2001 16:50:25 -0400

You could start the REXEC daemon on the 400 and call Windoze REXEC from your
VB program. You don't get back parameters but you do get the output from the
command.

I just tried this quickly using Win2K. Annoyingly, its REXEC client doesn't
have a parm for password, and it also doesn't seem to read the pwd from
stdin, so a simple redirection of a password file won't work. Not sure how
to get around that. Perhaps there is a VB control for REXEC that you can get
somewhere, or maybe somebody knows a trick for Windoze REXEC.

-Marty

- -----Original Message-----
From: Schenck, Don [mailto:Don.Schenck@pfizer.com]
Sent: Friday, June 15, 2001 12:06 PM
To: 'midrange-L@midrange.com'
Subject: Can my VB program execute an AS/400 program?


I would like to be able to run an AS/400 program from my VB program.

Is there a way to do that? MUST I have Client Access?

Also; can I receive any return parameters or messages?

I used to do this all the time using PC Support/400 ... YEARS ago.
+---
| 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.