× 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.


  • Subject: Re: Number of objects in a library
  • From: Douglas Handy <dhandy1@xxxxxxxxxxxxx>
  • Date: Fri, 04 Aug 2000 15:43:19 -0400

Kurt,

>Your method seems to be accurate for most libraries.  For non-system
>libraries it is usually dead on.  

The MI Functional Reference manual warns it should be treated as an
approximation.  In my testing, user libraries were also dead on and 
things like QSYS were close enough for my purposes. 

It could be there are other object types which should be adjusted too.
I found the database member thing just by comparing what I could get
back from MATCTX (with entries) vs a DSPLIB output.  But I did this
will small user libraries, not system libraries.

>Thanks for taking time to answer and
>provide sample code.

Glad to actually contribute something to this list, even if it is in
RPG. <g>  I feel like the little minnow swimming with the big fish
here.

Doug
+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com
+---

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-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.