PUIBNDRPG Compile time

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
esdaled
Profound User
Posts: 72
Joined: Fri May 08, 2009 2:43 pm
First Name: David
Last Name: Esdale
Company Name: Guardian General Insurance
City: Port of Spain
State / Province: Outside Canada/USA
Country: Trinidad and Tobago
Location: Trinidad
Contact:

PUIBNDRPG Compile time

Post by esdaled »

When I compile a program using PUIBNDRPG it takes much longer for the program to compile. For example, program A takes about 10 seconds to compile normally, but takes over 2 minutes using PUIBNDRPG. Is this normal?

If I look at the compile job, it seems to be using very little CPU but spending a long time in procedure GETQUALIFIEDFILE in program PUI0001300.
User avatar
Rob
Profound Logic Staff Member
Posts: 135
Joined: Fri Jan 04, 2008 12:12 pm
First Name: Rob
Last Name: Ferguson
Company Name: Profound Logic Software
Contact:

Re: PUIBNDRPG Compile time

Post by Rob »

GETQUALIFIEDFILE is called once per copy source member line (/copy or /include) in your RPG source code. Do you have a large number of /copy or /include lines in your source?
esdaled
Profound User
Posts: 72
Joined: Fri May 08, 2009 2:43 pm
First Name: David
Last Name: Esdale
Company Name: Guardian General Insurance
City: Port of Spain
State / Province: Outside Canada/USA
Country: Trinidad and Tobago
Location: Trinidad
Contact:

Re: PUIBNDRPG Compile time

Post by esdaled »

The program in question has 12 copybooks, 1 of which includes a copybook.

The majority of our copybooks are prototypes (and their associated data structures) and few of the copybooks are snippets of calc specs.
User avatar
Rob
Profound Logic Staff Member
Posts: 135
Joined: Fri Jan 04, 2008 12:12 pm
First Name: Rob
Last Name: Ferguson
Company Name: Profound Logic Software
Contact:

Re: PUIBNDRPG Compile time

Post by Rob »

The pre-processor loads all copybooks (recursively) into the main source member (in QTEMP) so it can pre-process all relevant code. In actual fact we could improve this by only loading C-Spec copybooks. We can look at this in a future release.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest