Jose,

Apparently, you can supply your own maximum with the COPYNEST keyword - 32 is the default.

The /COPY and /INCLUDE compiler directives cause records from other files to be inserted, at the point where the directive occurs, with the file being compiled. The inserted files may contain any valid specification including /COPY and /INCLUDE up to the maximum nesting depth specified by the COPYNEST keyword (32 when not specified).

https://www.ibm.com/docs/en/i/7.5?topic=directives-copy-include



Paul Therrien
Ext. 2230
ptherrien@xxxxxxxxxxx

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Jose Perez
Sent: Friday, December 27, 2024 10:16 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Error compiling HSSFR4 nesting level of copy greater than the maximum allowed

Hi Fellows. I need help compiling HSSFR4 Scott Klement's program used to build Excel XLSX, I'm using the built cl that he created for this (Call
BUILDHSSF) but I'm getting below errors.

/copy
qsysinc/qrpglesrc,jni

50 64000203+ The limit for the nested /COPY directives is 32. The
limit POI36/QRPGLESRC(HSSF_H)

has been
exceeded.



/copy
hssf_h

50 64000205+ The limit for the nested /COPY directives is 32. The
limit POI36/QRPGLESRC(HSSF_H)

has been
exceeded.

/copy
ifsio_h

50 64000206+ The limit for the nested /COPY directives is 32. The
limit POI36/QRPGLESRC(HSSF_H)

has been exceeded.
can someone help me with this?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.