Process always starts with:

  1. component identifier keyword
  2. release level keyword
  3. identify type of failure
Abnormal termination
  1. ABENDX keyword
  2. CSECT keyword
  3. CSECT found?If CSECT is found:
    1. load module identifier keyword
    2. load module found?

      If load module is found, go to end process.

      If load module is not found:

      1. Recovery routine modifier keyword
      2. go to end process.

    If CSECT is not found:

    1. Recovery routine modifier keyword
    2. go to end process.
Wait or loop
  1. WAIT or LOOP keyword
  2. go to end process.
Message
  1. MSGx keyword
  2. CSECT in MSG?

If CSECT is in MSG:

  1. CSECT keyword
  2. code in MSG?

    If code is in MSG:

    1. message modifier keyword
    2. go to end process.

    If code is not in MSG:

    1. go to end process.

If CSECT is not in MSG:

  1. code in MSG?

    If code is in MSG:

    1. message modifier keyword
    2. go to end process.

    If code is not in MSG, go to end process.

Performance
  1. PERFM keyword
  2. go to end process.
Documentation
  1. DOC keyword
  2. go to end process.
Incorrect output
  1. INCORROUT keyword
  2. INCORROUT modifier keyword
  3. go to end process.

Process always ends with:

  1. search argument procedure
  2. match found?

    If match is found, apply the correction.

    If match is not found, APAR preparation procedure.