IBM Support

SQLRPGLE Compile Fails with MCH0601 F/stringHighUse T/QBNINSOB

Troubleshooting


Problem

When compiling an SQL RPG Program using CRTSQLRPGI, the compile fails with an MCH0601 T/QBNINSOB.

Resolving The Problem

Problem

When using CRTSQLRPGI to create an SQLRPGLE program or service program, the compile fails with the following:

MCH0601 Escape 40 09/28/11 11:51:55.572184 < ingHighUse 000074 QBNINSOB QSYS 0145
From Program . . . . . . . : stringHighUse
Message . . . . : Space offset X'00004053' or X'0000000000000000' is outside
current limit for object &1.
Cause . . . . . : A program tried to set a space pointer, tried to use
storage outside a space, or tried to use an unallocated page in teraspace.
The space class is X'01'. The space class designates the type of space:
00-primary associated space (includes space objects). 01-secondary
associated space 1. 02-implicit process space for automatic storage.
03-implicit process space for static storage in activation group mark
X'0000000000000000'. 04-implicit process space for heap identifier
X'00000000' in activation group mark X'0000000000000000'. 05-constant space.
06-space for handle-based heap identifier X'00000000'. 07-teraspace offset
X'0000000000000000'. 08-teraspace for i5/OS PASE memory address
X'0000000000000000'. Offset X'00004053' only applies to storage outside
teraspace. X'00000000000000000000000000000000' is a pointer to the teraspace
page or the start of the implicit process space for the allocation.

Other messages that may accompany it:

CPF5D14 Escape 40 06/30/11 16:47:35.735824 QBNINSOB QSYS 018B QBNBIND QSYS *STMT
To module . . . . . . . . . : QBNBIRTH
To procedure . . . . . . . : QBNBIRTH__RequestPgmInsertionIntoLib
Statement . . . . . . . . . : 34
Message . . . . : Not able to insert service program xxxxxxxx into library
xxxxxxxx.
Cause . . . . . : Service program xxxxxxxx could not be inserted into
library xxxxxxxxx, or the associated information could not be created. The
service program was not created. Recovery . . . : See the previous
messages in the job log to determine the cause of the problem. Correct the
problem and try the command again.

Or

CPF5D11 Escape 30 09/28/11 11:51:55.572352 QBNINSOB QSYS 018B QBNBIND QSYS *STMT
To module . . . . . . . . . : QBNBIRTH
To procedure . . . . . . . : QBNBIRTH__RequestPgmInsertionIntoLib
Statement . . . . . . . . . : 34
Message . . . . : Not able to insert program xxxxxxxxx into library
xxxxxxxxx.
Cause . . . . . : Program xxxxxxxxx could not be inserted into library
xxxxxxxxx, or the associated information could not be created. The program was
not created. Recovery . . . : See the previous messages in the job log to
determine the cause of the problem. Correct the problem and try the command
again.

The compile only fails when the program object already exists and REPLACE(*YES) is specified on the compile command. If you compile the object into a new library where the object does not already exist, the compile will complete successfully.

Resolution

The compile is failing because the existing program or service program object has a bad associated space and cannot be replaced. To resolve the issue, you should do the following:

1. Delete the existing program or service program object.
2. Recompile the program or service program.

It will compile successfully.

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CHtAAM","label":"Programming ILE Languages"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"and future releases;6.1.0"}]

Historical Number

610736797

Document Information

Modified date:
12 May 2025

UID

nas8N1011351