IGZESPM

IGZESPM is the COBOL library routine that provides or releases main storage as the caller requests. IGZESPM is used heavily for 'mixed mode' COBOL programs (that is, COBOL code that accesses COBOL run-time libraries, or COBOL code that calls Assembler code).

Hints

IGZESPM can consume significant CPU while it manages free space if the pre- allocated pool size is less than the size required at run time. The default pre-allocated pool is 8KB, but some programs need as much as 200KB at run time.

The IBM-supplied run-time option SPOUT issues a message that describes the amount of storage the COBOL space manager allocated during execution. You can use this information to customize a space-management tuning table. Application-specific tuning tables can reduce the number of times the COBOL space manager must make system requests to acquire free storage. This can result in fewer storage requests (and thus, some performance improvement) for the application. The default is NOSPOUT.

You can increase the default size by modifying the IGZETUN module. You will need to increase the region size of the user job step by the same amount that you increase default size. This greatly reduces CPU use.

Because it is not possible to locate the return address at certain points in IGZESPM, Strobe cannot attribute the invoking source statements.

Reference Sources

VS COBOL II Diagnosis Reference, SY26-3910.

VS COBOL II Installation and Customization for MVS, Release 3.2, SC26-4048.

VS COBOL II Application Programming Guide, SC26-8201.