AS400 system cleanup

115 pts.
Tags:
AS/400
PRTDSKINF
We have a disk space constraint on our AS400 servers. We do run automatic cleanup jobs regularly. We delete libraries regularly. When I run prtdskinf and see the result, I see the libraries using 5 % of disk space and when I check for those libraries, we hardly find those libraries or some of those libraries does not exist. Kindly let me know in what all ways I can reduce the disk space on AS400. thanks in advance

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hello,

There are several things that could be eating up your disk space. You have journals, performance data, etc. You can go to GO PERFORM to see how many days of performance data you are saving, the library is normally QMPGDATA. Also for journal receivers….wrkobj *all/*all *jrnrcv or for jounals….wrkobj *all/*all *jrn. Not sure if you have the system set to manage the journals, if so, how many days do have retention set to?

TPinky

===========================================================

If you’re looking at systems where libraries are only taking 5% of the disk capacity, you’re probably looking at systems that are primarily using the directory structures of the IFS. Cleaning up “libraries” will not do much good at all on those systems.

First, you can’t rely on PRTDSKINF unless you run RTVDSKINF in order to retrieve the disk information before printing it. If you don’t run RTVDSKINF, then PRTDSKINF is probably printing old, obsolete data.

But beyond that, you would also want to run RTVDIRINF to collect details about directories. Then run PRTDIRINF to print the directory info that you collected. But be prepared — a directory report on a large system can be extremely large.

Tom

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Abigail
    Depending on your application file structure, you may be experiencing large number of deleted records (files that are not set to RRN). To determine this: DSPFD FILE(LIBNAME/*ALL) TYPE(*MBRLIST) OUTPUT(*OUTFILE) OUTFILE(QTEMP/FILE NAME). Sequel your outfile selecting fields MLLIB, MLFILE, MLNAME, MLNRCD, MLNDTR from QTEMP/OUTFILENAME ORDER BY MLNDTR WHERE MLNDTR>500. If you have files with large numbers of deleted (MLNDTR) records (in comparison to the number of records-MLNRCD), reorganize these files. You may need to process the reorgs. off hours due to file locks. Cleaning up the deleted records could also increase application performance. Also, you may want to permanently apply your PTF's. This would not affect your application libraries but will allocate additional disk space as temporary applied PTF's are larger than permanent PTF's. Check your journal receivers for potential deletion of old receivers.
    645 pointsBadges:
    report
  • Saurater
    There are some things you can do with a full system. 1. RCLSPLSTG *NONE - This command will free up a great deal of spool storage space. Particularly if it has never been run before. 2. CLRLIB QRPLOBJ - Every time an object is compiled with REPLACE(*YES) a copy is placed in QRPLOBJ. For the most part this is unnecessary. 3. DSPOBJD QUSRSYS/*ALL *JRNRCV - Old unattached system journal receivers can be as large as 30 meg,,, maybe even larger. Once unattached, these journal receivers may be deleted. 4. WRKLICINF etc. - There are many products on an AS/400 that are unnecessary. Tanzanian dictionaries are not needed in most shops. Many shops will not require any S/36 migration tools. These may be safely removed. 5. WRKOBJ QSYS/QHST* *FILE - This will list all system logs. Every system log except the most recent may be safely deleted. 6. DSPMSG QSYSOPR, QPGMR, QTCP, QSRV, etc. - Once displayed, you may press F16 to clear all unanswerd messages. 7. WRKPRB - Problems over 30 days old may be safely removed. 8. RCLSTG - This will delete any damaged objects, and place orphaned objects in QRCL, which may then be removed. from http://www.as400network.com/clubtech/TNT400/bo400ng/AS400Q0206.htm Saurater Faraday
    45 pointsBadges:
    report
  • Saurater
    RGZPFM command is a powerful command to physically delete records marked for deletions. It many save you lots of space. Saurater Faraday
    45 pointsBadges:
    report
  • pdraebel
    May sound a bit stupid, but are the servers IPL'd regularly ?
    2,940 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following