


The ACUCOBOL-GT Web Plug-in is executed by the browser in direct response to receiving data with the MIME content type, "application/vnd.acucobol." The browser loads the plug-in and feeds it the data coming from the Web server. In this context there is no concept of a command line.
To pass "command line" style parameters to the ACUCOBOL-GT Web Plug-in, you must specify them using the HTML EMBED tag in your Web page. (See section 5.5.1 Using the EMBED Tag.) To do this, add "OPTIONS=" followed by the desired runtime options in double quotes.
For example, if you want to debug your application, specify the following in the HTML EMBED tag:
OPTIONS="-dlex errors.txt"
As in:
<EMBED SRC="myprog.acu" WIDTH=400 HEIGHT=200 OPTIONS="-dlex errors.txt">
This is, in fact, the only way to invoke the ACUCOBOL-GT debugger from the plug-in. (Note that debugger can only be used with a plug-in that finds a license locally.) The "errors.txt" file is written to the directory listed in the plug-in authorization file, "acuauth.txt". If this file is missing, an error will result.
If you want to check the ACUCOBOL-GT runtime plug-in version use:
OPTIONS="-v"
The only options available for use are "-c", "-d", "-l", "-e", "-x" and "-v". Note that with the plug-in runtime, you must specify each option that requires a filename separately. For example, if you want to specify both a configuration file and error file, use:
OPTIONS="-c cblconfi -e errors.txt"