Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

SESSION-LOGGING-ID

This statement identifies session-specific log files.

Definition

A lower-level DBH option of FILE-RESOURCES

Function

The session-specific log file CO-LOG contains in its name a session identification whose default is the BS2000 task sequence number (TSN).
The CO-LOG file is also identified by a file counter whose default value at the beginning of the DBH session is 1.
The default file name of the request log file (CO-LOG), for example, is SESAM.CO-LOG.ssss.iiii, where ssss stands for the session identification and iiii for the initial value of the file counter.

The DBH option SESSION-LOGGING-ID allows you to specify different values for the session identification and the initial file-counter value.

You can adjust the values of the operands during the DBH session by means of the MODIFY-SESSION-LOGGING-ID administration statement (see "MODIFY-SESSION-LOGGING-ID").

SESSION-LOGGING-ID

= *STD / *PARAMETERS(...)


*PARAMETERS(...)



|

SESSION-ID = *STD / <alphanum-name 4..4>



|

,START-NUMBER = 0001 / <integer 1..9999>

Operands

SESSION-LOGGING-ID = *STD

The session identification and file counter have default values. These are described under *PARAMETERS(...).

SESSION-LOGGING-ID = *PARAMETERS(...)

SESSION-ID =
Specifies the session identification for the CO-LOG file.

SESSION-ID = *STD
The default value for the session identification corresponds to the BS2000 task sequence number (TSN).

SESSION-ID = <alphanum-name 4..4>
Session identification that you yourself can specify.

START-NUMBER =
Specifies the initial value of the file counter for the CO-LOG file.

START-NUMBER = 0001
Sets the file counter to the default value of 1 at the beginning of the DBH session.

START-NUMBER = <integer 1..9999>
Initial value of the file counter that you yourself can specify.
The four-digit value is used in filenames (e.g. 0003).