LOGLABEL—Specify a Label

The LOGLABEL control statement saves the value in the END control statement (time, RBA, or LRSN) as a log label.
cafrdb2
The LOGLABEL control statement saves the value in the END control statement (time, RBA, or LRSN) as a log label. The resolved RBA/LRSN is used like the TORBA/FROMRBA/TOLOGOINT/FROMLOGPOINT statements.
When you specify both START and END, the LOG command is processed in a standard way. The requested portion of the log is read, and only the last LOGLABEL is stored. To create a log label without reading the log, specify only the END control statement.
Use the following parameters to create log labels:
  • creator
    (Optional) Specifies the log label creator. If you omit the creator, the user ID of the job submitter is used.
    Limits:
    1 to 128 characters. Spaces and special characters (!, &, and so on) are allowed when the identifier is enclosed in quotation marks (" ").
  • name
    Specifies the log label name.
    Limits:
    1 to 128 characters. Spaces and special characters (!, &, and so on) are allowed when the identifier is enclosed in quotation marks (" ").
  • description
    (Optional) Specifies more information about the log label.
    Limits:
    maximum 255 characters
When a log label with the specified
creator
.
name
already exists, a new version is created. If a log label description is provided, it is updated. Parameters are case-sensitive.
Example: Create a Log Label
This example creates the MYLOGLABEL log label when the job is submitted:
.CALL LOG .DATA SSID = (DB01) END = (CURRENT TIME) LOGLABEL = (MYLOGLABEL)
Example: Create Multiple Versions of a Log Label
This example creates versions of the MYLOGLABEL log label for the specified points in time:
.CALL LOG .DATA SSID = (DB01) END = (CURRENT TIME) LOGLABEL = (MYLOGLABEL) END = (RBA, ...) LOGLABEL = (MYLOGLABEL)