|
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 mailing list archive is Copyright 1997-2025 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.