Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

iSeries / AS400 FAQ : (Category) Programming : How can I determine the size of objects in the IFS?

0
0 Posted

iSeries / AS400 FAQ : (Category) Programming : How can I determine the size of objects in the IFS?

0
0

Q. I want to monitor (programmatically) the utilisation of space in the IFS; similar to DSPOBJD. A. Here’s a link to a Knowledge Base article on using QShell. http://www-1.ibm.com/support/docview.wss?uid=nas160a8d6b416bb49ac8625681f001b280a&rs=110 qsh can be called from a CL program, so this could be automated. Output can even be redirected to a physical file that already exists – probably one that is not externally described. Running this against /* will take a long time. BTW, the article speaks of the ‘>’ pipe – as has been pointed out, this is not a pipe, rather, a redirection. There’s also a set of tools for IFS from IBM called IFSTOOL. Try ftp://testcase.boulder.ibm.com/as400/fromibm/ApiSamples/ Finally, look at http://search400.techtarget.com/tip/1,289483,sid3_gci894855,00.html?FromTaxonomy=%2Fpr%2F2f8 for info on PTFs (V5Rx) that gives a list of directories with the size of each and the number of links inside each. Individual files are not listed, AFAIK.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123