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

148 lines
4.7 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>Start S/36 Procedure (STRS36PRC)</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="STRS36PRC.Top_Of_Page"></a>
<h2>Start S/36 Procedure (STRS36PRC)</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="#STRS36PRC.PARAMETERS.TABLE">Parameters</a><br>
<a href="#STRS36PRC.COMMAND.EXAMPLES">Examples</a><br>
<a href="#STRS36PRC.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="STRS36PRC"></a>
<p>The Start System/36 Procedure (STRS36PRC) command starts a System/36 procedure. It is valid whether or not the System/36 Environment is active, but it is not valid if a System/36 procedure is already running. It cannot be placed in a procedure or in a program that is called by a procedure.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRS36PRC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="STRS36PRC.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="#STRS36PRC.PRC"><b>PRC</b></a></td>
<td valign="top">Procedure</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#STRS36PRC.CURLIB"><b>CURLIB</b></a></td>
<td valign="top">Current library</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b></td>
<td valign="top">Optional, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#STRS36PRC.PARM"><b>PARM</b></a></td>
<td valign="top">Procedure parameters</td>
<td valign="top"><i>Character value</i></td>
<td valign="top">Optional, Positional 3</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#STRS36PRC.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="STRS36PRC.PRC"></a>
<h3>Procedure (PRC)</h3>
<p>Specifies the name of the System/36 procedure to run. The procedure is a member of source physical file QS36PRC. The library search order for locating QS36PRC is:
</p>
<ol>
<li>current library (*CURLIB)
</li>
<li>#LIBRARY
</li>
<li>job library list (*LIBL)
</li>
</ol>
<p>This is a required parameter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRS36PRC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRS36PRC.CURLIB"></a>
<h3>Current library (CURLIB)</h3>
<p>Specifies the current library to use to run the System/36 procedure.
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The current library does not change. If the current library is *CRTDFT and *SAME is specified, the current library is set to #LIBRARY.
</dd>
<dt><b><i>library-name</i></b></dt>
<dd>Specify the name of the library you want to use for the current library while running the System/36 procedure.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRS36PRC.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRS36PRC.PARM"></a>
<h3>Procedure parameters (PARM)</h3>
<p>Specifies procedure parameters for the procedure. Procedure parameters allow information to be passed to the procedure. If no parameters are specified, no parameters are passed to the procedure.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRS36PRC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STRS36PRC.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Changing the Current Library</b>
</p>
<p>
<pre>
STRS36PRC PRC(PROC1) CURLIB(MYLIB)
</pre>
</p>
<p>This command changes the current library to MYLIB and runs procedure PROC1.
</p>
<p><b>Example 2: Listing Files Used by the System</b>
</p>
<p>
<pre>
STRS36PRC PRC(CATALOG) PARM('ALL,F1')
</pre>
</p>
<p>This command lists all files used by the System/36 environment.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRS36PRC.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STRS36PRC.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>SSP0010</b></dt>
<dd>System/36 job ended abnormally.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRS36PRC.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>