


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. 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 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".
With Version 4.0 of the plug-in, the only options available for use with the ACUCOBOL-GT Web Plug-in are "-d", "-l", "-e", "-x" and "-v". Starting Version 4.1, you can also use the "-c" option. 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 myconfig -e errors.txt"