You don't need a fancy audit; the system-maintained file,
QSYS/QADBFDEP, maintains a file of cross-library references.
A query over this file will take just a few minutes to run.
--Paul E Musselman
PaulMmn@xxxxxxxxxxxxxxxxxxxx
Query . . . . . . . . . . . . . . . . . PFLFXLIB
Library . . . . . . . . . . . . . . .your.lib.name.here
Query text . . . . . . . . . . . . . . Cross-Library File Dependencies
Query CCSID . . . . . . . . . . . . . . 65535
Query language id . . . . . . . . . . . ENU
Query country or region id . . . . . . US
*** . is the decimal separator character for this query ***
Collating sequence . . . . . . . . . . Hexadecimal
Processing options
Use rounding . . . . . . . . . . . . Yes (default)
Ignore decimal data errors . . . . . No (default)
Ignore substitution warnings . . . . Yes
Use collating for all compares . . . Yes
Selected files
ID File Library Member Record Format
T01 QADBFDEP QSYS *FIRST QDBFDEP
Result fields
Name Expression Column Heading Len Dec
DBFFIL10 substr(DBFFIL,1,10)
DBFFDP10 substr(DBFFDP,1,10)
DBFLB210 substr(DBFLB2,1,10)
Select record tests
AND/OR Field Test Value (Field, Numbers, or 'Characters')
DBFLIB NE DBFLDP
AND DBFLIB NE 'QSYS'
OR DBFLIB NE DBFLDP
AND DBFLDP NLIST 'QSYS2' 'QIWS'
Ordering of selected fields
Field Sort Ascending/ Break Field
Name Priority Descending Level Text
DBFLIB 10 A Dependency Library name
DBFFIL10
DBFLDP 30 A Library name of dependent file
DBFFDP10
DBFTDP Dependency: D-data,V-view,I-indirect
DBFRDP Format name of dependent file
DBFLB210
Report column formatting and summary functions
Summary functions: 1-Total, 2-Average, 3-Minimum, 4-Maximum, 5-Count Overrides
Field Summary Column Dec Null Dec Numeric
Name Functions Spacing Column Headings Len Pos Cap Len Pos Editing
DBFLIB 0 DEPENDENCY 10
LIBRARY
DBFFIL10 2 DBFFIL10 10
DBFLDP 2 DEPENDENT 10
FILE
LIB
DBFFDP10 2 DBFFDP10 10
DBFTDP 2 DEP 1
TYPE
DBFRDP 2 DEPENDENT 10
FORMAT
NAME
DBFLB210 2 DBFLB210 10
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.