|
Egads! Someone hardcoded a value that was shown on DSPSYSSTS. If you disk doesn't change a lot that's doable. Here, that's a recipe for disaster. Do NOT sum up the sizes of DSPOBJD for disk. Ignores IFS, free space, and various system stuff. Using APIs to extract and store into a work file and joining to that is an option. See also "passing parameters to Query". Also take note of these fields in the output file created by DSPOBJD. Field Text Len Dec ODOBSZ Object size: 9,999,999,999=Use ODSIZU*ODBPUN 10 0 ODSIZU Object size in units 10 0 ODBPUN Bytes per unit 10 0 We have objects that overflow ODOBSZ and we have to use this calculation. Perhaps that is why they had a field called ODOBSZ01. Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.