Start of change

ABEND subcommand (DSN)

The DSN subcommand ABEND causes the DSN session to terminate with abend completion code X'04E' and reason code of X'00C50101'. It is intended to be used at the direction of IBM® Support, if a problem is suspected (such as incorrect output) with another DSN subcommand, and the problem does not cause an abend and a dump to be generated.

Important: Start of changeThe ABEND subcommand is used for diagnostic purposes only, and is intended to be used only under the direction of IBM Support. Use it only when diagnosing a problem with DSN or Db2.End of change

Environment for ABEND

You can use ABEND from DB2I, or from a DSN session under TSO that runs in either the foreground or background.

Data sharing scope: Member

Authorization for ABEND

None is required.

Syntax for ABEND

Read syntax diagramSkip visual syntax diagram ABEND

Usage notes for ABEND

Sometimes, the information dumped is not the information that you want. Always use the ABEND subcommand as soon as possible after a problem is re-created to increase the chances of obtaining meaningful data. Do not press the ATTENTION key before issuing the ABEND subcommand; usually, the data is lost.

End of change