I'm trying to call a CL program from my Visual Basic program, and I'm not sure about the syntax passing values...
to the CL from VB. Could you please help me with some syntax to pass values to CL from VB? I have Client Access Express installed. Also, is there any way to call a CL program from Active Server Pages?
The CL program is not different from any other program (i.e. COBOL OR RPG). That means you can call it from VB using the program call object or the QCMDEXC stored procedure. Some good examples can be found here.
Since OLE database is thread safe you can run it on the server. That means that you can use the OLE database provider to call the CL program from your asp pages. Some old, yet good, examples can be found here.
================================== MORE INFORMATION ON THIS TOPIC ==================================
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
The Best Web Links: Tips, tutorials and more.
Dig Deeper on FTP
Related Q&A from Shahar Mor
Use work station customize object or printer type in iSeries Access to print the output of an RPG file from the AS/400 to an HP printer. Continue Reading
What to do when an application is published in IFS from Win2k3 server, and users are unable to access the shared folder on AS/400. Continue Reading
Use the the iSeries QSYSOPR message to look for any errors in passwords when running a program on the iSeries that transfers data to a spreadsheet on... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.