Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Analyze Java Program (ANZJVAPGM) command analyzes a Java program, lists its classes and shows the current status of each class.
Restrictions: The file must be in one of the following file systems: QOpenSys,"root", or a user-defined file system.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
CLSF | Class file or JAR file | Path name | Required, Positional 1 |
CLASSPATH | Classpath | Path name, *PGM, *ENVVAR | Optional |
JDKVER | Java developer kit version | Character value, *PGM, *CURRENT | Optional |
DETAIL | Detail | *NONCURRENT, *FULL | Optional |
OUTPUT | Output | Optional |
Top |
Specifies the class file , JAR file, or ZIP file name which has a Java program to analyze. The file name may be qualified by one or more directory names.
Top |
Specifies the path used to locate classes referenced by the Java program being analyzed. Directories are separated by colons.
Top |
Specifies the Java Development Kit (JDK) version to use when analyzing the Java program.
Top |
Specifies the amount of detail to show.
Top |
Specifies whether the output from the command is shown at the requesting work station or printed with the job's spooled output.
Top |
ANZJVAPGM CLSF('/projectA/myJavaclassname.class') DETAIL(*FULL) OUTPUT(*)
This command will analyze the Java program associated with the class file myJavaclassname. The status for all classes included in the Java program will be listed. The Java program information will be output to the display.
Top |
*ESCAPE Messages
Top |