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

191 lines
6.2 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 Session (STRS36)</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="STRS36.Top_Of_Page"></a>
<h2>Start S/36 Session (STRS36)</h2>
<table width="100%">
<tr>
<td valign="top" align="left"><b>Where allowed to run: </b>Interactive environments (*INTERACT *IPGM *IREXX *EXEC)<br>
<b>Threadsafe: </b>No
</td>
<td valign="top" align="right">
<a href="#STRS36.PARAMETERS.TABLE">Parameters</a><br>
<a href="#STRS36.COMMAND.EXAMPLES">Examples</a><br>
<a href="#STRS36.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="STRS36"></a>
<p>The Start System/36 (STRS36) command starts a System/36 environment session (if one is not active already). Even if the System/36 environment is active, this command allows the user to show a menu or run a program or procedure before showing a menu.
</p>
<p>When the command ends, the System/36 environment returns to the active or inactive state from which this command is issued.
</p>
<p><b>Restrictions:</b> This command cannot be used if a System/36 procedure is already in process. This command cannot be placed in a procedure or in a program that is started by a procedure.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRS36.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="STRS36.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="#STRS36.MENU"><b>MENU</b></a></td>
<td valign="top">Menu</td>
<td valign="top"><i>Name</i>, <b><u>*SAME</u></b></td>
<td valign="top">Optional, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#STRS36.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="#STRS36.PRC"><b>PRC</b></a></td>
<td valign="top">Procedure or program</td>
<td valign="top"><i>Name</i>, <b><u>*NONE</u></b></td>
<td valign="top">Optional, Positional 3</td>
</tr>
<tr>
<td valign="top"><a href="#STRS36.FRCMNU"><b>FRCMNU</b></a></td>
<td valign="top">Force menu</td>
<td valign="top"><b><u>*NO</u></b>, *YES</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#STRS36.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="STRS36.MENU"></a>
<h3>Menu (MENU)</h3>
<p>Specifies the first menu that is shown when the System/36 environment is started.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*SAME</u></b></dt>
<dd>The menu specified in the job does not change. If no menu is specified in the job, the initial menu specified in the user profile is shown.
</dd>
<dt><b><i>menu-name</i></b></dt>
<dd>Specify the name of the first menu shown when the System/36 environment is started.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRS36.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRS36.CURLIB"></a>
<h3>Current library (CURLIB)</h3>
<p>Specifies the current library to use in the System/36 environment.
</p>
<p>The possible values are:
</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 as the current library in the System/36 environment.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRS36.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRS36.PRC"></a>
<h3>Procedure or program (PRC)</h3>
<p>Specifies the name of the procedure or program to run before the menu is shown.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*NONE</u></b></dt>
<dd>No procedure or program runs.
</dd>
<dt><b><i>procedure-name</i></b></dt>
<dd>Specify the name of the procedure or program to run.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRS36.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="STRS36.FRCMNU"></a>
<h3>Force menu (FRCMNU)</h3>
<p>Specifies whether a menu is shown and what this command does in an active System/36 environment.
</p>
<p>The possible values are:
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>The specified menu is not shown if the System/36 environment is active when this command is issued. This command does nothing, and the user is returned to the point at which the command was issued.
</dd>
<dt><b>*YES</b></dt>
<dd>The specified menu is shown even if the System/36 environment is active when this command is issued. The current library is set and the program or procedure is run as specified in this command.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRS36.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STRS36.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
STRS36 MENU(USER) CURLIB(MYLIB) PRC(INITPROC)
</pre>
</p>
<p>This command starts a System/36 environment session. This command:
</p>
<ul>
<li>Displays the USER menu
</li>
<li>Changes the current library to MYLIB
</li>
<li>Runs procedure INITPROC before showing the USER menu
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRS36.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="STRS36.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF3709</b></dt>
<dd>Tape devices do not support same densities.
</dd>
<dt><b>CPF3738</b></dt>
<dd>Device &amp;1 used for save or restore is damaged.
</dd>
<dt><b>CPF3767</b></dt>
<dd>Device &amp;1 not found.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#STRS36.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>