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

Connection failures and <strong>OpenEdge</strong> responses<br />

6–28<br />

Table 6–13 lists circumstances under which a connection might fail and describes how<br />

<strong>OpenEdge</strong> responds.<br />

Table 6–13: Failure responses<br />

Failure circumstance Result<br />

During startup The system displays an error message and returns<br />

to the operating system prompt.<br />

During a CONNECT statement The system aborts the remainder of the CONNECT<br />

statement as though the remainder never existed,<br />

and a run-time error condition occurs. Any<br />

connections that you made prior to the failed<br />

connection remain in effect. You can use the<br />

NO–ERROR option with the CONNECT statement to<br />

trap run-time errors. If you use the NO–ERROR option<br />

and it fails, you see the same failure behavior as<br />

you do with an unsuccessful CONNECT statement.<br />

However, run-time error conditions do not occur.<br />

During an attempted auto-connect The system aborts the remainder of the connect as<br />

though the remainder never existed, and a run-time<br />

error condition occurs. Any connections that you<br />

made prior to the failed connection remain in<br />

effect. You cannot trap auto-connect run-time error<br />

conditions.<br />

During an attempt to connect using<br />

the <strong>Data</strong> Dictionary<br />

During an attempt to connect a<br />

connected MS <strong>SQL</strong> <strong>Server</strong> database<br />

with a different logical name<br />

During an attempt to connect a<br />

connected MS <strong>SQL</strong> <strong>Server</strong> database<br />

with the same logical name<br />

During an attempt to connect an<br />

unconnected MS <strong>SQL</strong> <strong>Server</strong><br />

database whose logical name is<br />

already in use by a connected MS<br />

<strong>SQL</strong> <strong>Server</strong> database<br />

The <strong>Data</strong> Dictionary displays an error message and<br />

returns to the main window.<br />

The system responds with a run-time error<br />

condition but you can continue. You can use the<br />

NO–ERROR option to suppress the error.<br />

The system responds with a warning but you can<br />

continue. You can use the NO–ERROR option to<br />

suppress the warning.<br />

The system responds with a run-time error<br />

condition and you cannot connect to the second<br />

database.

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

Saved successfully!

Ooh no, something went wrong!