Download Acu4GL User`s Guide v8.1 - Micro Focus Supportline

Transcript
2-8
„
Getting Started
Be sure that the version information you receive references your Acu4GL
product.
Starting the demo program
Be sure the RDBMS data source is available and that all the non-Acu4GL
environment variables required for your data source are set. To run the demo
program, you’ll need to notify the ACUCOBOL-GT runtime system that you
will be interfacing to an RDBMS driver. You accomplish this by adding the
following line to your runtime configuration file or to the machine’s
environment:
DEFAULT_HOST RDBMS_NAME
If you’re running “demo.cbl” from the same directory where you placed the
ACUCOBOL-GT data dictionary, you are ready to run.
If the data dictionary (“acuorders.xfd”, created when you compiled the demo
program) is in another directory, you will need to add the following line to the
“cblconfig” configuration file:
XFD_PREFIX dir-containing-dictionary
Set any environment variables required for your specific Acu4GL product.
See the “Designating the Host Data Source” or “Designating the Host File
System” section in the appendix specific to your particular RDBMS.
At this point, you can run the demo program by entering one of the following
commands.
For ACUCOBOL-GT Version 5.0 or later, 32-bit Windows runtime:
wrun32 -c config demo
For ACUCOBOL-GT Version 5.0 or later, UNIX runtime:
runcbl -c config demo