Troubleshooting
Problem
You are using CICS Transaction Server for z/OS (CICS TS) as an HTTP server. You are noticing on certain requests, CICS is sending out an HTTP/1.1 400 Bad Request as the response. Other requests from the same application work fine.
Symptom
You notice that when the size of the request the application sends out is greater than 32K in size, CICS responds with the HTTP 1.1 400 Bad Request. If the size of the request is smaller than 32K, then it works fine.
Cause
The size of the request is larger than the MAXDATALEN parameter set on the CICS TCPIPService Definition.
Resolving The Problem
Change the MAXDATALEN parameter in the CICS TCPIPService definition so that the size of the request will fit within the MAXDATALEN. The Default value is 32 KB.
Related Information
Was this topic helpful?
Document Information
Modified date:
05 January 2026
UID
swg21461834