Show system logging information
Component: | BS2000 |
Functional area: | Error logging |
Domain: | ERROR-LOGGING |
Privileges: | OPERATING |
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: | 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: | 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> |