Spooled file commands

This table lists the specific authorities required for the spooled file commands.

Commands identified by (Q) are shipped with public authority *EXCLUDE. Commands shipped with public authority *EXCLUDE shows which IBM-supplied user profiles are authorized to the command. The security officer can grant *USE authority to others.

Command Referenced object Output queue parameters Special authority Authority needed
DSPDTA AUTCHK OPRCTL For object For library
CHGSPLFA 1,2 Output queue 3   *DTAAUT     *READ, *DLT, *ADD  
  *OWNER     Owner 4  
    *YES *JOBCTL    
CHGSPLFA 1, if moving spooled file Original output queue 3   *DTAAUT     *READ, *ADD, *DLT  
  *OWNER     Owner 4  
    *YES *JOBCTL    
Spooled file *OWNER       Owner 6  
Target output queue7         *READ *EXECUTE
    *YES *JOBCTL   *EXECUTE
Target device         *USE  
CPYSPLF 1 Database file         Refer to the general rules for Display (DSP) or other operation using output file (OUTPUT (*OUTFILE)) Refer to the general rules for Display (DSP) or other operation using output file (OUTPUT (*OUTFILE))
Spooled file *OWNER       Owner 6  
Output queue 3 *YES       *READ  
*NO *DTAAUT     *READ, *ADD, *DLT  
*NO *OWNER     Owner 4  
*YES or *NO   *YES *JOBCTL    
DLTEXPSPLF (Q) 10

Independent disk pool9

        *USE  
DLTSPLF 1 Output queue 3   *DTAAUT     *READ, *ADD, *DLT  
  *OWNER     Owner 4  
    *YES *JOBCTL    
DSPSPLF 1 Output queue 3 *YES       *READ  
*NO *DTAAUT     *READ, *ADD, *DLT  
*NO *OWNER     Owner 4  
*YES or *NO   *YES *JOBCTL    
Spooled file *OWNER       Owner 6  
HLDSPLF 1 Output queue 3   *DTAAUT     *READ, *ADD, *DLT  
  *OWNER     Owner 4  
    *YES *JOBCTL    
RCLSPLSTG (Q) 10

Independent disk pool9

        *USE  
RLSSPLF 1, 8 Output queue 3   *DTAAUT     *READ, *ADD, *DLT  
  *OWNER     Owner 4  
    *YES *JOBCTL    
SNDNETSPLF 1,5 Output queue 3 *YES       *READ  
*NO *DTAAUT     *READ, *ADD, *DLT  
*NO *OWNER     Owner 4  
*YES or *NO   *YES *JOBCTL    
Spooled file *OWNER       Owner 6  
SNDTCPSPLF 1,5 Output queue 3 *YES       *READ  
*NO *DTAAUT     *READ, *ADD, *DLT  
*NO *OWNER     Owner 4  
*YES or *NO   *YES *JOBCTL    
Spooled file *OWNER       Owner 6  

STRSPLRCL (Q)9, 10

Independent disk pool9

        *USE  
WRKSPLF              
1
Users are always authorized to control their own spooled files.
2
To move a spooled file to the front of an output queue (PRTSEQ(*NEXT)) or change its priority to a value greater than the limit specified in your user profile, you must have one of the authorities shown for the output queue or have *SPLCTL special authority.
3
If you have *SPLCTL special authority, you do not need any authority to the output queue.
4
You must be the owner of the output queue.
5
You must have *USE authority to the recipient’s output queue and output queue library when sending a file to a user on the same system.
6
You must be the owner of the spooled file.
7
If you have *SPLCTL special authority, you do not need authority to the target output queue but you must have *EXECUTE authority to its library.
8
When the spooled file has been held with HLDJOB SPLFILE(*YES) and the spooled file was also decoupled from the job, the user will need to have *USE authority to the RLSJOB command and either have *JOBCTL special authority or be the owner of the spooled file.
9
You must have *USE authority to all independent disk pools in an independent disk pool group.
10
You must have *SPLCTL special authority to run this command.