SMF Printer Device Activity

The BATSPL file contains information about print activity at the I/S facility. The Device Name (DEVNAME) data element contains the installation-defined logical device name for JES output writers. For local printers, this data element will contain PRINTERx or PRTxx where xx is an installation-defined printer number.
rm
For remote printers, the DEVNAME data element will contain Rnn.PRxx (.PUxx) where Rnn is the remote terminal number and PRxx (PUxx) is the printer/punch number at the remote. When PSF processes the output and the device is a 3820, DEVNAME will contain the VTAM logical unit name.
A simple SAS PROC FREQ on the DETAIL time-span of the BATSPL file will show how the various printing devices at the I/S facility are utilized:
                 DATA TEMP ;                  SET &BATX..BATSPL01 ;                  PRTLINES=SUM(SPLNLR+SPLPNLR) ;                  PROC FREQ DATA=TEMP ;                  TABLES SUBSYSID*DEVNAME ;                  WEIGHT PRTLINES ;                  TITLE1 "PRINTER UTILIZATION AT MY CORP";                  RUN;
by producing a report something like this:
                       PRINTER UTILIZATION AT MY CORP                         TABLE OF DEVNAME BY SUBSYSID                FREQUENCY|                 PERCENT |                 ROW PCT |                 COL PCT |JES2    |PSF     |XWRT    |  TOTAL                ---------+--------+--------+--------+                PRT1     |      0 |      0 |  24121 |  24121                         |   0.00 |   0.00 |   4.96 |   4.96                         |   0.00 |   0.00 | 100.00 |                         |   0.00 |   0.00 | 100.00 |                ---------+--------+--------+--------+                PRT3     |      0 | 230198 |      0 | 230198                         |   0.00 |  47.33 |   0.00 |  47.33                         |   0.00 | 100.00 |   0.00 |                         |   0.00 | 100.00 |   0.00 |                ---------+--------+--------+--------+                R22.PR1  |  23739 |      0 |      0 |  23739                         |   4.88 |   0.00 |   0.00 |   4.88                         | 100.00 |   0.00 |   0.00 |                         |  10.23 |   0.00 |   0.00 |                ---------+--------+--------+--------+                R38.PR1  | 208333 |      0 |      0 | 208333                         |  42.83 |   0.00 |   0.00 |  42.83                         | 100.00 |   0.00 |   0.00 |                         |  89.77 |   0.00 |   0.00 |                ---------+--------+--------+--------+                TOTAL      232072   230198    24121   486391                            47.71    47.33     4.96   100.00