| Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with JVM Jobs (WRKJVMJOB) command allows the user to monitor Java Virtual Machines (JVMs) running in active jobs. If the values specified for the Job name (JOB) parameter identify a single job, a menu is displayed showing the options available for the specific JVM job. Otherwise a list of jobs with active JVMs is displayed.
Once a specific job is identified, the following information or functionality is available for the IBM Technology for Java Virtual Machine job:
Restrictions:
Any user can generate a list of the jobs with active JVMs. However, in order to work with a single JVM job the issuer of the command must be running under a user profile which is the same as the job user identity of the job being worked with, or the issuer of the command must be running under a user profile which has job control (*JOBCTL) special authority.
The job user identity is the name of the user profile by which a job is known to other jobs. More information about the job user identity is in the Work management topic collection in the IBM i Information Center at http://www.ibm.com/systems/i/infocenter.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| JOB | Job name | Qualified job name | Optional, Positional 1 |
| Qualifier 1: Job name | Generic name, name, *ALL | ||
| Qualifier 2: User | Generic name, name, *ALL | ||
| Qualifier 3: Number | 000000-999999, *ALL | ||
| OPTION | Option | *SELECT, *CRTOPT, *ENVVAR, *PASEENVVAR, *LCK, *GC, *THREAD, *INLPROP, *CURPROP, *HEAPDMP | Optional |
| Top |
Specifies the name of the job where the JVM is running. If no job number and user name is given, all of the jobs currently in the system are searched for the simple job name. The job name entered must be a job in which an IBM Technology for Java VM is currently running. If multiple jobs are found, the *OPTION parameter is ignored and the list of jobs is displayed.
Qualifier 1: Job
Qualifier 2: User
Qualifier 3: Number
| Top |
Specifies which information is being worked with. If multiple jobs are found, the *OPTION parameter is ignored and the list of jobs is displayed.
| Top |
Example 1: Showing All Jobs With Active JVMs
WRKJVMJOB
This command displays a panel listing all of the jobs running on the system which have an active IBM Technology for Java VM.
Example 2: Showing Actions For Specific Job
WRKJVMJOB JOB(032072/NISTLER/QP0ZSPWP)
This command will display a panel listing actions that may be taken on the job named 032072/NISTLER/QP0ZSPWP.
| Top |
*ESCAPE Messages
| Top |