Our printing is decentralized. I'm trying to figure out what reports
our overnight batch jobs create and which ones actually print, with an
eye to eliminating unnecessary paper usage.
Most of the time, if I have the USRDTA value I can tie it back to a program.
If I attach a Data Q to the OUTQ I can get a type 01 record when a spool
file in ready status hits the OUTQ. From that I'm happy to assume it
printed (it's close enough for what I'm doing.) But type 01 records
don't contain the USRDTA.
If I set an environment variable at the system level it looks like I can
get type 03 records (V6R1) which do contain the USRDTA, but this is for
everything that hits *every* OUTQ and *every* status.
So it looks like I need to merge the results from type 01 records with
type 03 to get what I want.
Has anyone done anything like this? Any better suggestions?
If I could, I'd like to get the number of pages, but I don't anything
about that in the data queue entries.
This mailing list archive is Copyright 1997-2019 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