Freeing Up Disk On Your IBM I

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 56

Freeing up disk on your IBM i

By Rob Berendt
04/16/2010
Traditional items
• Spool files
• Ptf save files
RTVDSKINF
Your first line of attack

The Retrieve Disk Information (RTVDSKINF) command is used to collect disk space information. Disk space
information can then be printed using the Print Disk Information (PRTDSKINF) command. The collected
information is stored in a database file in library QUSRSYS. The file name depends on the auxiliary storage pool
(ASP) device for which disk space information is retrieved. If the information was retrieved from the system and
basic ASPs, the collected information will be stored in file QAEZDISK. If the information was retrieved from an
independent ASP device, the collected information will be stored in file QAEZnnnnn, where 'nnnnn' is the ASP
number of the independent ASP. The information will be stored in a data base file member named QCURRENT.
Each time this command is run, existing information in QCURRENT is written over. To save existing information in
member QCURRENT, rename file QAEZDISK or QAEZDnnnnn, or copy the member to another file.
Note: Do not rename member QCURRENT within file QAEZDISK or QAEZDnnnnn. If there is more than one
member in QAEZDISK or QAEZDnnnnn, the results of running this command can be unpredictable.
RTVDSKINF
more small print
Restrictions:
1. You must have all object (*ALLJOB) special authority to collect
disk space information.
2. You must be enrolled in the system distribution directory to
collect folder and document information. Use the Work with
Directory Entries (WRKDIRE) command to enroll.
PRTDSKINF *SYS
PRTDSKINF *SYS
Information collected . . . . . . . . . : 03/18/10 04:00:02

Total disk space on system in 1,000,000


bytes . . . . . . . . . . . . . . . . : 326233
Main storage size in megabytes . . . . . : 8116

% of Size in
Description Disk 1,000,000 bytes
User libraries 54.74 178588.88
User directories 11.77 38393.65
Folders and documents .00 3.58
QSYS .77 2516.57
Other IBM libraries 2.88 9389.23
Licensed Internal Code 1.49 4855.48
Temporary space 2.71 8826.39
Unused space 25.20 82217.03
System internal objects .28 897.42
Objects not in a library .00 .00
TOTAL 99.84 325688.23
i5/OS items reported

i5/OS items reported: Disk 1,000,000 bytes


History files .04 138.06
Journal receivers 42.45 138477.56
User profiles .03 104.44
Configuration information .00 3.77
System help (QHLPSYS) .01 44.03
Calendars .00 1.59
System directories .00 2.80
Document files .00 2.92
OfficeVision items reported
OfficeVision items reported: Disk 1,000,000 bytes
Enrollment .00 .12
Mail files .00 .43
Text search .00 .00
Personal directories .00 .59
Licensed Internal Code

Licensed Internal Code: Disk 1,000,000 bytes


LIC and tables 1.10 3581.56
Dump space .33 1077.94
Error logs .00 5.07
Trace tables .00 .00
VLIC logs .06 188.75
VLIC control blocks .00 2.16
Space used by system internal
objects
Space used by system internal objects: Disk 1,000,000 bytes
Additional configuration information .00 .12
Communications .00 8.31
Data base .01 31.11
Manage jobs .18 589.01
Monitor performance .00 .00
Folders .00 .23
Mail .00 .02
i5/OS .01 19.95
S/36 Environment .00 .00
Security .02 64.41
SNADS and object distribution .01 25.83
Spool .04 135.59
Cross component .01 18.04
Product installation .00 .12
Recovery of information .00 .92
Obsolete .00 .04
Internal system journals .00 3.72
Miscellaneous items reported

Miscellaneous items reported: Disk 1,000,000 bytes


Printer output & Spooling (QSPL) .45 1476.66
Replaced object library (QRPLOBJ) .00 11.94
Storage affected by RCLSTG .00 .00
Reclaim storage library (QRCL) .00 .10
PRTDSKINF
(Refreshed)

Information collected . . . . . . . . . : 03/22/10 10:52:29


Total disk space on system in 1,000,000
bytes . . . . . . . . . . . . . . . . : 326233
Main storage size in megabytes . . . . . : 8116
% of Size in
Description Disk 1,000,000 bytes
User libraries 62.28 203184.91
User directories 11.87 38726.31
Folders and documents .00 3.58
QSYS .78 2557.08
Other IBM libraries 2.88 9392.98
Licensed Internal Code 1.49 4855.48
Temporary space 3.26 10629.18
Unused space 17.04 55588.60
System internal objects .33 1082.70
Objects not in a library .00 .00
TOTAL 99.93 326020.82
i5/OS items reported

% of Size in
Disk 1,000,000 bytes
i5/OS items reported:
History files .04 137.79
Journal receivers 50.04 163239.19
User profiles .03 104.44
Configuration information .00 3.77
System help (QHLPSYS) .01 44.03
Calendars .00 1.59
System directories .00 2.80
Document files .00 2.93
PRTDSKINF *LIB

Type of report. . . . . . . . . > *LIB


ASP device . .. . . . . . . . . *SYSBAS
Libraries . . . . . . . . . . . *ALL
Objects . . . . . . . . . . . . > *NONE
Object types .. . . . . . . . . *ALL
+ for more values
Smallest size . . . . . . . . . 0
Sort by . . . . . . . . . . . . *SIZE
Library summary
% of Size in
Library Owner Disk 1000 bytes
QUSRSYS QSYS 49.99 163070406.7
ROUTINES ROB 4.30 14012014.6
QMPGDATA QPM400 3.19 10396958.7
QSYS QSYS .78 2540699.1
QSYSDIR QSYS .64 2097987.6
DOM85 PROGRAMMER .60 1947873.3
...
PRTDSKINF *LIB
(with objects)

Type of report. . . . . . . . . > *LIB


ASP device . .. . . . . . . . . *SYSBAS
Libraries . . . . . . . . . . . *ALL
Objects . . . . . . . . . . . . > *ALL
Object types .. . . . . . . . . *ALL
+ for more values
Smallest size . . . . . . . . . > 10000
Sort by . . . . . . . . . . . . *SIZE
w/Objects
Library/ % of Size in
Object Type Owner Library 1000 bytes
QUSRSYS *LIB QSYS 163070406.7
QAUDJR0261 *JRNRCV PROGRAMMER .94 1540194.3
QAUDJR0262 *JRNRCV PROGRAMMER .94 1540194.3
QAUDJR0266 *JRNRCV PROGRAMMER .94 1540194.3
QAUDJR0283 *JRNRCV PROGRAMMER .94 1540194.3
QAUDJR0288 *JRNRCV PROGRAMMER .94 1540194.3
QAUDJR0290 *JRNRCV PROGRAMMER .94 1540194.3
QAUDJR0345 *JRNRCV PROGRAMMER .94 1540194.3
QAUDJR0348 *JRNRCV PROGRAMMER .94 1540194.3
...
QAEZDISK *FILE PROGRAMMER .02 29474.8
ROUTINES *LIB ROB 14012014.6
IFSLIST *FILE SSA 28.23 3956215.8
QAEZD0058O *FILE PROGRAMMER 1.30 181481.5
QAEZD0054O *FILE PROGRAMMER 1.24 173183.0
QAEZD0017O *FILE PROGRAMMER 1.24 173162.5
QAEZD0014O *FILE PROGRAMMER 1.24 173092.9
Before/After cleaning receivers

System ASP . . . . . . . . . . . . . . : 326.2


G
% system ASP used . . . . . . . . . . :
83.7664

After

% system ASP used . . . . . . . . . . :


36.2684
Run SQL Scripts
Biggest objects left
-- List of objects by biggest object, descending
-- Does NOT include stream file (aka other IFS) stuff
Select
diobsz as size,
diobli as library,
diobnm as object,
diobtp as type,
diobat as attribute
From qusrsys.qaezdisk
where diobli <> ' '
Order by diobsz desc;
Biggest objects left
Other IBM libraries
If you see significant space in “Other IBM libraries” you may want
to look carefully in the PRTDSKINF *LIB. One user noticed these
libraries

% of Size in
Library Owner Disk 1000 bytes
QPFRD61001 QSYS .12 404222.0
QPFRD54001 QSYS .11 366313.5
They all had a text of “Down level files from library QMPGDATA”.
On his system they consumed 30% of his disk.
What about “User directories”?
% of Size in
Description Disk 1,000,000 bytes
User libraries 15.39 50200.09
User directories 11.84 38617.42
Folders and documents .00 3.58
QSYS .78 2557.05
Other IBM libraries 2.87 9375.59
Licensed Internal Code 1.49 4855.48
Temporary space 3.54 11543.27
Unused space 63.62 207540.71
System internal objects .32 1038.80
Objects not in a library .00 .00
TOTAL 99.85 325731.99
RTVDIRINF DIR('/') INFLIB(...)

WRKF QAEZD*
QAEZD0001D
QAEZD0001O
QAEZD0002D
QAEZD0002O
QAEZD0003D
QAEZD0003O

List of objects by biggest
directory
-- List of objects by biggest directory
With t1 as(
select distinct d.qezdirnam1 as ParentDirectory,
qezdiridx
from routines.QAEZD0058d d
where locate('/',d.qezdirnam1,2)=0
and d.qezdirnam1<>'/'
),
T2 as (
Select ParentDirectory, qezdirnam1,o.qezdtasize as size
from T1, routines.qaezd0058d d left outer join
routines.qaezd0058o o on d.qezdiridx=o.qezdiridx
where qezdirnam1 like trim(ParentDirectory) concat '%'
and (qezdirnam1 = ParentDirectory or
substr(qezdirnam1,1,max(locate('/',qezdirnam1,2)-1,1)) =
ParentDirectory)
)
select ParentDirectory, sum(size) as dirsize
From T2
Group by ParentDirectory
order by 2 desc;
List of objects by biggest
directory
Growth, by directory
-- List of objects by biggest directory
-- Compared to an earlier run to check growth on that directory.
With t1 as(
select distinct d.qezdirnam1 as ParentDirectory,

qezdiridx
from routines.QAEZD0058d d
where locate('/',d.qezdirnam1,2)=0
and d.qezdirnam1<>'/'
),
T2 as (
Select ParentDirectory, qezdirnam1,o.qezdtasize as size
from T1, routines.qaezd0058d d left outer join
routines.qaezd0058o o on d.qezdiridx=o.qezdiridx
where qezdirnam1 like trim(ParentDirectory) concat '%'
and (qezdirnam1 = ParentDirectory or
substr(qezdirnam1,1,max(locate('/',qezdirnam1,2)-1,1)) = ParentDirectory)
),
t3 as(
select distinct d.qezdirnam1 as ParentDirectory,

qezdiridx
from routines.QAEZD0057d d
where locate('/',d.qezdirnam1,2)=0
and d.qezdirnam1<>'/'
cont
T4 as (
Select ParentDirectory, qezdirnam1,o.qezdtasize as size
from T1, routines.qaezd0057d d left outer join
routines.qaezd0057o o on d.qezdiridx=o.qezdiridx
where qezdirnam1 like trim(ParentDirectory) concat '%'
and (qezdirnam1 = ParentDirectory or
substr(qezdirnam1,1,max(locate('/',qezdirnam1,2)-1,1)) = ParentDirectory)
),
T5 as (
select t2.ParentDirectory, sum(t2.size) as dirsize
From T2
Group by ParentDirectory
order by 2 desc
),
cont

T6 as (
select t4.ParentDirectory, sum(t4.size) as dirsize
From T4
Group by ParentDirectory
order by 2 desc
)
select t5.ParentDirectory, t5.dirsize, ifnull(t6.dirsize,0) as OldSize,
t5.dirsize - ifnull(t6.dirsize,0) as growth
from t5 left outer join t6 on t5.ParentDirectory = t6.ParentDirectory
order by growth desc
;
Results
Detailed
-- List of objects by biggest directory - Detailed
With t1 as(
select distinct d.qezdirnam1 as ParentDirectory,

qezdiridx
from routines.QAEZD0058d d
where locate('/',d.qezdirnam1,2)=0
and d.qezdirnam1<>'/'
),
T2 as (
Select ParentDirectory, qezdirnam1 as Dir, qezobjnam as
object,o.qezdtasize as size
from T1, routines.qaezd0058d d left outer join
routines.qaezd0058o o on d.qezdiridx=o.qezdiridx
where qezdirnam1 like trim(ParentDirectory) concat '%'
and (qezdirnam1 = ParentDirectory or
substr(qezdirnam1,1,max(locate('/',qezdirnam1,2)-1,1)) =
ParentDirectory)
)
select ParentDirectory, dir, object,size
From T2
where ParentDirectory like '/fixes%'
order by ParentDirectory, size desc
;
Detailed Results - fixes
Detailed Results – gdi01
Detailed Results - /QIBM
System 2
Total disk space on system in 1,000,000
bytes . . . . . . . . . . . . . . . . : 210990
% of Size in
Description Disk 1,000,000
bytes
User libraries 71.41 150657.68
User directories 3.72 7852.45
Folders and documents .12 262.48
QSYS 1.43 3008.61
Other IBM libraries 2.34 4935.92
Licensed Internal Code 1.83 3864.31
Temporary space 2.36 4977.59
Unused space 15.76 33243.50
System internal objects .35 743.61
Objects not in a library .00 1.37
TOTAL 99.32 209547.52
PRTDSKINF *LIB
% of Size in
Library Owner Disk 1000 bytes
EMIFILES QPGMR 15.06 31764607.0
AMAFILES QPGMR 4.82 10176118.8
LECFILES QPGMR 4.33 9132789.8
PMBDMART61 QPGMR 3.64 7689179.1
LEPFILES QPGMR 2.71 5718450.2
ERAFILES QPGMR 2.57 5414633.5
RBSPGMLIB RBTADMIN 2.46 5186822.1
PEPFILES QPGMR 2.38 5016404.0
SEAFILES QPGMR 2.29 4836237.3
PMBBS61 QPGMR 2.25 4739317.8
EPAFILES QPGMR 1.65 3491524.6
RJSTEMP QTMHHTP1 1.54 3244945.4
QSYS QSYS 1.42 2993903.1
QGPL QSYS 1.36 2865692.7
PMBPROD DTYNDALL 1.36 2863366.1
NCRFILES QPGMR 1.32 2791444.5
...
PRTDSKINF *LIB with obj

PRTDSKINF RPTTYPE(*LIB) OBJ(*ALL) MINSIZE(10000)

Library/ % of Size in
Object Type Owner Library 1000 bytes
EMIFILES *LIB QPGMR 31764607.0
DMFJRNHS *FILE QPGMR 21.45 6813753.3
DMRIJRNHS *FILE QPGMR 13.92 4420911.1
DMRJRNHS *FILE QPGMR 11.43 3629232.1
DMMJRNHS *FILE QPGMR 4.20 1332854.8
TRANS *FILE QPGMR 3.66 1161936.9
...
AMAFILES *LIB QPGMR 10176118.8
DMFJRNHS *FILE QPGMR 20.48 2083622.9
DMRIJRNHS *FILE QPGMR 13.79 1403105.3
DMRJRNHS *FILE QPGMR 11.64 1185001.5
...
Save files
SELECT DIOBLI AS LIBRARY, DIOBNM AS OBJECT,
DIOBAT AS ATTR, DIOBSZ AS SIZE
FROM QUSRSYS/QAEZDISK
WHERE DIOBAT='SAVF'
ORDER BY DIOBSZ DESC

LIBRARY OBJECT SIZE


QIWA2 QSI33310J4 355,500,032
QJAVA QSI18127J1 353,271,808
QGPL QSI36331 189,698,048
QGPL QSI36797 180,883,456
QGPL QSI37237 171,667,456
QSYSDIR QSI17959J1 156,270,592
QGPL QSI36479 148,082,688
QSYSDIR QLWILWI71 127,811,584
QSYSDIR QPZA011059 127,795,200
QGPL Q5799PTL 118,591,488
QGPL QSI36530 105,537,536
QGPL QSI37712 97,243,136
QSYSDIR QPZ1IWSS1O 93,872,128
QGPL QSI36102 86,122,496
...
PTF save files
SELECT DIOBLI AS LIBRARY, DIOBNM AS OBJECT,
cast(DIOBSZ as dec(9,0)) AS SIZE
FROM QUSRSYS/QAEZDISK
WHERE DIOBAT='SAVF'
AND DIOBLI LIKE 'Q%' AND DIOBNM LIKE 'Q%'
ORDER BY DIOBSZ DESC

LIBRARY OBJECT SIZE


QIWA2 QSI33310J4 355,500,032
QJAVA QSI18127J1 353,271,808
QGPL QSI36331 189,698,048
QGPL QSI36797 180,883,456
QGPL QSI37237 171,667,456
QSYSDIR QSI17959J1 156,270,592
QGPL QSI36479 148,082,688
QSYSDIR QLWILWI71 127,811,584
QSYSDIR QPZA011059 127,795,200
QGPL Q5799PTL 118,591,488
QGPL QSI36530 105,537,536
QGPL QSI37712 97,243,136
QSYSDIR QPZ1IWSS1O 93,872,128
QGPL QSI36102 86,122,496
...
Total PTF save files

SELECT SUM(DIOBSZ) AS TOTALSIZE


FROM QUSRSYS/QAEZDISK
WHERE DIOBAT='SAVF'
AND DIOBLI LIKE 'Q%' AND DIOBNM LIKE 'Q%'

TOTALSIZE
5,065,977,856

or 2.4% of 211GB
Other save files
SELECT DIOBLI AS LIBRARY, DIOBNM AS OBJECT,
cast(DIOBSZ as dec(9,0)) AS SIZE
FROM QUSRSYS/QAEZDISK
WHERE DIOBAT='SAVF'
AND not(DIOBLI LIKE 'Q%' AND DIOBNM LIKE 'Q%')
ORDER BY DIOBSZ DESC

LIBRARY OBJECT SIZE


NGSSUPPORT QIQE6403 65,101,824
ZENDCORE ZENDMYSQL 61,673,472
NGSJWINS JWKIFS31R0 35,151,872
C61CLAIMS PHASE1 25,198,592
PMBBS61 EXBILFIL04 16,281,600
QSYSINC UNISAVE 15,785,984
QSYSINC UNISAVE34 15,785,984
QSYSINC UNISAVE32 14,716,928
PMBBS61 EXBILFIL03 14,184,448
NGSJWINS SEJIFS31R0 14,184,448
C61CLAIMS CMBMAINT 13,987,840
QGPL SVN14PRD 13,987,840
QSYSINC UNISAVE24 13,668,352
QSYSINC UNISAVE26 13,139,968
PMBBS61 EXBILFIL02 12,611,584
...
Deleted records
DSPFD FILE(*ALL/*ALL) TYPE(*MBRLIST) OUTPUT(*OUTFILE) FILEATR(*PF)
OUTFILE(QTEMP/DSPFD)

SELECT MLLIB, MLFILE, MLNAME, MLNDTR


FROM ROB/DSPFD
ORDER BY mlndtr desc

Library File Member Deleted


Records
PMBDMART61 DMTMPINS DMTMPINS 6,179,026
RBSPGMLIB RBSOH RBSOH 225,283
PMBBS61 XECSREF XECSREF 75,601
EMIFILES TRWRKOPR TRWRKOPR 17,276
PMBBS61 SYSTEMZ SYSTEMZ 9,444
EMIFILES TRWRKOPD TRWRKOPD 8,168
LECFILES SOUNDXPF SOUNDXPF 5,852
EMIFILES TRWRKOPH TRWRKOPH 5,399
EMIFILES TRWRKOPM TRWRKOPM 5,399
LEPFILES SOUNDXPF SOUNDXPF 5,351
SEAFILES TRWRKOPR TRWRKOPR 4,719
AMAFILES TRWRKOPR TRWRKOPR 4,616
...
Deleted space

DSPFD FILE(ROB/*ALL) TYPE(*MBR) OUTPUT(*OUTFILE) FILEATR(*PF)


OUTFILE(QTEMP/DSPFDOUT)

SELECT MBLIB, MBFILE, MBNAME, MBNDTR, MBNDTR * MBMXRL AS DELSPACE


FROM QTEMP/DSPFDOUT
ORDER BY mBndtr*MBMXRL desc
Directories
PARENTDIRECTORY DIRSIZE
/QSYS.LIB 123,926,617,828
/QIBM 1,585,680,999
/usr 859,082,352
/QOpenSys 466,744,063
/QDLS 177,440,609
/QCA400 70,185,973
/RBSTMPLIB 59,659,232
/www 51,795,922
/NGSJWALK 32,897,411
/JWALK 32,873,086
/RJSTEMP 29,138,944
/JWALKC61 26,725,882
/SEAJWK 6,617,400
/NGSJWR 1,393,416
/CFPMB 1,277,458
...
/QIBM
OBJECT SIZE
iNav.ear 187,696,231
setup.exe 77,683,617
QSI333105722XH20005R04M00505000000018 29,081,765
iwawps.war 29,081,718
src.jar 19,497,537
rt.jar 19,343,171
UNI1.CAB 18,296,089
QSI333105722XH20005R04M00505000000019 17,119,740
habeansnlv.jar 17,119,740
IDSWebApp.ear 16,460,986
JRE1.CAB 16,248,776
QSI169155722XE10005R02M00505000000013 13,949,702
...
/usr
DIR
/usr/local/Zend/Core/lib
/usr/local/Zend20081106223315/Core/lib
/usr/local/Zend/Core/lib/aspell-0.60
/usr/local/Zend20081106223315/Core/lib/aspell-0.60
/usr/local/Zend/Core/lib/aspell-0.60
/usr/local/Zend20081106223315/Core/lib/aspell-0.60
/usr/local/Zend/Core/lib/aspell-0.60
/usr/local/Zend20081106223315/Core/lib/aspell-0.60
/usr/local/Zend/Core/lib/aspell-0.60
/usr/local/Zend20081106223315/Core/lib/aspell-0.60
/usr/local/Zend/Core/lib/aspell-0.60
/usr/local/Zend20081106223315/Core/lib/aspell-0.60
/usr/local/Zend/Core/lib/aspell-0.60
/usr/local/Zend20081106223315/Core/lib/aspell-0.60
/usr/local/Zend/Core/lib
/usr/local/Zend20081106223315/Core/lib
/usr/local/Zend/Core/lib/php/20060613
/usr/local/Zend20081106223315/Core/lib/php/20060613
/QOpenSys

DIR OBJECT SIZE


/QOpenSys/QIBM/ProdData/OS400/PASE/lib libxlf90_r.a 12,314,298
/QOpenSys/QIBM/ProdData/OS400/PASE/lib libXm.a 10,676,892
/QOpenSys/QIBM/ProdData/OS400/PASE/lib libc.a 8,174,466
/QOpenSys/QIBM/ProdData/OS400/PASE/lib libC.a 8,079,369
/QOpenSys/QIBM/ProdData/DeveloperTools/emacs/bin emacs 7,573,089
/QOpenSys/QIBM/ProdData/OS400/PASE/MRI2924/loc TE_IN.UTF-8__64 6,822,537
/QOpenSys/QIBM/ProdData/OS400/PASE/MRI2924/loc HI_IN.UTF-8__64 6,729,611
/QOpenSys/QIBM/ProdData/OS400/PASE/MRI2924/loc MR_IN.UTF-8__64 6,729,611
/QOpenSys/QIBM/ProdData/OS400/PASE/MRI2924/loc GU_IN.UTF-8__64 6,691,348
/QOpenSys/QIBM/ProdData/OS400/PASE/MRI2924/loc TA_IN.UTF-8__64 6,670,169
/QOpenSys/QIBM/ProdData/OS400/PASE/lib/nls/loc ID_ID.UTF-8__64 6,647,065
...
/QDLS
DIR OBJECT SIZE
/QDLS/TRANSFER CTYSTATE.WRK 61,170,843
/QDLS/MONTHEND/EMI ARSELPRT.PDF 5,146,291
/QDLS/TRANSFER PPRRVU10.CSV 2,365,799
/QDLS/TRANSFER PPRRVU09.CSV 2,291,868
/QDLS/MONTHEND/EMI PRANAL.PDF 1,065,234
/QDLS/MONTHEND/LEC PRANAL.PDF 962,749
/QDLS/QBKBOOKS/UNITABLE EPHU932 786,432
/QDLS/QBKBOOKS/UNITABLE EPHU939 786,432
/QDLS/QBKBOOKS/UNITABLE EPHU942 786,432
/QDLS/MONTHEND/ESP PRANAL.PDF 661,559
/QDLS/MONTHEND/PCR PRANAL.PDF 618,419
/QDLS/TRANSFER X12N271 574,163
/QDLS/MONTHEND/LEP PRANAL.PDF 408,437
/QDLS/TRANSFER XENVYFLO 331,250
/QDLS/MONTHEND/PCR PRANL3.PDF 278,643
...
MGTC/service

/QIBM/UserData/OS400/MGTC/service
This directory can get quite sizable. You may have turned
on tracing at one time to help IBM help you with a
problem. If you have data in there see:
http://www-01.ibm.com/support/docview.wss?uid=nas1d1
cbd364ea28199b862573d20062e9cb
Or search ibm.com for 862573D20062E9CB
GO CLEANUP
Type choices below, then press Enter.

Allow automatic cleanup . . . . . . . . . . . Y Y=Yes, N=No

Time cleanup starts each day . . . . . . . . 22:00:00 00:00:00-


23:59:59,
*SCDPWROFF,
*NONE

Number of days to keep:

User messages . . . . . . . . . . . . . . . 7 1-366, *KEEP


System and workstation messages . . . . . . 4 1-366, *KEEP
Critical system messages . . . . . . . . . *KEEP 1-366, *KEEP
Job logs and other system output . . . . . 7 1-366, *KEEP
System journals and system logs . . . . . . 30 1-366, *KEEP
GO CLEANUP help
PTF save files
-- List of objects by biggest object, descending
-- Does NOT include stream file (aka other IFS) stuff
-- Save files only
Select
diobsz as size,
diobli as library,
diobnm as object,
diobtp as type,
diobat as attribute
From qusrsys.qaezdisk
where diobli <> ' '
and diobat='SAVF'
Order by diobsz desc;
Summary
Always start with RTVDSKINF.
Query the data generated by RTVDIRINF for some detail
about stream files.
What you knew in the past may still be important, but,
start with the above first to get the biggest bang for your
buck.
Hip Shots

Keep your /QIBM/UserData/OS400/MGTC/service


directory clean.
Watch your journal receivers.
If a Domino shop consider:
R8 compression
DAOS
Archiving
clearing out your IBM_TECHNICAL_SUPPORT
directory
Hip Shots

Apply your ptf’s permanently.


Reference
http://www.statususer.org/pdf/20100413Freeing%20up%20disk
%20on%20your%20IBM%20i.ppt
rob@dekko.com

You might also like