You are here:
DBG/400
>
DBG400 Web
>
BldLibInfo
(01 Oct 2014,
UnknownUser
)
(raw view)
E
dit
A
ttach
---+ BLDLIBINFO - Build library information database %TOC% ---++ Details Running a DSPLIB to !*PRINT is a handy way of getting the total size of a library but there isn't an !*OUTFILE option. Decoding the spool file is one option, but that can change between releases. A better way is via the system API QLIRLIBD. I've used this to build my own !*OUTFILE to get disk use stats over time. Just schedule program BLDLIBINFO to run in batch at the frequency you want (daily, weekly, etc) and work with the results in file LIBINFO. How it works: BLDLIBINFO dumps a list of all libraries on the system to a user space (via the List Objects API, QUSLOBJ) and calls a small RPGIV wrapper (RTVLIBINF) to the QLIRLIBD API for each library. The summary info (Library, type, ASP, number of objects, total size etc,) is written to LIBINFO, along with the extract date. It's fairly straightforward to get growth stats from this information. ---++ %ICON{download}% Download [[http://www.dbg400.net/download/extras/libinfo/libinfo.zip][%ICON{zip}% libinfo.zip]] This is packaged in SRCPARSER format. See [[InstallationInstructions][installation instructions]] for details. The make routine (to compile the file & three programs) is MAKELIBINF.
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r2 - 01 Oct 2014 - 19:37:00 -
UnknownUser
DBG400
Log In
DBG400 Web
Index
Search
Changes
Notifications
Statistics
Site Map
Downloads
Webs
DBG400
Jamaro
Main
Sandbox
Sandtub
System
Send a link to this page
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding DBG/400?
Send feedback