How to handle messages bigger than 4MB on z/OS? I can’t use segmentation, because it is not supported on z/OS.
Some OS have even bigger limits measured even in kB.
What is the common approach in this case?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You are not hitting a z/OS limit but rather the default maximum message length on WebSphere MQ. Note that the Infocenter says “On z/OS, specify a value in the range zero through 100 MB (104 857 600 bytes)”.
To fix this, change the MAXMSGL on any queues and channels through which the message might pass. Don’t forget to update the Dead Letter Queue’s MAXMSGL as well as transmission queues.
Be aware that MAXMSGL is there to save you! Many people set the value to its highest possible size and then run out of disk space. If the application hits a soft limit such as MAXMSGL or MAXDEPTH the effect is limited and generally recoverable. If the disk space is exhausted, the entire QMgr comes to a screeching halt and all connected apps are impacted.
For more on this, please see the Mice and Elephants article on developerWorks.
UDATE:
Update based on comments asking about specifics of HP NonStop and WMQ V5.3.
Please see the WMQ V5.3 manuals available in the WMQ Documentation library. The second link is the System Administration Guide for WMQ V5.3 on HP NonStop. Message lengths are discussed on P4:
So there’s no arbitrarily small max message length on HP NonStop or associated with V5.3 of WMQ.