JES2 SPOOLFULL CMDS Policy Item

If you select policy item SPOOLFULL CMDS you can specify recovery commands for JES spool full to be issued on each attempt at recovery. Figure 1 shows the SPOOLFULL Processing panel where you can enter commands to be issued during SPOOLFULL processing.
Figure 1. SPOOLFULL Processing Panel for JES2
   COMMANDS  HELP                                                               
 ------------------------------------------------------------------------------ 
 AOFGDYNC    Command Processing : SPOOLFULL            Line 00000001 Col 001 075 
 Command ===>                                                  Scroll ===> CSR 

 Mixed case . . . NO   (YES NO)
                                                                                
 Cmd Ps AutoFn/* Command Text                                                   
     1           MVS $D JOBQ,SPOOL=10                                           
     1           MVS $O JOBQ,ALL,CANCEL,DA>2                                    
                                                                                
                                                                                
 

Commands are issued by passes, so a command to be issued on every pass should be specified without pass specification. Two substitution variables (EHKVAR1 and EHKVAR2) are available. EHKVAR1 contains the current spool utilization, and EHKVAR2 contains the recovery target.