Running a program on the AS/400 
Author Message
 Running a program on the AS/400


Quote:

> Hi
> Is there a way to excute a command or program on the AS/400 from VB.

>Yolanda N. Ceron

Yes!!

If you use Client Access/400 and the ODBC Driver it is possible to run a
program on the AS/400. You have to pass a command something like :

cmdString = "{CALL LIBRARY/PROGRAM}"

res = SQLExecDirect(hStmt,cmdString,Len(cmdString))

This should work.



Mon, 14 Feb 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Running a program on the AS/400

2. Call A Program on another Server - RPGLE program on an AS/400

3. Data Access Object/400 (DAO/400)

4. AS/400 DB2/400

5. AS/400 - Seeking info on using VB to access DB2/400

6. Run-Time Error '400'

7. Call Pgm/Run commands on DB2/400 databases

8. How execute a program in AS/400..?????? URGENT *****

9. Calling AS/400 CL Program using Client Access ODBC, VB, and ADO

10. call to a as/400 program

11. Calling Cobol or RPG programs in AS/400 from VB

12. How execute a program in AS/400..?????? URGENT *****

 

 
Powered by phpBB® Forum Software