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.

Chapter 6: Connecting the <strong>Data</strong><strong>Server</strong><br />

Starting a local <strong>Data</strong><strong>Server</strong><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<br />

startup command.<br />

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

about the 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<br />

relevant section of Chapter 5, “Configuring the <strong>Data</strong><strong>Server</strong>” (<strong>for</strong> example,<br />

DSLOGDIR). You must set them in the environment from which you are starting the<br />

<strong>Data</strong><strong>Server</strong>.<br />

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

the <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<br />

connects the MS <strong>SQL</strong> <strong>Server</strong> demo data source with the user bob whose<br />

password is bobpass:<br />

prowin32 -1 mssholder -db demo -dt MSS -ld demo -U bob -P bobpass<br />

210 <strong>OpenEdge</strong> <strong>Data</strong> <strong>Management</strong>: <strong>Data</strong><strong>Server</strong> <strong>for</strong> <strong>Microsoft</strong> <strong>SQL</strong> <strong>Server</strong>

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

Saved successfully!

Ooh no, something went wrong!