When compiling in Gen 8.6, user gets the following message:
"<module> Construction Error in DB2, RC = SB37"
The error message is something like the following:
(Error B37-04 on temporary dataset TICCIN during compile)
Release : 8.6
This error is an insufficient space/size issue during compile/precompile within the Gen temporary datasets.
This error is an insufficient space/size issue within the Gen temporary datasets during compilation.
These temporary dataset references are located within the member PARMLIB(TIUHE) for Gen 8.x.
Here is the information found in the PARMILB(TIUHE) member on the Host Encyclopedia as default, those in bold are specific to the DB2 precompile output and likely the cause of this specific error:
The recommendation would be to increase the values to avoid the error, possibly double the values or set them to a higher value, as it is dependent upon the module sizes being compiled.
Here is an example:
Note 1: Prior to Gen 8.x these parameters were set/adjusted within member CLIB(TIUGLOB).
Note 2: These parameters are not restricted to 3 digits as previously documented. So, for example, they could be set to say 5000.
Gen 8.6 documentation reference related to this topic: Special Considerations for large Common Format Buffers