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

Table 35 lists the DSLOG-MANAGER system handle attributes.<br />

Table 35: DSLOG-MANAGER system handle attributes<br />

Attribute Access Function<br />

DB-CONTEXT 1 Readable/<br />

Writable<br />

Specifies the logical database name of a valid<br />

and connected data source <strong>for</strong> a supported<br />

db-type. It set the system handle to a specific<br />

server context to enable access to other<br />

DSLOG-MANAGE attributes and methods. You<br />

can also set it to the alias of a connected data<br />

source.<br />

ENTRY-TYPES-LIST Readable Returns a list of all valid entry types.<br />

LOG-ENTRY-TYPES Readable/<br />

Writable<br />

Returns/Writes a list of one or more types of<br />

log entries. The default value returned by the<br />

LOG-ENTRY-TYPES attribute are the<br />

logentrytypes specified in the -Dsrv<br />

parameter when the <strong>for</strong>eign data source was<br />

connected.<br />

LOGFILE-NAME 2 Readable Returns the name of the log file. By default,<br />

the DSLOG-MANAGER uses the dataserv.lg<br />

log file. You can change the file name by<br />

using the -dslog startup parameter from the<br />

<strong>OpenEdge</strong> client or the srvrDSLogFile<br />

UBROKER property from the <strong>Data</strong><strong>Server</strong> broker<br />

instance. The server context cannot work<br />

without a log file opened so it cannot be<br />

changed at runtime. This would risk having<br />

no log file opened in the event that the new<br />

log file name failed to open.<br />

LOGGING-LEVEL Readable/<br />

Writable<br />

Returns/Writes the level at which log entries<br />

are written. The default value returned by the<br />

LOGGING-LEVEL attribute is the<br />

logginglevel specified in the -Dsrv<br />

parameter when the <strong>for</strong>eign data source was<br />

connected.<br />

LOG-THRESHOLD 3 Readable Returns the file size threshold of log files.<br />

When the current log file becomes equal to or<br />

greater than the specified size, <strong>OpenEdge</strong><br />

renames and saves the log file and creates a<br />

new log file.<br />

NUM-LOG-FILES 4 Readable Returns the number of rolled over log files to<br />

keep on disk at any one time, <strong>for</strong> <strong>OpenEdge</strong><br />

session, including the current log file.<br />

HANDLE Readable Returns a handle.<br />

INSTANTIATING-<br />

PROCEDURE<br />

Readable Returns a procedure handle <strong>for</strong> the first, or<br />

instantiating, procedure.<br />

TYPE Readable Returns the type of handle.<br />

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