How to call AS400 RPG using ADO in VC++ 6.0? Please give sample code.
For example
Object AS400 TYPE Attribute
BIL411 *PGM CL
Printable View
How to call AS400 RPG using ADO in VC++ 6.0? Please give sample code.
For example
Object AS400 TYPE Attribute
BIL411 *PGM CL
You just have to set the correct connection string for your database. See
http://as400blog.blogspot.com/2009/0...n-strings.html
http://www.connectionstrings.com/as-400
"Provider=IBMDA400;Data Source=191.120.56.3;User Id=SSAFTP;Password=SSAFTP;Default Collection=TESTF;"
How to write a VC++ ADO to call the RPG in AS400?
Have a look at ADO samples in VC++ 6.0:
INFO: Using ActiveX Data Objects (ADO) via #import in VC++
Sample: ADOVC1 Simple ADO/VC++ Application
ADO at a glance
And maybe others...
And, BTW, there is no difference in using ADO in VC++6 and VC2010
The CALL operation passes control to the program specified in factor 2. Factor 2 must contain a character entry specifying the name of the program to be called.
All you Need to Know about the AS400/iSeries Systems read here - As400/iSeries
Very "useful" response after 11 (eleven!) years! :d
Or did you post it just for the adds?