Range Definition - Documentation for Bmc Ami Log Master for Db2 13.1

Describes a start or end point as a specific log mark. A log mark is a symbolic name that represents a given point in the log. A log mark name

Within the Range definition, use existing (not newly created) log marks. Remember that a log mark created within a job step (one run of Log Master ) cannot be referenced within that step.

You can create a log mark by using the LOGMARK statement or the MARKSCAN keyword of the LOGSCAN statement. For more information see LOGMARK statement or MARKSCAN. Log Master maintains log mark information in the Repository (in a table named ALPMARK).

You can reference log marks using a numeric value appended to the log mark name. This technique enables you to reuse the same log mark name and refer to specific log points by the numeric suffix. The suffix can be a relative or absolute generation.

  • . relativeGeneration)

    Refers to a specific log point by using a relative value for the numeric suffix. Refer to the most recent log mark with the generation suffix of zero (0). Refer to the previous generation of the log mark with the generation suffix of (-1), and so on. When you work with ongoing processing, it can be convenient to use relative generations with your log mark names.

    Example

    FROM MARK MSTRUPDATESTART(-1)
    TO   MARK MSTRUPDATESTART(0)
  • . absoluteGeneration

    Refers to a specific log point by using the absolute value of the numeric suffix. Separate the suffix from the log mark name with a period.

    Example

    FROM MARK MSTRUPDATESTART.12 
    TO   MARK MSTRUPDATESTART(0)
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest