DISPLAY CFSTRUCT on z/OS

Use the MQSC command DISPLAY CFSTRUCT to display the attributes of one or more CF application structures. This command is valid only on z/OS when the queue manager is a member of a queue sharing group.


Use MQSC commands

For information on how we use MQSC commands, see Performing local administration tasks using MQSC commands.

We can issue this command from sources 2CR. For an explanation of the source symbols, see Sources from which we can issue MQSC commands on z/OS.

Synonym: DIS CFSTRUCT


DISPLAY CFSTRUCT

DISPLAY CFSTRUCT ( generic-structure-name ) WHERE(FilterCondition)ALLrequested attrsRequested attrs,ALTDATEALTTIMECFCONLOSCFLEVELDESCRDSBLOCK1DSBUFS1DSEXPAND1DSGROUP1OFFLD1SZ1OFFLD1TH1OFFLD2SZ1OFFLD2TH1OFFLD3SZ1OFFLD3TH1OFFLOAD1RECAUTORECOVER1Notes:


Usage notes for DISPLAY CFSTRUCT

  1. The command cannot specify the CF administration structure (CSQ_ADMIN).


Keyword and parameter descriptions for DISPLAY CFSTRUCT

The name of the application structure to be displayed must be specified. This can be a specific application structure name or a generic name. By using a generic name, it is possible to display either:

  • all application structure definitions
  • one or more application structures that match the specified name

    ( generic-structure-name )
    The 12-character name of the CF application structure to be displayed. A trailing asterisk (*) matches all structure names with the specified stem followed by zero or more characters. An asterisk (*) on its own specifies all structure names.

    The CF structure name must be defined within the queue sharing group.

    WHERE
    Specify a filter condition to display only those CF application structures that satisfy the selection criterion of the filter condition. The filter condition is in three parts: filter-keyword, operator, and filter-value:

      filter-keyword
      Any parameter that can be used to display attributes for this DISPLAY command.

      operator
      This is used to determine whether a CF application structure satisfies the filter value on the given filter keyword. The operators are:

        LT
        Less than

        GT
        Greater than

        EQ
        Equal to

        NE
        Not equal to

        LE
        Less than or equal to

        GE
        Greater than or equal to

        LK
        Matches a generic string that you provide as a filter-value

        NL
        Does not match a generic string that you provide as a filter-value

      filter-value
      The value that the attribute value must be tested against using the operator. Depending on the filter-keyword, this can be:

      • An explicit value, that is a valid value for the attribute being tested.

        We can use any of the operators except LK and NL. However, if the value is one from a possible set of values returnable on a parameter (for example, the value YES on the RECOVER parameter), we can only use EQ or NE.

      • A generic value. This is a character string (such as the character string you supply for the DESCR parameter) with an asterisk at the end, for example ABC*. The characters must be valid for the attribute we are testing. If the operator is LK, all items where the attribute value begins with the string (ABC in the example) are listed. If the operator is NL, all items where the attribute value does not begin with the string are listed. We cannot use a generic filter-value for parameters with numeric values or with one of a set of values.

        We can only use operators LK or NL for generic values on the DISPLAY CFSTRUCT command.

    ALL
    Specify this to display all attributes. If this keyword is specified, any attributes that are requested specifically have no effect; all attributes are still displayed.

    This is the default behavior if we do not specify a generic name and do not request any specific attributes.


Requested parameters

Specify one or more attributes that define the data to be displayed. The attributes can be specified in any order. Do not specify the same attribute more than once.

The default, if no parameters are specified (and the ALL parameter is not specified) is that the structure names are displayed.

    ALTDATE
    The date on which the definition was last altered, in the form yyyy-mm-dd.

    ALTTIME
    The time at which the definition was last altered, in the form hh.mm.ss.

    CFCONLOS
    The action to be taken when the queue manager loses connectivity to the CF application structure.

    CFLEVEL
    Indicates the functional capability level for this CF application structure.

    DESCR
    Descriptive comment.

    DSBLOCK
    The logical block size, which is the unit in which shared message data set space is allocated to individual queues.

    DSBUFS
    The number of buffers allocated in each queue manager for accessing shared message data sets.

    DSEXPAND
    Whether the queue manager expands a shared message data set.

    DSGROUP
    The generic data set name to be used for the group of shared message data sets.

    OFFLD1SZ
    Offload rule 1: The message size value specifying an integer followed by K, giving the number of kilobytes.

    OFFLD1TH
    Offload rule 1: The coupling facility structure percentage usage threshold value as an integer.

    OFFLD2SZ
    Offload rule 2: The message size value specifying an integer followed by K, giving the number of kilobytes.

    OFFLD2TH
    Offload rule 2: The coupling facility structure percentage usage threshold value as an integer.

    OFFLD3SZ
    Offload rule 3: The message size value specifying an integer followed by K, giving the number of kilobytes.

    OFFLD3TH
    Offload rule 3: The coupling facility structure percentage usage threshold value as an integer.

    OFFLOAD
    If the CFLEVEL is less than 4, the only value we can display is NONE.

    If the CFLEVEL is 4, the only value can display is Db2 .

    If the CFLEVEL is 5, the values displayed are Db2, SMDS, or BOTH. These values depict whether offloaded message data is stored in a group of shared message data sets, or in Db2, or both.

    In addition, the offload rules parameter values for OFFLD1SZ, OFFLD1TH, OFFLD2SZ, OFFLD2TH, OFFLD3SZ, and OFFLD3TH are displayed.

    RECAUTO
    Indicates whether automatic recovery action is taken when a queue manager detects that the structure is failed, or when a queue manager loses connectivity to the structure and no systems in the SysPlex have connectivity to the Coupling Facility that the structure is allocated in. Values are:

      YES
      The structure and associated shared message data sets which also need recovery are automatically recovered.

      NO
      The structure is not automatically recovered.

    RECOVER
    Indicates whether CF recovery for the application structure is supported. Values are:

      NO
      CF application structure recovery is not supported.

      YES
      CF application structure recovery is supported.

Parent topic: MQSC commands