× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Rob,


I checked the source members of the growing programs and they are all SQLRPGLE.

Thanks for the update.



Robert Munday
Montgomery, AL


-----Original Message-----
From: rob@xxxxxxxxx
Sent: Aug 31, 2011 7:20 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: Growing Programs - Second Attempt

You do not say if the program is sql or not. For example, I may have this
source member:

Member Type
ACD0020 SQLRPGLE

which then creates this program:

Program Library Attribute
ACD0020 ROUTINES RPGLE

But I can do stuff like PRTSQLINF and see stuff like:
SQL4021 Access plan last saved on 08/30/11 at 10:18:39.
SQL4020 Estimated query run time is 0 seconds.
SQL402D Query attributes overridden from query options file QAQQINI in
library QUSRSYS.
SQL4027 Access plan was saved with DB2 Symmetric Multiprocessing
installed on the system.
SQL4017 Host variables implemented as reusable ODP.
SQL4002 Reusable ODP sort used.
SQL4007 Query implementation for join position 1 table 1.
SQL4010 Table scan access for table 1.
SQL4007 Query implementation for join position 2 table 1.
SQL4010 Table scan access for table 1.
SQL4006 All indexes considered for table 0.
SQL4006 All indexes considered for table 0.

All that information is stored with the program. One simple program has 5
pages of information for PRTSQLINF.

Note:
Change date/time . . . . . . . . . . : 12/30/10 09:37:39
SQL4021 Access plan last saved on 08/30/11 at 10:18:39.

So, obviously saving the access plan into the *PGM object itself does not
constitute a "change". Good thing. I'd hate to have to give the users
change authority to an object just to run the program.

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 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.