%BLOCK

Contains the name of the current block. The block name might not be unique within a compile unit.

To display the name of the current block, use one of the following commands:

  • DESCRIBE PROGRAM;
  • LIST %BLOCK;

To change the current block, use the SET QUALIFY command.

Refer to the following topics for more information related to the material discussed in this topic.