STACK subcommand — create a symbol in the stack

Use the STACK subcommand to add a symbol to the symbol table for the current source in your dump directory. The STACK subcommand adds a created symbol in the form Znnnnn to the end of the stack in the symbol table. To determine the number nnnnn, IPCS uses the smallest numeric suffix that is greater than the suffix currently in use. See the z/OS MVS IPCS User's Guide for more information about stack symbols.
  • Related subcommands
    • EQUATE
    • DROPSYM
    • LISTSYM
    • RENUM
  • Syntax
      STACK      [ data-descr | X ]
                 [ DROP | NODROP ]

    -------- SETDEF-Defined Parameter --------------------------
    Note: You can override the following SETDEF parameter.
    See SETDEF subcommand — set defaults.

                 [ TEST | NOTEST ]
  • Parameters
    data-descr or X
    Specifies the address and attributes to be associated with the symbol being defined. The data description parameter consists of five parts:
    • An address (required when data-descr is explicitly specified on the subcommand)
    • Address processing parameters (optional)
    • An attribute parameter (optional)
    • Array parameters (optional)
    • A remark parameter (optional)
    Data description parameter explains the use and syntax of the data description parameter. However, the following exception applies only to STACK:
    • If you omit the data description parameters, the default for the STACK subcommand is X, which is the most recently accessed address.
    DROP or NODROP
    Specifies whether the created symbol can be deleted or not from the symbol table by a DROPSYM subcommand without a PURGE parameter:
    • DROP specifies that the symbol can be deleted.
    • NODROP specifies that the symbol cannot be deleted. However, NODROP can be overridden by a PURGE parameter on the DROPSYM subcommand.
  • Return Codes

    See Standard subcommand return codes for a description of the return codes produced by the STACK subcommand.