Strovent SystemsSign in
Reference

CICS message DFHAC2001, transaction not recognized

What DFHAC2001 means, the common causes (typing error, no Clear, disabled or missing definition) and what to tell the CICS administrator.

The full message reads:

DFHAC2001 date time applid Transaction 'tranid' is not recognized. Check that the transaction name is correct.

CICS looked for the transaction ID you entered and did not find a usable one. The system action is "Processing continues", so nothing has broken: you are back at the screen and can try again.

What it means

IBM's explanation lists three causes. The transaction:

  1. does not exist as an installed transaction definition,
  2. is disabled, or
  3. contains invalid characters.

Read the tranid in the message. It shows exactly what CICS received, which tells you where to look next.

What to try

  1. Compare the ID in the message with what you meant to type. A typo is the usual cause. A wrong or extra character produces the message.
  2. Press Clear before typing a transaction ID. Without it, CICS can receive text that was already on the screen instead of the ID you typed (the case below is an example). See CICS sign-on and 3270 keys.
  3. Type only the ID on the top line, then Enter. Transaction data follows the ID on the same line, separated by a space.
  4. Ask who runs the region if the ID is correct. The transaction may not be installed in that region, or it may be disabled. Give them the whole message, including the date, time and application ID (applid).

Message DFHAC2001 with the transaction ID DFHC right after sign-on

IBM documents one case on CICS TS 6.2 and later, where the sign-on message DFHCE3549 was switched back to its older, shorter form with a feature toggle (APAR PH70708). With that setting the screen was not cleared after the message. If you typed a transaction ID without pressing Clear, the first four characters of the message were read as the transaction ID DFHC, and CICS reported DFHAC2001. If a transaction named DFHC is defined in the region, the message is DFHAC2016 instead (the transaction cannot be run). Press Clear and enter the transaction again. IBM's APAR PH72518 describes the problem and a fix that clears the screen.

For the administrator

Another documented cause is in a region where transactions are routed to another region. After an upgrade, requests stopped being routed and users saw DFHAC2001 for transactions that are defined only in the application-owning region. The cause was the system initialization parameter DTRTRAN set to NO instead of its default CRTX. The fix is to set DTRTRAN back to CRTX in the terminal-owning region and install transaction CRTX there.

Sources

Spotted a mistake? Email [email protected].