ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/dspjvapgm.htm

138 lines
4.9 KiB
HTML

<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Display Java Program (DSPJVAPGM)</title>
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body bgcolor="white">
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<a name="DSPJVAPGM.Top_Of_Page"></a>
<h2>Display Java Program (DSPJVAPGM)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#DSPJVAPGM.PARAMETERS.TABLE">Parameters</a><br>
<a href="#DSPJVAPGM.COMMAND.EXAMPLES">Examples</a><br>
<a href="#DSPJVAPGM.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="DSPJVAPGM"></a>
<p>The Display Java Program (DSPJVAPGM) command displays information about the Java program associated with a Java class file.
</p>
<p>If no Java program is associated with the class file specified, escape message JVAB540 is sent.
</p>
<p><b>Restriction:</b> The class file must be in one of the following file systems: QOpenSys,"root", or a user-defined file system.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPJVAPGM.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="DSPJVAPGM.PARAMETERS.TABLE">Parameters</a></h3>
<table border="1" cellpadding="4" cellspacing="0">
<!-- col1="10" col2="15" col3="30" col4="10" -->
<tr>
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
</tr>
<tr>
<td valign="top"><a href="#DSPJVAPGM.CLSF"><b>CLSF</b></a></td>
<td valign="top">Class file or JAR file</td>
<td valign="top"><i>Path name</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#DSPJVAPGM.OUTPUT"><b>OUTPUT</b></a></td>
<td valign="top">Output</td>
<td valign="top"><b><u>*</u></b>, *PRINT</td>
<td valign="top">Optional, Positional 2</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#DSPJVAPGM.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="DSPJVAPGM.CLSF"></a>
<h3>Class file or JAR file (CLSF)</h3>
<p>Specifies the file name from which to display the associated Java program. The file name may be qualified by one or more directory names.
</p>
<dl>
<dt><b><i>class-file-name</i></b></dt>
<dd>Specify the name of the class file for identifying the class file to be used. If the name is qualified it must be enclosed in apostrophes. An example of a qualified class file name is '/directory1/directory2/myclassname.class'.
</dd>
<dt><b><i>JAR-file-name</i></b></dt>
<dd>Specify the name of the Java archive (JAR) file for identifying the JAR or ZIP file to be used. A file is assumed to be a JAR file if the file name ends with '.jar' or '.zip'. If the name is qualified it must be enclosed in apostrophes. An example of a qualified JAR file name is '/directory1/directory2/myappname.jar'.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPJVAPGM.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="DSPJVAPGM.OUTPUT"></a>
<h3>Output (OUTPUT)</h3>
<p>Specifies whether the output from the command is shown at the requesting work station or printed with the job's spooled output.
</p>
<dl>
<dt><b><u>*</u></b></dt>
<dd>Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.
</dd>
<dt><b>*PRINT</b></dt>
<dd>The output is printed with the job's spooled output.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPJVAPGM.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPJVAPGM.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
DSPJVAPGM CLSF('/projectA/myJavaclassname.class')
OUTPUT(*)
</pre>
</p>
<p>This command will display information for the Java program associated with the class file myJavaclassname. The Java program information will be output to the display.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPJVAPGM.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="DSPJVAPGM.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>JVAB521</b></dt>
<dd>File "&amp;1" not a Java class file.
</dd>
<dt><b>JVAB540</b></dt>
<dd>No Java program associated with the class file.
</dd>
<dt><b>JVAB541</b></dt>
<dd>Error detected in Java program or class file, &amp;2.
</dd>
<dt><b>CPFA0A9</b></dt>
<dd>Object not found. Object is &amp;1.
</dd>
<dt><b>CPFA09C</b></dt>
<dd>Not authorized to object. Object is &amp;1.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#DSPJVAPGM.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>