13.01.2013 Views

OpenEdge Data Management: DataServer for Microsoft SQL Server

OpenEdge Data Management: DataServer for Microsoft SQL Server

OpenEdge Data Management: DataServer for Microsoft SQL Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Connecting the <strong>Data</strong><strong>Server</strong><br />

Starting a local <strong>Data</strong><strong>Server</strong><br />

6–2<br />

This section describes how to start a local <strong>Data</strong><strong>Server</strong> <strong>for</strong> MS <strong>SQL</strong> <strong>Server</strong> from the startup<br />

command.<br />

Starting the <strong>OpenEdge</strong> client starts the local <strong>Data</strong><strong>Server</strong>. You include in<strong>for</strong>mation about the<br />

ODBC data source, user ID, and password in the startup command.<br />

To start the client:<br />

1. Make sure that your ODBC drivers are installed and configured properly.<br />

2. Start your MS <strong>SQL</strong> <strong>Server</strong> database.<br />

3. Set any environment variables required <strong>for</strong> your configuration as described in the relevant<br />

section of Chapter 5, “Configuring the <strong>Data</strong><strong>Server</strong>” (<strong>for</strong> example, DSLOGDIR). You must<br />

set them in the environment from which you are starting the <strong>Data</strong><strong>Server</strong>.<br />

Note: If you change the values of any environment variables, you must shut down the<br />

<strong>Data</strong><strong>Server</strong> processes and restart them.<br />

4. Enter the following command:<br />

prowin32 schema-holder-name -db datasrc-name -dt MSS<br />

-ld mss-logical-db-name -U userID -P password<br />

For example, the following command starts <strong>OpenEdge</strong> with the local <strong>Data</strong><strong>Server</strong>,<br />

connects a local schema holder named mssholder in single-user mode, and connects the<br />

MS <strong>SQL</strong> <strong>Server</strong> demo data source with the user bob whose password is bobpass:<br />

prowin32 -1 mssholder -db demo -dt MSS -ld demo -U bob -P bobpass

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!