I'm trying to execute a COBOL program from (Browser) HTML form using Active Server Pages to get the results back to the Browser. I'm able to get the data from iSeries using Client Access ODBC to the browser but not able to call a COBOL program. Not sure about the Syntax. Could you please give me an example to do this process?
Set cn400 = CreateObject("ADODB.Connection") cn400.Open "Provider=IBMDA400;Data Source=YOURAS400;", "", "" sCmd = "CALL PGM('PGMNAME')" TempCommand = Trim(sCmd) cn400.Execute TempCommand
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Dig Deeper on iSeries COBOL programming
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.