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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

You can create a parameter file <strong>for</strong> each database:<br />

• For a local <strong>Data</strong><strong>Server</strong>, the parameter file must contain the -db parameter and can<br />

optionally contain the -Dsrv, -U, and -P connection parameters, depending on the<br />

requirements of the data service.<br />

• For a remote <strong>Data</strong><strong>Server</strong>, the same parameter conditions apply as <strong>for</strong> a local<br />

<strong>Data</strong><strong>Server</strong>. In addition, a remote connection must contain the -H and -S<br />

connection parameters.<br />

You can add more startup and connection parameters than the ones listed—these are<br />

the typical parameters. For a complete list of parameters and <strong>for</strong> in<strong>for</strong>mation on how to<br />

create a parameter file, see <strong>OpenEdge</strong> Deployment: Startup Command and Parameter<br />

Reference.<br />

Using a local <strong>Data</strong><strong>Server</strong> configuration<br />

Use the following general command syntax to start <strong>OpenEdge</strong>:<br />

• In single-user mode<br />

• In a local <strong>Data</strong><strong>Server</strong> configuration<br />

• With a local schema holder connected<br />

• With a MS <strong>SQL</strong> <strong>Server</strong> database connected<br />

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

-ld mss-logical-dbname -U userID -P password -Dsrv<br />

qt_debug,EXTENDED<br />

You can type these commands on the command line of a program item property box.<br />

The following examples start <strong>OpenEdge</strong> in a local <strong>Data</strong><strong>Server</strong> configuration:<br />

• The schema holder’s physical name is mssholder and it is read-only.<br />

• The physical data source name and the MS <strong>SQL</strong> <strong>Server</strong> database name is<br />

sports.<br />

• The data source type is MSS (<strong>Microsoft</strong> <strong>SQL</strong> <strong>Server</strong>).<br />

• The logical database name is mysport.<br />

• The user ID is bob.<br />

• The password is bobpass.<br />

• Assorted -Dsrv options are specified.<br />

prowin32 mssholder -RO -db sports -dt MSS -ld mysport -U bob -P bobpass<br />

-Dsrv qt_debug,EXTENDED<br />

222 <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!