Learn it on Mainframe Path. Do it with Mainframe KIT.Learn on Mainframe Path ▸
Mainframe KIT ● Nothing leaves this tab

CHANNELERR

DFHRESP(CHANNELERR) = 122CICS RESP CONDITION · CHECKED 2026-11-14
Checked against IBM documentation

The channel name in the CHANNEL option contains an illegal character or combination of characters.

QUICK ANSWER

The channel name in the CHANNEL option contains an illegal character or combination of characters.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. The channel name contains a character that is not in the allowed set.
  2. The channel name has a leading or embedded blank.

CHECKED 14 Nov 2026 IBM: LINK (CICS Transaction Server for z/OS 6.x) · EXEC interface block (EIB) fields (CICS Transaction Server for z/OS 6.x)

MOST LIKELY

The channel name contains a character that is not in the allowed set.

FIRST CHECK

Display the name the program passes and compare it with the allowed characters.

TRY IT ▸

Site search

What it means

CHANNELERR is RESP 122. On LINK, RESP2 1 means the name in the CHANNEL option contains an illegal character or combination of characters. The default action is to end the task abnormally.

A channel name is 1 to 16 characters from the set IBM lists, and leading and embedded blanks are not permitted.

Typical causes

  • The channel name contains a character that is not in the allowed set.
  • The channel name has a leading or embedded blank.

How to fix it

  1. Display the name the program passes and compare it with the allowed characters.
  2. To ship channels between regions, restrict names to A-Z a-z 0-9 & : = , ; < > . - and _, because other characters differ between EBCDIC code pages.
  3. Code RESP (and RESP2) on the LINK and test it.

Example

Illustrative only; names and values are invented.

EXEC CICS LINK PROGRAM('PROG02') CHANNEL('CHAN01')
     RESP(WS-RESP) RESP2(WS-RESP2) END-EXEC