-
Notifications
You must be signed in to change notification settings - Fork 27
Description
This is driving me nuts!
Anyone seen this error when compile CL MODULES?
Tried to go larger than storage limit for object
I only see this for CL MODULES that use INCLUDE Statements. For this application, I use them at the header (sucking in some common variables) and a CL INCLUDE at the footer (sucking in a common error handling subroutine). The second CL INCLUDE Is failing with: *Function check. MCH2804 unmonitored by QCLCMPXH at statement N, instruction X'0019'.
But no problem if I do it from CLI in green screen.... I simply copy the create command and paste it into green screen the CL module compiles just fine from the IFS repository.
Looking at the joblog for the fail it seems to load the copybook ok:
/home/nicklitten/builds/V7400/includes/CLFOOT-Error.clleinc was successfully copied to object /QSYS.LIB/QTEMP.LIB/QCLTEMPINC.FILE/INCMBR.MBR in CCSID (Coded Character Set Identifier) 37.
but the next line it fails
MCH2804 Escape 40 25-04-08 22:44:07.877904 #somodx 0021D8 QCLCMPXH QSYS 0019
From user . . . . . . . . . : NICKLITTEN
Message . . . . : Tried to go larger than storage limit for object &1.
`
Solution is to copy the CRTCLMOD command paste it into the command line and boom it compiles first time.
I've tried editing the copybooks to make them smaller and this does nothing.
Any ideas? Save this aging programmers few remaining dark hairs from going white....