IBM Support

CCN3300 Insufficient storage available when compiling via rlogin, telnet or OMVS using TSO.

Technote (troubleshooting)


Able to compile a simple program in batch but was running out of storage when using rlogin or telnet. Unable to increase the region size in this environment.


CCN0634 Unable to load CCNETBY


Starting with Version 1 Release 9 the Compiler requires a minimum 148MB region. UNIX System Services manual suggests specifying 5,033,164 at minimum. The C/C++ Users Guide suggests you may need much more depending on the complexity of the programs being compiled and optimization level. The IEFUSI or IEALIMIT exit may also need to be adjusted if it is set to limit region size. Under TSO, a small REGION size during TSO LOGON can cause CCN0634 for some programs.



Resolving the problem

The MAXASSIZE setting in the BPXPRMxx member within SYS1.PARMLIB may need to be increased to specify enough region for compiling. Example: MAXASSIZE(536870912)

Batch users can simply increase the REGION parameter on the job statement. You may need to use a large amount such as 800M.

If this does not help, consider using the NOMEMORY compiler option.

In Addition: For IPA(LINK) storage problems or RC3000 you may also look at the MEMLIMIT option. The C/C++ migration guide for z/OS® 1.12 contains a reference on the use of MEMLIMIT setting and contains further references in MVS manuals. The guide states the setting should be at least 3000 MB. MEMLIMIT can be specified in the job statement.

Using OMVS from TSO ID you should increase the REGION specification during LOGON to accommodate the requirements of the programs.

Related information

1.12 UNIX System Services Planning Guide Reference
1.12 C/C++ User Guide

Cross Reference information
Segment Product Component Platform Version Edition
Software Development OS/390 C/C++ Compiler

Historical Number


Document information

More support for: z/OS XL C/C++

Software version: 1.10, 1.11, 1.12

Operating system(s): z/OS

Reference #: 1048994

Modified date: 10 July 2009

Translate this page: