Scott,
I don't have a clean example handy, however you can treat the program, as a
stored procedure and "simply" call it. (with the same syntax as calling the
stored procedure).
You need to be on Client Access V5R2 to be fully supported from .NET.
http://www-1.ibm.com/servers/eserver...edb/index.html http://www-912.ibm.com/n_dir/nas4apa...ight=2,ii13341
The above links are from June 3rd, not sure if there are more current
versions with better support...
Hope this helps
Jay
"Scott Johnson" <sjohnson_at_softaltern_dot_comDIESPAM> wrote in message
news:10*************@corp.supernews.com...
Hi
Does anyone know how to execute a program on an AS400 from Visual Basic?
I have no problem inserting data into the tables (files) on the as400, but I
need to execute a program on there to process the data. (I can't use
triggers either)
The command I need to execute on the as400 is
CALL PGM(RNRB18) PARM(01 01)
Any help is greatly appreciated! Thanks!
--Scott