contents.gifindex.gifprev1.gifnext1.gif

Oracle: Setting Up the User Environment

The user's account should have been set up correctly to access the Oracle RDBMS system. This includes environment variables such as ORACLE_HOME and ORACLE_SID. See your Oracle documentation for more details.

In addition to the variables required for Oracle, you will need to do the following:

* Ensure that your execution path contains the name of the directory where you placed your newly linked Acu4GL runtime executable.

* If you are not using the automatic login procedure, you will need to set the ORA-LOGIN and ORA-PASSWD variables, either in your environment or in the ACUCOBOL-GT runtime configuration file. For security reasons, it is best to set the password variable from your COBOL program by asking the user to enter a password and then executing:

SET ENVIRONMENT ORA-PASSWD TO user-entry

You may want to make and use a personalized copy of the configuration file to avoid impacting other users. The compiler User's Guide describes how to use the A_CONFIG environment variable, or the -c runtime option, to identify a personal configuration file.

* If you will be accessing files that you do not personally own and that do not have public synonyms, you will need to set the configuration variable USER-PATH.

For detailed information on ORA-LOGIN, ORA-PASSWD and USER-PATH, see Oracle: Configuration File Variables .