I am implementing the NESTING concept which requires me to add more lines of code to the same module. This makes the size of my module exceeds 32,764 lines which is the maximum allowed by SEU.
Is there anything that I can change on the defaults of SEU to allow the physical number of lines to be greater than 32,764?
Here is the error message I am getting in SEU:
"Member CT110 in file NNNLIB/QCBLSRC exceeds 32764 records."
Software/Hardware used:
ASKED:
June 3, 2009 7:47 PM
UPDATED:
June 5, 2009 3:56 PM
Aside from re-architecting the program (easier to say than actually doing, of course), what about using a newer editor, like RSE within Websphere?
Surely you can nest tsource includes in Cobol? – added to the RPGLE precompiler ages ago.
If so, then break up the huge source to sensible parts, and either have one object which includes all others, or daisy chain together.
Yes, using Remote System Explorer – IBM Websphere Development Studio Client for iSeries is the answer.
Yes, using copylibs and also subroutines / subproprograms (sorry, I’m old school), will work also.
I noticed you showed that the member was in QCBLSRC so I’m assuming you’re using OPM COBOL (aka COBOL 400). You may run into a problem such as with OPM RPG (aka RPG 400) of the program being too big to compile. I’d suggest switching to CBLLE to be safe. It won’t solve your 32,764 member size problem, but it might keep another problem from cropping into the picture.
Dude . . . that would get you fired in my shop.
Actually, we have run into both situations modifying Mapics code. SEU bombed out trying to a add a small mod to a program. Finally got the programmer to use RSE – I personally haven’t used SEU for RPG for years now. The other situation was we exceeded the maximum number of variables for a program. Simply converted it to RPG-IV with DFTACTGRP and it worked fine.
I agree it makes sense to split these programs up, but its a lot of work when dealing with 3rd party stuff written in the 80′s.
Hey, WoodEngineer, which action gets you fired? Fixing the program or using a non-deprecated editor ?
Good question, Graybeard.
Developing a program with that many lines of code in a single program is the offense.