Determine the iSeries job to debug

To determine the job in which your application server is running on the iSeries server, perform the following steps from an iSeries command line:

  1. Display the jobs that are running in the QEJBAS5 subsystem. Enter the Work with Active Jobs (WRKACTJOB) command:
    WRKACTJOB SBS(QEJBAS5)
  2. Locate the application server job. The name of the application server job is the first ten characters of the value specified for the application server name. For the default WAS instance, the server name is server1.
  3. Specify option 5 (Work with Job) on the option line next to the application server job and press Enter.

    The the job name, user, and number is displayed at the top of the Work with Job display. Note these values, which are highlighted in the example display below:

    
                                Work with Job
    
                                                            System:   MYISERIES
    
    Job:   SERVER1     User:   QEJBSVR           Number:   004436
    
    Select one of the following:
    
     1. Display job status attributes
    
     2. Display job definition attributes
    
     3. Display job run attributes, if active
    
     4. Work with spooled files
    
    
    10. Display job log, if active or on job queue
    
    11. Display call stack, if active
    
    12. Work with locks, if active
    
    13. Display library list, if active
    
    14. Display open files, if active
    
    15. Display file overrides, if active
    
    16. Display commitment control status, if active
    
                                                                       More...
    
    Selection or command
    
    ===>
    
    
    F3=Exit   F4=Prompt   F9=Retrieve   F12=Cancel