An ADS dialog or application abended with the following error message :
DC171027 APPLICATION ABORTED. BUFFER TOO SMALL TO HOLD ONE RECORD
What does this mean ? Which buffer has to be increased?
IBM : z/OS, z/VSE
This error message refers to ADSO record buffers, also called “RBBs”.
If your Sysgen ADSO statement contains the "STORAGE MODE IS SGENSIZE" parameter, then you also must code the PRIMARY/SECONDARY POOL parameters in this statement, with sizes large enough to hold the largest possible record size used in ADS dialogs and applications.
Recommendation is to code STORAGE MODE IS CALCULATED. This allows the ADSO runtime system to calculate the size of the record buffers as needed, which means that the PRIMARY/SECONDARY POOL values are not used and this abend cannot happen.
Note : If you have ADS dialogs which are calling SQL procedures, and your Sysgen ADSO statement specifies STORAGE MODE IS CALCULATED, then you may erroneously get the DC171027 error too. This is a bug, which is solved by means of the following PTFs :
CA IDMS release 19.0 : RO83840 (z/OS)
CA IDMS release 18.5 : RO83553 (z/OS) and RO83878 (z/VSE)
CA IDMS release 18.0 : RO83839 (z/OS)