252 lines
8.6 KiB
HTML
252 lines
8.6 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 Service Program (DSPSRVPGM)</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="DSPSRVPGM.Top_Of_Page"></a>
|
||
|
<h2>Display Service Program (DSPSRVPGM)</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="#DSPSRVPGM.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#DSPSRVPGM.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#DSPSRVPGM.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="DSPSRVPGM"></a>
|
||
|
<p>The Display Service Program (DSPSRVPGM) command displays information about a service program, including the creation and processing attributes of the service program, information about the compiler, and the size of the service program.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ul>
|
||
|
<li>You must have execute (*EXECUTE) authority to the service program being displayed, or use (*USE) authority when DETAIL(*MODULE) is specified.
|
||
|
</li>
|
||
|
<li>You must have read (*READ) authority to the library in which the service program exists.
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPSRVPGM.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="DSPSRVPGM.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" rowspan="3"><a href="#DSPSRVPGM.SRVPGM"><b>SRVPGM</b></a></td>
|
||
|
<td valign="top">Service program</td>
|
||
|
<td valign="top"><i>Qualified object name</i></td>
|
||
|
<td valign="top" rowspan="3">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Qualifier 1: Service program</td>
|
||
|
<td valign="top"><i>Name</i></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 2: Library</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
|
||
|
</tr><tr>
|
||
|
<td valign="top"><a href="#DSPSRVPGM.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>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#DSPSRVPGM.DETAIL"><b>DETAIL</b></a></td>
|
||
|
<td valign="top">Detail</td>
|
||
|
<td valign="top">Single values: <b><u>*ALL</u></b><br>Other values (up to 10 repetitions): *BASIC, *SIZE, *MODULE, *SRVPGM, *PROCEXP, *DTAEXP, *ACTGRPEXP, *ACTGRPIMP, *SIGNATURE, *COPYRIGHT</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPSRVPGM.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="DSPSRVPGM.SRVPGM"></a>
|
||
|
<h3>Service program (SRVPGM)</h3>
|
||
|
<p>Specifies the service program for which information is displayed or printed.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<p><b>Qualifier 1: Service program</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the service program.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Qualifier 2: Library</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*LIBL</u></b></dt>
|
||
|
<dd>All libraries in the library list for the current thread are searched until the first match is found.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<dl>
|
||
|
<dt><b>*CURLIB</b></dt>
|
||
|
<dd>The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the library to be searched.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPSRVPGM.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DSPSRVPGM.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>
|
||
|
<p>This is a required parameter.
|
||
|
</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="#DSPSRVPGM.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="DSPSRVPGM.DETAIL"></a>
|
||
|
<h3>Detail (DETAIL)</h3>
|
||
|
<p>Specifies the type of information displayed for the service program.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<p><b>Single values</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*ALL</u></b></dt>
|
||
|
<dd>All of the DETAIL information types (*BASIC, *SIZE, *MODULE, *SRVPGM, *PROCEXP, *DTAEXP, *ACTGRPEXP, *ACTGRPIMP, *SIGNATURE, and *COPYRIGHT) are shown on the display. If you chose to have the information displayed on a screen, you would be able to scroll through the information for each type of information, but would have to press Enter (or PF12) to go from one information section to the next.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p><b>Other values (up to 8 repetitions)</b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*BASIC</b></dt>
|
||
|
<dd>General service program information is shown.
|
||
|
</dd>
|
||
|
<dt><b>*SIZE</b></dt>
|
||
|
<dd>The size and size limits for this service program are shown.
|
||
|
</dd>
|
||
|
<dt><b>*MODULE</b></dt>
|
||
|
<dd>A list of the module objects bound by this service program is shown. The library shown for each module is the library that the module was in when the service program was first created. If the module has been replaced by a module from a different library, this library name remains the name of the library that the module was in when the service program was created.
|
||
|
</dd>
|
||
|
<dt><b>*SRVPGM</b></dt>
|
||
|
<dd>A list of the service program objects bound by this service program is shown.
|
||
|
</dd>
|
||
|
<dt><b>*PROCEXP</b></dt>
|
||
|
<dd>A list of the procedures exported from a service program and specified in the binding language is shown. The exports are only for the current signature.
|
||
|
</dd>
|
||
|
<dt><b>*DTAEXP</b></dt>
|
||
|
<dd>A list of the data items exported from a service program and specified in the binding language is shown. The exports are only for the current signature.
|
||
|
</dd>
|
||
|
<dt><b>*ACTGRPEXP</b></dt>
|
||
|
<dd>A list is shown of the data items exported to the activation group specified in the data export entry in the binding specifications.
|
||
|
</dd>
|
||
|
<dt><b>*ACTGRPIMP</b></dt>
|
||
|
<dd>A list is shown of the imports that are resolved by weak exports that had been exported to the activation group directory.
|
||
|
</dd>
|
||
|
<dt><b>*SIGNATURE</b></dt>
|
||
|
<dd>A list of the signatures for this service program is shown. The first signature in the list is the current signature.
|
||
|
</dd>
|
||
|
<dt><b>*COPYRIGHT</b></dt>
|
||
|
<dd>A list of the copyrights for this service program is shown.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPSRVPGM.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DSPSRVPGM.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p>
|
||
|
<pre>
|
||
|
DSPSRVPGM SRVPGM(COACH)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command displays a service program object named COACH.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPSRVPGM.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="DSPSRVPGM.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF2150</b></dt>
|
||
|
<dd>Object information function failed.
|
||
|
</dd>
|
||
|
<dt><b>CPF2151</b></dt>
|
||
|
<dd>Operation failed for &2 in &1 type *&3.
|
||
|
</dd>
|
||
|
<dt><b>CPF8122</b></dt>
|
||
|
<dd>&8 damage on library &4.
|
||
|
</dd>
|
||
|
<dt><b>CPF8123</b></dt>
|
||
|
<dd>Damage on object information for library &4.
|
||
|
</dd>
|
||
|
<dt><b>CPF813D</b></dt>
|
||
|
<dd>Service program &4 in &9 damaged.
|
||
|
</dd>
|
||
|
<dt><b>CPF9801</b></dt>
|
||
|
<dd>Object &2 in library &3 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF9802</b></dt>
|
||
|
<dd>Not authorized to object &2 in &3.
|
||
|
</dd>
|
||
|
<dt><b>CPF9803</b></dt>
|
||
|
<dd>Cannot allocate object &2 in library &3.
|
||
|
</dd>
|
||
|
<dt><b>CPF9806</b></dt>
|
||
|
<dd>Cannot perform function for object &2 in library &3.
|
||
|
</dd>
|
||
|
<dt><b>CPF9807</b></dt>
|
||
|
<dd>One or more libraries in library list deleted.
|
||
|
</dd>
|
||
|
<dt><b>CPF9808</b></dt>
|
||
|
<dd>Cannot allocate one or more libraries on library list.
|
||
|
</dd>
|
||
|
<dt><b>CPF9810</b></dt>
|
||
|
<dd>Library &1 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF9820</b></dt>
|
||
|
<dd>Not authorized to use library &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF9830</b></dt>
|
||
|
<dd>Cannot assign library &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF9871</b></dt>
|
||
|
<dd>Error occurred while processing.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#DSPSRVPGM.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|