Starting the local DataServer
Print
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Starting the local DataServer
Starting the OpenEdge client starts the local DataServer. You include information about the Oracle database, user ID, and password in the startup command.
To start the local DataServer:
-
Set
ORACLE_HOMEandORACLE_SIDand start an instance for the supporting Oracle database. -
Set the environment variables in the shell from which
you are starting the DataServer. The following table describes how
to set them:
For this variable . . . Set . . . DSLOGDIRThe pathname to the directory where the DataServer creates the log file, dataserv.lg, to track processes and error messages. By default, the DataServer creates this file in the current directory. (Optional) ORACLE_HOMEThe pathname of the directory where Oracle is installed. ORACLE_SIDThe identifier for the Oracle instance you are accessing. Note: If you change the values of any environment variables, such asORACLE_SIDorORACLE_HOME, you must shut down the DataServer processes and restart them. -
Enter one of the following commands, depending on the platform:
-
For a Local DataServer on UNIX, enter the
following command:
pro schema-holder-name -db ora-dbname -dt ORACLE -ld oracle-logical-db-name -U userid -P password -
For a Local DataServer in Windows, enter the following
command:
prowin32 schema-holder-name -db ora-dbname -dt ORACLE -ld oracle-logical-db-name -U userid -P passwordFor example, the following command starts OpenEdge with the DataServer on a UNIX machine, connects a local schema holder
oholderin single-user mode, and connects an Oracle databaseorademowith a userscottand the passwordtiger:pro oholder -db oradb -dt ORACLE -ld orademo -U scott -P tigerFor Oracle Networking startup information, see Connecting through Oracle Networking.
-
For a Local DataServer on UNIX, enter the
following command: