• Subject: Re: Object/size listing on IFS
  • From: Scott Klement <klemscot@xxxxxxxxxxxx>
  • Date: Mon, 7 May 2001 22:20:37 -0500 (CDT)


Hi Justin...

On Mon, 7 May 2001, Haase, Justin C. wrote:

> Folks,
> 
> What's the best way to get a size listing on folders and objects in the IFS?
> We currently use a program for the single-level storage which creates an
> outfile which we can SQL against.  Any ideas on a good way to do the same
> for IFS?

You could write a program that goes through all the objects in the IFS 
and adds up their sizes, etc.   The trick is going to be figuring out
how to store the pathname, since it can potentially be hundreds of bytes
long...  :)  I don't know if that's a concern for you or not, though...

Do you need an example of how to do this?  (in RPG IV?)

> 
> Justin C. Haase
> Midrange Systems Engineer - Kingland Systems Corporation
> IBM Certified AS/400 Systems Administrator
> IBM Certified AS/400 Professional System Operator
> IBM Certified AS/400 Associate System Operator
> Microsoft Certified Professional
> phone - 641.355.1035
> fax - 641.355.1099
> cellular - 641.430.6381
> pager - 641.422.3023
> e-mail - justin.haase@kingland.com
> alpha page - 5550923.beeper@pager.beeperpeople.com

Cool...   now I can phone you, fax you, call your cell phone, page you,
e-mail you and even send you alpha pages!!!  

You might want to consider limiting how much info like this you post.
Remember the ENTIRE WORLD has access to read this forum and/or it's
archives!
 

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.