Every MQ CSQ Message

On z/OS, IBM MQ speaks to operators through CSQ messages while applications still receive MQRC integers from COBOL, Java, and CICS programs. A coupling facility structure rebuild, a queue sharing group member failure, or a CHINIT address space problem surfaces on the console long before a distributed admin sees an alert email. Distributed teams joining mainframe MQ programs need a CSQ primer: what the numbering means, where messages are recorded, how CSQ relates to AMQ on hybrid systems, and which codes appear during IPL, recovery, and peak online windows. This page is the z/OS encyclopedia companion to every-mq-amq-message—same troubleshooting discipline, different log destination.

CSQ Message Format and Severity

CSQ messages follow IBM subsystem conventions: message ID, severity, and explanatory text. Severity guides response—informational during planned START MQM, error when a structure is unavailable, severe when data integrity or sharing group membership is at risk. Copy the exact message ID into change records. Mainframe operations often correlate CSQ timestamps with SMF, syslog, and CICS transaction dumps; your ticket should include LPAR, QSG name, queue manager name, and member role (full repository, partial repository, or non-cluster member).

Where CSQ messages appear
DestinationAudienceRetention notes
z/OS operator consoleOperations on shiftScrolls; capture with automation
CSQOUT data setsPost-incident reviewSite policy; archive to tape or log platform
Related SMF recordsCapacity and auditBilling and compliance teams
Application logs (MQRC)DevelopersCorrelate timestamp with CSQ

CSQ Families: Startup and Queue Manager Lifecycle

During START MQM or automation-driven queue manager start, CSQ messages confirm subsystem initialization, CHINIT and CSQINXZ tasks, and connection to the coupling facility when in a QSG. Failures here prevent RUNNING status on any member—distributed clients see 2059 QM_NOT_AVAILABLE even when the LPAR is up. Check that the started task proc matches installation standards, that data sets are mounted, and that no duplicate queue manager name conflicts exist in the sysplex. Compare with a known-good IPL trace from change documentation.

text
1
2
3
4
5
Operator workflow (conceptual): 1. Note exact CSQ message ID and time from console or CSQOUT 2. DISPLAY QMSTATUS on the affected queue manager 3. For QSG: DISPLAY QSG and CF structure status 4. Correlate with CICS or IMS if bridge transaction abends

CSQ and Queue Sharing Groups

Queue sharing groups place shared queues in coupling facility structures. CSQ messages about structure rebuilds, structure failures, or member disconnects explain why puts fail with reason codes tied to unavailable shared queues or why channels stall. Partial repository members have different symptoms than full repository loss—learn your QSG topology before an incident. REFRESH CLUSTER and repository fixes on distributed MQ do not replace CF structure recovery on z/OS.

Common QSG-related CSQ themes (conceptual)
ThemeBusiness symptomFirst action
CF structure not availableShared queue puts failCF recovery with operations; verify structure name
QSG member not activeWorkload imbalance or total outageDISPLAY QSG; restart member per runbook
Repository sync issuesCluster routing wrongRepository role; REFRESH CLUSTER on affected members
Channel to distributed partnerXMITQ growth on hubCHSTATUS plus distributed AMQ on partner

CSQ Versus AMQ in Hybrid Estates

Many enterprises run hub queue managers on z/OS and spoke queue managers on Linux or Kubernetes. A channel failure may log AMQ9208 on Linux and CSQ channel-related text on z/OS within the same second. Build hybrid runbooks that require both logs in tickets. Developers on spokes should not dismiss mainframe CSQ as not my platform—their messages stop at the hub.

CSQ and Security (RACF)

z/OS uses RACF profiles for MQ resources in addition to OAM on the queue manager. CSQ messages may reference security product failures or profile gaps that still produce MQRC 2035 to applications. Correlate CSQ with RACF SMF and with dspmqaut-equivalent displays on z/OS. MCAUSER on channels must map to a valid RACF user with correct access to queues and topics.

Recovery and Restart Messages

After an abnormal shutdown, CSQ messages document log replay, media recovery, and whether the queue manager entered consistent state. Operators distinguish clean shutdown restarts from recovery modes that extend RTO. Application teams should plan for longer unavailability windows when CSQ indicates recovery—not merely strmqm on distributed. Document expected CSQ informational sequences for DR tests so night shift recognizes normal versus abnormal recovery.

How to Look Up Unknown CSQ Codes

  1. Capture exact CSQ message ID and full text.
  2. Open IBM MQ for z/OS documentation for your version and search Messages.
  3. Note QSG name, structure names, and member role.
  4. Correlate application MQRC from the same interval.
  5. Escalate to IBM with CSQOUT excerpt and FFST if severe.

Explainer: CSQ as the Mainframe Control Room

Distributed AMQ is the speaker in the Linux server room. CSQ is the panel in the z/OS control room that lights up when the shared elevator (coupling facility) or power bus (QSG) has a fault affecting every tenant on the floor.

Explain Like I'm Five: CSQ Messages

The big computer building has its own alarm words starting with CSQ. When the shared toy box for many apps breaks, the building manager hears CSQ first; your app might only know it cannot put a message in the box.

Practice Exercises

Exercise 1

From a DR test, list three CSQ messages that are normal during QSG member restart.

Exercise 2

Draw a hybrid diagram: app on Linux, hub on z/OS, and which log each side writes on failure.

Exercise 3

Match one MQRC from a CICS bridge failure to a CSQ timestamp window in lab.

Frequently Asked Questions

Frequently Asked Questions

Test Your Knowledge

Test Your Knowledge

1. CSQ messages are primarily for:

  • z/OS IBM MQ subsystem
  • Kafka brokers
  • HTTP load balancers
  • COBOL compile

2. CSQOUT is typically:

  • Message output data set
  • Client CCDT
  • XMITQ
  • Topic tree

3. QSG problems may show as:

  • CSQ plus CF structure status
  • Only FTP errors
  • JCL COND only
  • DNS NXDOMAIN

4. Applications still see failures as:

  • MQRC reason codes
  • JCL line numbers only
  • SMTP codes
  • HTML 404
Published
Read time24 min
AuthorMainframeMaster
Verified: IBM MQ for z/OS documentation