Print JVM Job (PRTJVMJOB)
Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Print JVM Job (PRTJVMJOB) command allows the user to print Java Virtual Machines (JVMs) running in active jobs.
Restrictions:
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 |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
JOB | Job name | Qualified job name | Required, Positional 1 |
Qualifier 1: Job name | Name | ||
Qualifier 2: User | Name | ||
Qualifier 3: Number | 000000-999999 | ||
OPTION | Option | Single values: *ALL Other values (up to 9 repetitions): *CRTOPT, *ENVVAR, *PASEENVVAR, *LCK, *GC, *THREAD, *INLPROP, *CURPROP, *GCTABLE |
Optional |
Top |
Job name (JOB)
Specifies the name of the job where the JVM is running. All three of the qualifiers for the job parameter are required.
This is a required parameter.
Qualifier 1: Job
- name
- Specify the name of the job to be printed.
Qualifier 2: User
- name
- Specify the name that identifies the user profile under which the job was started.
Qualifier 3: Number
- 000000-999999
- Specify the job number assigned by the system.
Top |
Option (OPTION)
Specifies which information is being worked with.
Single values
- *ALL
- Print all of the JVM information.
Other values (up to 9 repetitions)
- *CRTOPT
- Print JVM creation options
- *ENVVAR
- Print environment variables
- *PASEENVVAR
- Print PASE environment variables
- *LCK
- Print Java lock information
- *GC
- Print garbage collection information
- *THREAD
- Print threads
- *INLPROP
- Print initial Java system properties.
- *CURPROP
- Print current Java system properties.
- *GCTABLE
- Print the GC table information
Top |
Examples
PRTJVMJOB JOB(032072/USERNAME/QP0ZSPWP) OPTION(*THREAD)
This command will print the Java thread information for the job 032072/USERNAME/QP0ZSPWP.
Top |
Error messages
*ESCAPE Messages
- CPE3440
- Operation not supported.
- CPF9871
- Error occurred while processing.
- JVAB321
- Java Virtual Machine job &3/&2/&1 not found or not active.
- JVAB322
- Not authorized to perform function on Java Virtual Machine.
- JVAB328
- Machine or ASP storage limit reached.
- JVAB333
- PRTJVMJOB failed.
Top |