contents.gifindex.gifprev1.gifnext1.gif

Sybase: Setting Up the User Environment

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

In addition to setting the variables required for Sybase, 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.

* Set the A-SYB-LOGIN and A-SYB-PASSWD variables, either in your environment or in the ACUCOBOL-GT runtime configuration file (if you don't do this, Acu4GL will use your UNIX login name as your Sybase login name, and no password). 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 "A-SYB-PASSWD" TO user-entry

Sites using Windows with the 10.0 client libraries should also set the variable A-SYB-PID, to give each user a unique value for locking records.

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

For detailed information on A-SYB-LOGIN and A-SYB-PASSWD, see Sybase: Configuration File Variables.