A program is causing SOS (short of storage). Beside GETMAIN, what other CICS commands can cause SOS?
Well, it seems obvious that a SOS is caused by use of too much storage!
However, you do not tend to get that too much nowadays as programs reside above the line. Ensure that you have generated the program to be re-entrant, uses AMODE(31) and RMODE(ANY) so that it resides above the line. If you are obtaining storage ensure that you are getting it in 312bit mode (above the line).
You will probably have to turn on trace to see what is going on, and consult the PDG to track down the excessive storage usage.
Dig Deeper on IBM system z and mainframe systems
Related Q&A from Robert Crawford
For better mainframe capacity planning, how do I convert CPU hours to MIPS? And is there a way to calculate the relationship between MIPS and MSUs? Continue Reading
I have two years of experience in mainframe technology, currently working as a mainframe developer. I want to change to Java technology. Continue Reading
I want to replicate DB2 from the mainframe to an AIX box since it's cheaper and the copy can be used for testing. Is this possible? Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.