PDA

View Full Version : API to retrieve size of IFS objects?



Guest.Visitor
05-12-2006, 09:23 AM
How about using some of the QSheel functions. This may not be a good solution since you are software house.

Guest.Visitor
05-12-2006, 10:18 AM
Take a look at readdir here: http://www.code400.com/viewsamples.php?lang_id=18 And you could combine that with the 'stat' API to get file stats. Chris

nancyh@finzsoft.com
05-21-2006, 06:43 PM
Have a look at this Knowledge Base doc: http://www-912.ibm.com/s_dir/slkbase.nsf/0/3976fed8ab10134b862568b60071ccd3?OpenDocument Nancy

joe.baumgarten@gmail.com
05-21-2006, 06:43 PM
I would like to better monitor the DASD consumption of our IFS directories. It would be very helpful to have the following: 1) A listing of the directories and the size of each directory 2) A comparison of the percentage of growth/shrink of each directory from the last time. I have no problem building some code that can make this information "look pretty", but I'm not quite sure how to gain access to the information I need to feed the reports! Are there any IFS API's that are focused on returning the name, location and size of IFS objects? Thanks! Joe.