Application Delivery Management
Application Modernization & Connectivity
CyberRes
IT Operations Management
The COBOL program can have parameters passed to it as allowed by the CHAINING phrase:
PROCEDURE DIVISION CHAINING PARAM1 PARAM2
Those parameters are passed in the Runtime command line like this:
wrun32 myprogram ABC 123
Which passes “ABC” and “123” for param1 and param2 respectively.
With Thin Client that is done similarly in the acuthin command:
acuthin server:port myalias ABC 123
How is this accomplished in the URL generated for AcuToWeb?
The "&aliasArgs=" option may be added to the AcuToWeb URL to pass parameters to the COBOL program. For example AcuToWeb may generate this URL for the above program:
http://localhost:3000?hostgw=localhost&portgw=8009&alias=myalias
To send the ABC 123 parameters use:
http://localhost:3000?hostgw=localhost&portgw=8009&alias=myalias&aliasArgs=ABC 123
(Note that you can separate multiple parameters with , or a space which the browser will convert to .)