Why not just archive and remove them as they are used? I realize that,
since it's a package, it's probably not possible to modify the package per
se, but many vendors provide hooks for user apps.
Alternatively, could you change the file to *NoMax and clean it up as part
of a nightly save or some such maintenance cycle?
Jerry C. Adams
IBM i Programmer/Analyst
To hell with the public! I'm here to represent the people! - unnamed New
Jersey state senator
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Tom Hightower
Sent: Monday, April 02, 2012 11:05 AM
To: Midrange Systems Technical Discussion
Subject: How many members in a file?
Is there a field in the INFDS to tell me how many members are in a file? If
not, is there something else I can do to quickly return the count?
The reason I'm asking is that we have an EDI file that fills up to max
members every so often (3rd party package), and things go south real quick
when that happens. I'd like to write a monitor that will report when the
file is nearing capacity, giving us a chance to archive and cleanup before
we run into issues.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l