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



Thanks, Luis...


Best Regards.

James Fu
Operating System Specialist

TDL Group Corp. (Tim Hortons)
Oakville, Ontario
Direct: 905-339-5798
fu_james@xxxxxxxxxxxxxx
Web: http://www.timhortons.com


                                                                           
             "Luis Rodriguez"                                              
             <luisrodriguez@fa                                             
             stmail.fm>                                                 To 
             Sent by:                  <midrange-l@xxxxxxxxxxxx>           
             midrange-l-bounce                                          cc 
             s@xxxxxxxxxxxx                                                
                                                                   Subject 
                                       Re: How to list the size of each    
             02/17/2006 09:48          IFS directory in V5R2               
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
             Midrange Systems                                              
                 Technical                                                 
                Discussion                                                 
             <midrange-l@midra                                             
                 nge.com>                                                  
                                                                           
                                                                           




James,

Check out IBM's  IFS Tools at

ftp://testcase.boulder.ibm.com/as400/fromibm/ApiSamples/ifstool.savf

The QRYIFSLIB tool allows you to send to an output file the result of each
file and directory in the IFS. You can then list the data as you need. If
you run QRYIFSLIB without parameters the program displays help data that
even includes a SQL statement to list the size of each directory on the
IFS.

Hope this helps,

Regards,

Luis Rodríguez
IBM Certified Systems Expert - eServer i5 iSeries
Caracas, Venezuela

> ------------------------------
>
> message: 8
> date: Fri, 17 Feb 2006 18:50:56 -0600
> from: Pete Hall <pbhall@xxxxxxxxxxxxx>
> subject: Re: How to list the size of each IFS directory in V5R2
>
> You could run ls -l in qshell, which returns the file sizes. ls -lR to
> recurse directories
>
> ls -lR /qdls/* when run from the root will return the sizes of all the
> files in any directory under qdls. ls -l /qdls/* will only return the
> top level. You'll need a script to add them up though if you want a
> total. Awk is great for that.
>
> --
>
> Pete Hall
> pbhall@xxxxxxxxxxxxx
> http://www.pbhall.us/
>
>
>
> fu_james@xxxxxxxxxxxxxx wrote:
>> As we can list the size and detail file info of a library with
>> "PRTDSKINF"
>> command, is there any way to list the size and detail info of a
>> IFS directory in V5R2. Thanks...
>>
>> Best Regards.
>>
>> James Fu
>>
>> TDL Group Corp. (Tim Hortons)
>> Oakville, Ontario
>> Web: http://www.timhortons.com
>>


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.





The information contained in this message is confidential and may be
legally privileged. The message is intended solely for the addressee(s).
If you are not the intended recipient, you are hereby notified that any
use, dissemination, or reproduction is strictly prohibited and may be
unlawful. If you are not the intended recipient, please contact the sender
by return e-mail and destroy all copies of the original message.

L'information contenue dans ce  message est de nature confidentielle et
peut etre de nature privilegiee. Ce  message est strictement reserve a
l'usage de son ou ses destinataires. Si vous  n'etes pas le destinataire
prevu, prenez avis, par la presente, que tout usage,  distribution, ou
copie de ce message est strictement interdit et peut etre  illicite. Si
vous n'etes pas le destinataire prevu, veuillez en aviser  l'expediteur par
courriel et detruire tous les exemplaires du message original.



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.