Operations for Spooled Files

This list describes the operations that you can perform against Spooled Files, and whether those operations are audited.

Note: Spooled file actions are audited if the action auditing (QAUDLVL) system value or the action auditing (AUDLVL) parameter in the user profile includes *SPLFDTA.
  • Operations that are audited
    Access
    Each access by any user that is not the owner of the spooled file, including:
    • CPYSPLF
    • DSPSPLF
    • SNDNETSPLF
    • SNDTCPSPLF
    • STRRMTWTR
    • QSPOPNSP API
    Change
    Changing any of the following spooled file attributes with CHGSPLFA:
    • COPIES
    • DEV
    • FORMTYPE
    • RESTART
    • PAGERANGE
    • OUTQ
    • DRAWER
    • PAGDFN
    • FORMDF
    • USRDFNOPT
    • USRDFNOBJ
    • USRDFNDTA
    • EXPDATE
    • SAVE
    Changing any other spooled file attributes with CHGSPLFA:
    Create
    Creating a spooled file using print operations
    Creating a spooled file using the QSPCRTSP API
    Delete
    Deleting a spooled file using any of the following operations:
    • Printing a spooled file by a printer or diskette writer
    • Clearing the output queue (CLROUTQ)
    • Deleting the spooled file using the DLTSPLF command or the delete option from a spooled files display
    • Deleting spooled files when a job ends (ENDJOB SPLFILE(*YES))
    • Deleting spooled files when a print job ends (ENDPJ SPLFILE(*YES))
    • Sending a spooled file to a remote system by a remote writer
    • Deleting of spooled files that have expired using the DLTEXPSPLF command
    • Deleting of spooled files through the operational assist cleanup function
    Hold
    Holding a spooled file by any of the following operations:
    • Using the HLDSPLF command
    • Using the hold option from a spooled files display
    • Printing a spooled file that specifies SAVE(*YES)
    • Sending a spooled file to a remote system by a remote writer when the spooled file specifies SAVE(*YES)
    • Having a writer hold a spooled file after an error occurs when processing the spooled file
    Read
    Reading a spooled file by a printer or diskette writer
    Release
    Releasing a spooled file
    Restore
    Restoring a spooled file
    Save
    Saving a spooled file