General SQL Activity Information

Here you find information common to all SQL Activity reports and traces.

Explanation of short and long fields

To improve the evaluation of SQL activities, Db2® supports both, short and long fields. If the field value exceeds the available field length (such as long values in the header information), the string is truncated, depending on the space available. Truncated values are then listed at the end of each logical report unit, together with their full values.

A "greater than" sign (>) indicates whether a value is truncated. When a value is truncated, the "greater than" sign (>) is printed instead of a colon (:) following the label name. The full value starts with a "greater than" sign followed by the label. For example:
Tname    > This value is truncated
   ...
   ...
>Tname   : This value was truncated - now you see its full length
   ...

If truncated values are listed, the "greater than" sign (>) is shown at the end of each value, because there is no colon (:) as a delimiter between the label and the value. In lists the label is used as a column heading.

Note: The mapping between truncated and full values remains the same for multiple reports from the same input data. This mapping is not supported for multiple reports from different input data. The printing of abbreviations and full text can cause inaccurate results in Batch SQL Activity output.
Here are examples of SQL Activity layouts with truncated values:
  • SQL Activity - Minibind:
    ACCESS_CREATOR   ACCESS_NAME          MATCHCOLS   INDEXONLY   PREFETCH_INDEX        OPERATION      MIXOPSEQ
    TDK_LONG>        IX_OMPE_FIRST_LONG>  0           YES         SEQUENTIAL            SCAN           1
    ... 
    >ACCESS_CREATOR : TDK_LONG_NAMED_COLLECTION_FOR_LONG_NAMED_OBJECTS
    >ACCESS_NAME    : IX_OMPE_FIRST_LONG_NAMED_TABLE_FOR_UNCOMMITED_READ
  • SQL Activity trace, where WSNAME and TRANSACT, and the OMEGAMON for Db2 PE identifiers, PRIMAUTH and ORIGAUTH, are truncated.
    LOCATION: OMPDBZ4                          IBM OMEGAMON FOR DB2 PERFORMANCE
                                        EXPERT (V5R5M0)             PAGE: 1-1
           GROUP: DBZ4                                  SQL ACTIVITY - TRACE                         REQUESTED FROM: NOT SPECIFIED
          MEMBER: SZ42                                                                                           TO: NOT SPECIFIED
       SUBSYSTEM: SZ42                                                                                  ACTUAL FROM: 12/17/15 08:54:37.74
     DB2 VERSION: V10
                                                SUMMARIZED BY OCCURRENCE, WITH ALL WORKLOAD
    
                                   PRIMAUTH> cccccccc          CONNECT : BATCH               CORRNAME: YCLO6287  CONNTYPE: TSO
                                   ORIGAUTH> cccccccc          PLANNAME: DSNTIA10            CORRNMBR: 'BLANK'   THRDTYPE: ALLIED
                                   ENDUSER > cccccccc          WSNAME  > dddddddd            TRANSACT> eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
     >PRIMAUTH: ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
                ccccccc
     >ORIGAUTH: ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
                ccccccc
     >ENDUSER : ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
                ccccccc
     >WSNAME  : ddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
     >TRANSACT: eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
                eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
                eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee