z/OS Infoprint Server Operation and Administration
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Comparing SMF type 6 records written by IP PrintWay basic mode and extended mode

z/OS Infoprint Server Operation and Administration
SA38-0693-00

Comparing SMF type 6 records written by IP PrintWay basic mode and extended mode

IP PrintWay™ basic mode and IP PrintWay extended mode write SMF type 6 records in different formats. Some fields are written only by IP PrintWay basic mode, and some fields are written only by IP PrintWay extended mode.

Tip: If you run both basic mode and extended mode (on different z/OS® systems), you can use the same SMF accounting program to process both SMF type 6 record formats. To determine whether the SMF record was written by IP PrintWay basic mode or extended mode, your SMF accounting routine can check the SMF6INDC field in the SMF type 6 record:

  • IP PrintWay basic mode: SMF6INDC = X'01'
  • IP PrintWay extended mode: SMF6INDC = X'07'

IP PrintWay basic mode fields: These fields in the SMF type 6 record contain information only if IP PrintWay basic mode writes the record. If IP PrintWay extended mode writes the record, these fields contain binary zeroes.

  • SMF6IP1, SMF6IP2, SMF6IP3, SMF6IP4: The dotted-decimal IP address of the printer if IP PrintWay basic mode used the LPR or direct sockets protocol to transmit the data set to the printer.

    Tip: IP PrintWay extended mode writes the printer's IP address in field SMF6URI instead.

  • SMF6OUT: This field contains the name of the IP PrintWay basic mode FSA. If you run IP PrintWay extended mode, which does not have an FSA, this field contains zeroes.

IP PrintWay extended mode fields: These fields in the SMF type 6 record contain information only if IP PrintWay extended mode writes the record. If IP PrintWay basic mode writes the SMF record, these fields (except for the SMF6FTL field) are not present.

  • SMF6ACTL: The length of the accounting information in the SMF6ACCT field.
  • SMF6ACCT: Accounting information from the JOB JCL statement.
  • SMF6BYTD: The total number of bytes transmitted to the printer.

    Tips:

    • IP PrintWay extended mode also writes the number of bytes in field SMF6BYTE. However, field SMF6BYTE contains a maximum value of 2 gigabytes. Therefore, if your installation prints documents that contain more than 2 gigabytes, your SMF accounting program should use field SMF6BYTD instead of field SMF6BYTE.
    • For some printers, IP PrintWay extended mode also writes the number of pages that printed in field SMF6PGE.
  • SMF6FTL: The level of the SMF record:
    Value
    Meaning
    0
    IP PrintWay basic mode wrote the record.
    1
    IP PrintWay extended mode wrote the record. Fields SMF6ACTL and SMF6ACCT are not present.
    2
    IP PrintWay extended mode wrote the record. Fields SMF6ACTL and SMF6ACCT are present.
  • SMF6PGE: The total number of pages that actually printed, including the pages in all copies of the document. When the printer prints on both sides of a sheet of paper (duplex printing), each side is counted as one page.

    Tips:

    • If no pages printed, or if no page count is available, this field contains X'00'.
    • To obtain a page count, you must select the Record pages printed for accounting field in the printer definition. For more information, see Tracking the number of printed pages (extended mode).
    • If you do not want the page count to include any duplicate pages that printed during retries, select the Restart printing after last successful page field in the printer definition. For more information, see Tracking the number of printed pages (extended mode).
    • If a document completes with an error, the page count includes only the pages (if any) that printed before the error occurred. Field SMF6DCI indicates that the document completed with an error.
  • SMF6URIL: The length of the SMF6URI field.
  • SMF6URI: The type of protocol that IP PrintWay extended mode used to transmit the data set to the printer or email destination, and the address of the printer. The contents of this field vary depending on the protocol.

    Tip:The value in this field is case sensitive. The protocol type is always in lower case.

    Table 45. Contents of field SMF6URI in SMF type 6 record
    When IP PrintWay uses this protocol:Field SMF6URI contains:
    LPRlpr://hostname/queue

    Example: lpr://myprinter.xyz.com/RAW

    Tip: The queue name is also written in field SMF6PRTQ.

    Direct socketsdirect_sockets://hostname:port

    Example: direct_sockets://myprinter.xyz.com:9100

    IPPThe printer's URI in either http or ipp format

    Examples:

    http://myprinter.xyz.com:631
    ipp://myprinter.xyz.com
    Emailmailto:

    Example: mailto:

    Tip: The email address is not written in this field.

    VTAM®vtam://luname

    Example: vtam://P002

Related information: For information about the SMF type 6 record for IP PrintWay, see z/OS MVS System Management Facilities (SMF).

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014