× 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: Object/size listing on IFS
  • From: "Phil" <sublime78ska@xxxxxxxxx>
  • Date: Tue, 8 May 2001 11:41:58 -0400
  • Importance: Normal

Is there an efficient way of doing this?

I retrieve creation dates for stream files but I'm checking a particular
directory.  Opening every directory off of root, and then getting the size
of every object in every directory seems like it would take a very long
time - too long for it to be practical.

Or is it?

Phil

-----Original Message-----
From: owner-midrange-l@midrange.com [mailto:owner-midrange-l@midrange.com]On
Behalf Of Scott Klement
Sent: Monday, May 07, 2001 11:21 PM
To: 'MIDRANGE-L@midrange.com'
Subject: Re: Object/size listing on IFS


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


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

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