Mapping non-PL/I conditions to PL/I conditions

Some non-PL/I conditions map directly to PL/I conditions:
  • The Language Environment conditions listed in the first column below map directly to the PL/I conditions in the second column.
    Attention
    ATTENTION
    Decimal divide
    ZERODIVIDE
    Decimal overflow
    FIXEDOVERFLOW
    Exponent overflow
    OVERFLOW
    Exponent underflow
    UNDERFLOW
    Fixed-point divide
    ZERODIVIDE
    Fixed-point overflow
    FIXEDOVERFLOW
    Floating-point divide
    ZERODIVIDE

    These Language Environment conditions map directly to the PL/I conditions. They are detected by the hardware and are normally represented by condition tokens with a facility ID of CEE when raised. They are represented by an IBM® condition token only when signaled by the PL/I SIGNAL statement.

  • The following map directly to ERROR:
    • A Language Environment condition of severity 2, 3, or 4 that does not map to one of the PL/I conditions listed above

      For these conditions, an established ERROR ON-unit is run on the first pass of the stack. In general, the ONCODE is 9999. Some Language Environment conditions that map to ERROR, however, are represented by an ONCODE other than 9999. Examples are some of the conditions raised by the Language Environment math services.

    • Any other condition of severity 2, 3, or 4

      For these conditions, an established ERROR ON-unit is run on the first pass of the stack; the ONCODE is 9999.