Koohiisan
1005 pts. | Sep 4 2008 2:26PM GMT
IIRC, I’ve also called CL/RPG programs directly from VB6/VBA/.net using ADO’s command object. Just provide it with the program name, and add parameters to it and voila! It’s been a while, but I can hunt down an example from my source code if needed.
Gja
15 pts. | Sep 5 2008 3:36PM GMT
An example with parameters would be greatly appreciated. I need to pass a parmeter to the RPG program to indicate what library the files are in. The RPG program will return a parameter - the next transaction #. Let me know if the parameters should be characters or can they also be numeric.






