How do I call a CL Program in the AS400 Machine from my VB Application?
I use ADO and ODBC to connect to AS400 and the connection object is: gJDEConnection
The program I need to call:
'DBTEST is the Library and J57COMTEST is the CL program.
Can anyone give me sample code?, I tried different variations of CALL QSYS. blah blah blah, but doesn't work, so I am looking for code samples.
And if I am able to call a CL Program, what happens if an error occurs in the CL Program, Do I get the error back to my VB APP?