SUBCOM Macro

You can use the SUBCOM macro to define, clear, and obtain information about a subcommand environment. The SUBCOM macro supports 31-bit addressing and provides an interface to the SUBCOM function.

The basic formats of the SUBCOM macro are:
  • SUBCOM SET — to indicate the start of a subcommand routine
  • SUBCOM CLR — to delete a subcommand environment from a list of currently active subcommand environments
  • SUBCOM QUERY — to determine whether a subcommand environment is currently defined
  • SUBCOM ANCHOR — to obtain the anchor pointer for the list of SCBLOCKs that describe currently active subcommand environments.