Skip to Content
0
Former Member
May 13, 2009 at 08:09 AM

GENERATE SUBROUTINE POOL

532 Views

Hi there,

I'm experiencing a problem with GENERATE SUBROUTINE POOL instruction.

Indeed, it has a limitation of 36 temporary subroutine pools per session.

I wrote a class and in one of my methods I need to create and run a dynamic program.

Problem is that this class is to be used in an eCatt environment.

So my objects are created many times, and in the same session.

So if my eCatt has more than 36 lines, the process stops (dumps because too many subroutine pools have been generated).

Problem is that it generates a new subroutine pool. I only need to generate a new form.

My question is: can we generate a new form in an existing subroutine pool, and how?

Thus I would just have to produce a new form name and generate it in a unique subpool (using IMPORT/EXPORT to keep the name, for example), avoiding the 36 limit.

Thanks for your help,

Quentin