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

6–4<br />

For diagnostic purposes only, it is acceptable to bypass the Name<strong>Server</strong> connection and<br />

connect directly to the broker instance. To do this, specify the reserved <strong>Data</strong>Service name<br />

none or add the -DirectConnect parameter as follows:<br />

Or<br />

-<strong>Data</strong>Service none<br />

-DirectConnect<br />

• Set the -S parameter to one of the following:<br />

– The port number assigned to the controlling Name<strong>Server</strong> (when the -<strong>Data</strong>Service<br />

value is not none) or the port number of the broker instance that you started in the<br />

Explorer (when the -<strong>Data</strong>Service value is none)<br />

– The service name in your services file whose associated port matches the port of<br />

the controlling Name<strong>Server</strong> (when the -<strong>Data</strong>Service value is not none) or the<br />

broker instance that you started in the Explorer (when the -<strong>Data</strong>Service value is<br />

none)<br />

• Set the -H parameter to the name of the machine where the Name<strong>Server</strong> and/or broker<br />

instance are running.<br />

If you do not set the required -Dsrv SVUB,1 and optional -<strong>Data</strong>Service data–service<br />

connection parameters as described in this section, the client is assumed to be configured <strong>for</strong> a<br />

standard <strong>OpenEdge</strong> broker and the -H and -S parameters are used to locate a ProBroker<br />

executable on the appropriate host machine. By setting the SVUB parameter on, you redirect the<br />

-H and -S parameters to locate the appropriate Name<strong>Server</strong> and/or broker on the host machine.<br />

The following example illustrates how to use these connection parameters <strong>for</strong> a client that<br />

connects to a Name<strong>Server</strong>:<br />

CONNECT mssholder -db mssdemo -dt MSS -U bob -P bobpass -H host1<br />

-S mssport -<strong>Data</strong>Service mssbroker1 -Dsrv SVUB,1.

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

Saved successfully!

Ooh no, something went wrong!