Begin figure description. This figure is a flowchart that shows how to choose Db2® type-of-failure keywords and the actions that you need to perform for each keyword. The procedure is:
  1. Follow the steps in the Component identifier keyword procedure topic.
  2. Follow the steps in the Release level keyword procedure topic.
  3. Perform the appropriate action for each type-of-failure keyword:
    • Abnormal termination:
      1. Follow the steps in the ABENDx keyword procedure.
      2. Follow the steps in the CSECT keyword procedure.
      3. Determine whether you can find the CSECT.
        • If the CSECT is found, follow the steps in the VRA Data modifier keyword procedure.
        • If the CSECT is not found:
          1. Follow the steps in the Load module modifier keyword procedure.
          2. Determine whether you can find the load module.
            • If the load module is found, follow the steps in the VRA Data modifier keyword procedure.
            • If the load module is not found, follow the steps in the Recovery routine modifier keyword procedure.
    • Wait or loop:
      • Follow the steps in the WAIT OR LOOP keyword procedure.
    • Message:
      1. Follow the steps in the MSGx keyword procedure.
      2. Determine whether there is a CSECT is the message.
        • If there is a CSECT in the message:
          1. Follow the steps in the CSECT keyword procedure.
          2. Determine whether there is a code in the message.
            • If there is a code in the message, follow the steps in the Message modifier keyword procedure.
            • If there is no code in the message, skip the Message modifier keyword procedure.
        • If there is no CSECT in the message:
          1. Determine whether there is a code in the message.
            • If there is a code in the message, follow the steps in the Message modifier keyword procedure.
            • If there is no code in the message, skip the Message modifier keyword procedure.
    • Performance:
      • Follow the steps in the PERFM keyword procedure.
    • Documentation:
      • Follow the steps in the DOC keyword procedure.
    • Incorrect Output:
      1. Follow the steps in the INCORROUT keyword procedure.
      2. Follow the steps in the INCORROUT modifier keyword procedure.
      3. Determine whether the function is SQL.
        • If the function is SQL, follow the steps in the SQLCODE modifier keyword procedure.
        • If the function is not SQL, skip the SQLCODE modifier keyword procedure.
  4. Follow the steps in the Search argument procedure.
  5. Determine whether the problem matches a problem for which there is corrective service.
    • If there is corrective service for the problem, apply the service.
    • If there is no corrective service for the problem, follow the APAR preparation procedure.
End figure description.