| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Generate JVM Dump (GENJVMDMP) command will generate Java Virtual Machine (JVM) dumps upon request.
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 |
| 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 | ||
| TYPE | Type | Values (up to 3 repetitions): *JAVA, *SYSTEM, *HEAP | Optional |
| Top |
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
Qualifier 2: User
Qualifier 3: Number
| Top |
Specifies the type of dump to generate.
You can specify 3 values for this parameter.
| Top |
Example 1: Generate Javadump
GENJVMDMP JOB(032072/USERNAME/QP0ZSPWP) TYPE(*JAVA)
This command will cause a Javadump for the Java Virtual Machine running the job 032072/USERNAME/QP0ZSPWP.
Example 2: Generate Three Java VM Dumps
GENJVMDMP JOB(032072/USERNAME/QP0ZSPWP) TYPE(*JAVA *SYSTEM *HEAP)
This command will generate a Java core dump, system dump, and heap dump for the Java virtual machine running the job 032072/USERNAME/QP0ZSPWP.
| Top |
*ESCAPE Messages
| Top |