Work with Active Jobs (WRKACTJOB) in AS400

Work with Active Jobs (WRKACTJOB) in AS400
Work with Active Jobs (WRKACTJOB) in AS400, WRKACTJOB, Work with active jobs, as400 jobs
Work with Active Jobs (WRKACTJOB) in AS400

WRKACTJOB

The Work with Active Jobs (WRKACTJOB) command allows us to work with performance and status information for the active jobs in the system.

                            Work with Active Jobs                     
                                                        12/18/21  21:5
CPU %:     0,0     Elapsed time:   00:00:00     Active jobs:   245    
                                                                      
Type options, press Enter.                                            
  2=Change   3=Hold   4=End   5=Work with   6=Release   7=Display mess
  8=Work with spooled files   13=Disconnect ...                       
                    Current                                           
Opt  Subsystem/Job  User        Type  CPU %  Function        Status   
 _   #SYSLOAD       QSYS        SBS     0,0                   DEQW    
 _     SYSLOAD      #SYSLOAD    ASJ     0,0  DLY-600          DLYW    
 _   QBATCH         QSYS        SBS     0,0                   DEQW    
 _     BACK400      QSECOFR     BCH     0,0  PGM-BACK400      TAPW    
 _     VENKAT1      AMMU1       BCH     0,0                   EVTW    
 _   QBATCH2        QSYS        SBS     0,0                   DEQW    
 _   QBATCH3        QSYS        SBS     0,0                   DEQW    
 _     TEST         RASI        BCH     0,0  PGM-DISPP7       MSGW    
 _   QCMN           QSYS        SBS     0,0                   DEQW    
                                                                      
Parameters or command                                                 
===>  _____________________________________________________________                                                                

The subset of Active Jobs

Press SHIFT+F8 to open the Subset of Active Jobs window and from there you can view a specific job by entering Job name

                             Work with Active Jobs                     P
 .......................................................................
 :                             Subset Active Jobs                       
 :                                                                      
 :  Type choices, press Enter.                                          
 :    Sequence  . . . . . . . .   *SBS         F4 for list              
 :    Job name  . . . . . . . .   *ALL         Name, *ALL, *SYS, *SBS   
 :    CPU percent limit . . . .   *NONE        .1-99.9, *NONE           
 :    Response time limit . . .   *NONE        .1-999.9, *NONE          
 :    Subsystems                                                        
 :      *ALL                                                            
 :                                                                      
 :                                                                      
 :                                                                      
 :                                                                      
 :                                                                      
 :                                                                      
 :  F4=Prompt   F12=Cancel   F14=Include all                            
 :                                                                      
 :......................................................................
 ===>                                                                   
 F3=Exit   F5=Refresh       F7=Find      F10=Restart statistics         
 

Refresh Active Jobs automatically

Press SHIFT+F7 to start/end automatic refresh on the Work with Active Job screen.

                             Work with Active Jobs                   
                                                         12/18/21  21
 CPU %:    30,7     Elapsed time:   00:03:41     Active jobs:   245  
                                                                     
 Type options, press Enter.                                          
   *=Change   *=Hold   *=End   *=Work with   *=Release   *=Display me
   *=Work with spooled files   **=Disconnect ...                     
                     Current                                         
 Opt  Subsystem/Job  User        Type  CPU %  Function        Status 
  _   #SYSLOAD       QSYS        SBS     0,0                   DEQW  
  _     SYSLOAD      #SYSLOAD    ASJ     0,0  DLY-600          DLYW  
  _   QBATCH         QSYS        SBS     0,0                   DEQW  
  _     BACK400      QSECOFR     BCH     0,1  PGM-BACK400      TAPW  
  _     VENKAT1      AMMU1       BCH     0,0                   EVTW  
  _   QBATCH2        QSYS        SBS     0,0                   DEQW  
  _   QBATCH3        QSYS        SBS     0,0                   DEQW  
  _     TEST         RASI        BCH     0,0  PGM-DISPP7       MSGW  
  _   QCMN           QSYS        SBS     0,0                   DEQW  
  _   QCTL           QSYS        SBS     0,0                   DEQW  
  _     QSECURITY    JOBMANAGER  BCH     0,5  DLY-30           DLYW  
                                                                     
 F3=Exit        F7=Find   F10=Restart statistics   F11=Display elapse
 F12=Previous   F19=End automatic refresh          F24=More keys     

Work With Jobs in a Subsystem

WRKACTJOB SBS(QINTER)

The above command allows us to work with all jobs in the QINTER subsystem.

                            Work with Active Jobs                    
                                                        12/18/21  22:
CPU %:     0,0     Elapsed time:   00:00:00     Active jobs:   251   
                                                                     
Type options, press Enter.                                           
  2=Change   3=Hold   4=End   5=Work with   6=Release   7=Display mes
  8=Work with spooled files   13=Disconnect ...                      
                    Current                                          
Opt  Subsystem/Job  User        Type  CPU %  Function        Status  
 _   QINTER         QSYS        SBS     0,0                   DEQW   
 _     DESKTOP#5R   SJDAWSON    INT     0,0  MNU-CMDTAP       DSPW   
 _     LAKHAL       LAKHAL      INT     0,0  CMD-STRSEU       DSPW   
 _     LAP#AMALDO   ABIMALOP    INT     0,0  PGM-QPGMMENU     DSPW   
 _     PCRAINER1    RAINER      INT     0,0  CMD-WRKQRY       DSPW   
 _     PCRAINER2    RAINER      INT     0,0  CMD-STRSEU       DSPW   
 _     QPAD031753   IEDI        INT     0,0  MNU-USER         DSPW   
 _    +QPAD173045   ROOTEAGLE   INT     0,0  CMD-STRSQL       DSPW   
 _     QPAD175950   ROTTLION    INT     0,0  MNU-MAIN         DSPW   
                                                                     
Parameters or command                                                
===> _____________________________________________________________                                                                
F3=Exit   F5=Refresh       F7=Find      F10=Restart statistics       

Related Post

Post a Comment

© AS400 and SQL Tricks. All rights reserved. Developed by Jago Desain