This only works if the spoolfile is still on the system.

Need to get totals for printed spoolfiles, both still on the system and those that were Save = *NO (no longer in the outq).

Paul



-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Steinmetz, Paul
Sent: Tuesday, June 05, 2018 11:36 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Need a print summary by user, number of pages printed, etc, foreach outq

V7R3, latest CUM and groups.

SQL worked, awesome.

I will need to tweak.
I actually need only those spoolfiles/pages that were printed.
Status equal *SAV.

Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Kevin Bucknum
Sent: Tuesday, June 05, 2018 11:27 AM
To: Midrange Systems Technical Discussion
Subject: RE: Need a print summary by user, number of pages printed, etc, foreach outq

select user_name, outq, sum(pages) from output_queue_entries
group by user_name, outq





Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf
Of Steinmetz, Paul
Sent: Tuesday, June 5, 2018 10:20 AM
To: 'Midrange Systems Technical Discussion'
Subject: Need a print summary by user, number of pages printed, etc,
foreach outq

I need a print summary by user, number of pages printed, etc, for each
outq.
Any thoughts from the group?

Thank You
_____
Paul Steinmetz
IBM i Systems Administrator

Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071

610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home

psteinmetz@xxxxxxxxxx
http://www.pencor.com/

--
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,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.