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



  Jake,
    You could use the command:
  DSPOBJD YOURLIB/*ALL OUTPUT(*OUTFILE) OUTFILE(OUTLIB/LISTFILE)
    This will write to the file LISTFILE in library OUTLIB all the objects of 
the library YOURLIB. LISTFILE will contain info about object name, lib name, 
size, object type (eg. *FILE, *PGM), object attribute (LF, PF), etc
    After that, you can display and/or print the data using SQL or QUERY, as 
you prefer. 
    Hope this helps.
    Regards,
Luis Rodriguez
  

------------------------------

message: 7
date: Thu, 13 Jul 2006 14:56:08 -0700
from: "Willie J. Moore" 
subject: RE: Count of objects in a library.

I use the PDM command. then option#2, enter the library name and when it 
displays us F21. This will show you all the options in that library. You could 
then move print to file and query that file. Long way around, but do not have 
to buy any special programs.
Willie..

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Jake M
Sent: Thursday, July 13, 2006 1:38 PM
To: Midrange Systems Technical Discussion
Subject: Count of objects in a library.


Hello Pro's;
Is it possible to get a count of all the objects in a library? The objects
that I want a count on are :

RPGLE
CLLE
DSPF
PF
LF
OVL

I do not know if there is a command which will give me a count. Any help
would be much appreciated.

Thanks in advance,

Jake.



Luis Rodriguez

IBM Certified Systems Expert
eServer i5 iSeries Technical Solutions
                
---------------------------------
Do you Yahoo!?
 Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.