Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

SHOW-CONSLOG-ATTRIBUTES

&pagelevel(3)&pagelevel

Show system logging information

Component:

BS2000

Functional area:

Error logging

Domain:

ERROR-LOGGING
SECURITY-ADMINISTRATION

Privileges:

OPERATING
SAT-FILE-MANAGEMENT
TSOS

Routing code:

@

Function

The SHOW-CONSLOG-ATTRIBUTES command shows whether logging is active or inactive and the name of the current logging file.
Using the NBKESNR system parameter, systems support can define whether the CONSLOG file is cataloged under the user ID TSOS or SYSAUDIT and whether the serial number of the file is to have two or three digits.

Using the FMTYFNLG system parameter, systems support can define whether the date contained in the name of the CONSLOG file is to have two digits (without the century, in yy.mm.dd format) or four digits (with the century, in yyyy-mm-dd format).

The command supports structured output in S variables (see "Output in S variables").

Format

SHOW-CONSLOG-ATTRIBUTES                                                                                                                


Return codes

(SC2)

SC1

Maincode

Meaning


0

CMD0001

No error

2

0

NBR0905

CONSLOG inactive

Output in S variables

Output information

Name of the S variable        

T

Contents          

Condition

Catalog ID of the logging file

var(*LIST).CAT-ID

S

<cat-id 1..4>


Logging file creation date; the output format is governed by the class 2 system parameter FMTYFNLG:
FMTYFNLG=2: <yy.mm.dd>
FMTYFNLG=4: <yyyy-mm-dd>

var(*LIST).CRE-DATE

S

<yyyy-mm-dd>


Logging file path name

var(*LIST).F-NAME

S

<path-name>


Logging file sequence number; the output format is governed by the class 2 system parameter NBKESNR:
NBKESNR=0/1:<integer 1..999>
NBKESNR=2/3:<integer 1..99>

var(*LIST).SEQ-NUM

I

<integer>


System session number

var(*LIST).SESSION-NUM

I

<integer 1..999>


Logging file base name

var(*LIST).SHORT-F-NAME

S

<filename>


Logging file user ID

var(*LIST).USER-ID

S

<name 1..8>