CMS terminal interface: Difference between revisions
m (→Getting online: link repair) |
m (misc cleanup) |
||
Line 1: | Line 1: | ||
==Overview== | ==Overview== | ||
CMS (Conversational Monitor System) is an interactive operating system that runs within z/VM. The z/VM system control program provides each user with a virtual machine (that is, an operating environment that appears to be a separate system). | CMS (Conversational Monitor System) is an interactive operating system that runs within z/VM. The z/VM system control program provides each user with a virtual machine (that is, an operating environment that appears to be a separate system). | ||
This | This topic describes the procedures to be followed when connecting to Model 204 through the CMS terminal interface. | ||
===Terminals supported=== | ===Terminals supported=== | ||
The CMS terminal interface supports the use of: | The CMS terminal interface supports the use of: | ||
<ul> | <ul> | ||
<li> | <li>IBM 3270 and compatible terminals</li> | ||
IBM 3270 and compatible terminals</li> | |||
<li> | <li>Teletypes and Teletype-compatible terminals</li> | ||
Teletypes and Teletype-compatible terminals</li> | |||
</ul> | </ul> | ||
Line 18: | Line 15: | ||
===Selection of terminal support mode=== | ===Selection of terminal support mode=== | ||
Two modes of CMS terminal support are available to Model 204 users: multiuser and single-user. To select multiuser mode, the system manager must set the IODEV parameter on the user's parameter line for the terminal. To select single-user mode, the system manager must set the ALTIODEV parameter in the single-user EXEC. | |||
Two modes of CMS terminal support are available to Model 204 users: multiuser and single-user. To select multiuser mode, the system manager must set the IODEV parameter on the user's parameter line for the terminal. To select single-user mode, the system manager must set the ALTIODEV parameter in the single-user EXEC. | |||
For more information about these system manager actions, see the CMS installation instructions for your operating system. See also [[Defining the user environment (CCAIN)]]. | For more information about these system manager actions, see the CMS installation instructions for your operating system. See also [[Defining the user environment (CCAIN)]]. | ||
==Invoking and disconnecting from the CMS terminal interface== | ==Invoking and disconnecting from the CMS terminal interface== | ||
The steps required for logging in to Model 204 through the CMS terminal interface and for disconnecting from the CMS terminal interface are described in this section. | |||
The steps required for logging in to Model 204 through the CMS terminal interface and for disconnecting from the CMS terminal interface are described in this section. | |||
===Getting online=== | ===Getting online=== | ||
To connect to Model 204 through CMS, follow these steps: | To connect to Model 204 through CMS, follow these steps: | ||
<ol> | <ol> | ||
<li>Gain access to CMS by following the z/VM connect procedures defined at the installation. Check with the system manager for specific information. CMS indicates that it has gained control by displaying a ready message. </li> | <li>Gain access to CMS by following the z/VM connect procedures defined at the installation. Check with the system manager for specific information. CMS indicates that it has gained control by displaying a ready message. </li> | ||
Line 38: | Line 33: | ||
===M204 EXEC=== | ===M204 EXEC=== | ||
The format of the M204 EXEC, as distributed by Rocket Software, is shown below. If an option is not specified, Model 204 provides a default. Defaults can be established for an installation by the system manager, as described in [[Defining the user environment (CCAIN)]]. | |||
You can obtain more information about <var>M204 EXEC</var> by issuing the <var>HELP 204</var> command. | |||
====Syntax==== | ====Syntax==== | ||
<p class=" | <p class="syntax">M204 [(] [LINE | <b>DISP</b>LAY] | ||
[<b>USER</b>ID <span class="term">userid</span> | <b>CHAN</b>NEL <span class="term">channel</span> | <b>DIS</b>CONN <span class="term">string</span> | SUBSET <span class="term">string</span> | CMS <span class="term">filename</span>] | |||
[<b>LOG</b>IN] [<b>NOLOG</b>IN] | |||
[DCSS] [NUCEXT] [UAREA] | |||
[ONLINE] [IFDIAL] | |||
[VMCF] [)] </p> | |||
===M204 EXEC options=== | ===M204 EXEC options=== | ||
The M204 EXEC options have the following meanings: | The M204 EXEC options have the following meanings: | ||
<table> | <table> | ||
Line 59: | Line 52: | ||
<th>Specifies...</th> | <th>Specifies...</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td nowrap>LINE or DISPLAY</td> | <td nowrap>LINE or DISPLAY</td> | ||
<td> | <td>Mode in which the communication is to be performed. LINE represents line mode and DISPLAY represents full-screen mode. The user can select LINE or DISPLAY, but not both. LINE is the default for all terminals except 3270 terminals; DISPLAY is the default for 3270 terminals. If DISPLAY is the default and a CHANNEL option is not specified, an unsuccessful connection attempt results in an automatic attempt to connect in LINE mode.</td> | ||
Mode in which the communication is to be performed. LINE represents line mode and DISPLAY represents full-screen mode. The user can select LINE or DISPLAY, but not both. LINE is the default for all terminals except 3270 terminals; DISPLAY is the default for 3270 terminals. If DISPLAY is the default and a CHANNEL option is not specified, an unsuccessful connection attempt results in an automatic attempt to connect in LINE mode.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>USERID <var class="term">userid</var></td> | <td>USERID <var class="term">userid</var></td> | ||
<td>User ID of the virtual machine in which the Model 204 program to be accessed is executing. If <var class="term">userid</var> is specified as an asterisk (*), Model 204 is invoked in single-user mode.</td> | <td>User ID of the virtual machine in which the Model 204 program to be accessed is executing. If <var class="term">userid</var> is specified as an asterisk (*), Model 204 is invoked in single-user mode.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td nowrap>CHANNEL <var class="term">channel</var></td> | <td nowrap>CHANNEL <var class="term">channel</var></td> | ||
Line 73: | Line 68: | ||
<p class="note"><b>Note:</b> If the CHANNEL option is used, a mode (either LINE or DISPLAY) also must be specified.</p></td> | <p class="note"><b>Note:</b> If the CHANNEL option is used, a mode (either LINE or DISPLAY) also must be specified.</p></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td nowrap>DISCONN <var class="term">string</var></td> | <td nowrap>DISCONN <var class="term">string</var></td> | ||
<td> | <td>Character string that is the Model 204 disconnect sequence. If this string is entered, a DISCONNECT command is transmitted to Model 204. The DISCONN option is ignored if Model 204 is invoked in single-user mode.</td> | ||
Character string that is the Model 204 disconnect sequence. If this string is entered, a DISCONNECT command is transmitted to Model 204. The DISCONN option is ignored if Model 204 is invoked in single-user mode.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>SUBSET <var class="term">string</var></td> | <td>SUBSET <var class="term">string</var></td> | ||
<td> | <td>Character string that is the CMS SUBSET entry sequence. If this string is entered as the only input data on the screen, the user enters CMS SUBSET mode. In this mode, the user can execute any CMS commands that are nucleus-resident or that load in the Transient Area. For a summary of these commands, refer to the IBM <var class="book">z/VM CMS Command and MACRO Reference</var>. | ||
Character string that is the CMS SUBSET entry sequence. If this string is entered as the only input data on the screen, the user enters CMS SUBSET mode. In this mode, the user can execute any CMS commands that are nucleus-resident or that load in the Transient Area. For a summary of these commands, refer to the IBM <var class="book">z/VM CMS Command and MACRO Reference</var>. | <p> | ||
After the user returns from CMS SUBSET mode (by use of the RETURN command in CMS), the subset string is redisplayed on the terminal at the same point the user had entered it.</p> | |||
<p>After the user returns from CMS SUBSET mode (by use of the RETURN command in CMS), the subset string is redisplayed on the terminal at the same point the user had entered it.</p> | <p> | ||
The SUBSET option is ignored if Model 204 is invoked in single-user mode. </p></td> | |||
</tr> | |||
<tr> | <tr> | ||
<td>CMD <var class="term">filename</var></td> | <td>CMD <var class="term">filename</var></td> | ||
<td> | <td>Name (1-8 characters) of a user-created file containing commands that are to be read as the initial input to Model 204. The command file must have a file type of M204CMND and reside on a disk accessed by the CMS user's virtual machine.</td> | ||
Name (1-8 characters) of a user-created file containing commands that are to be read as the initial input to Model 204. The command file must have a file type of M204CMND and reside on a disk accessed by the CMS user's virtual machine. | |||
</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td nowrap>LOGIN or NOLOGIN</td> | <td nowrap>LOGIN or NOLOGIN</td> | ||
<td> | <td>Whether Model 204 automatically generates the initial LOGIN command. LOGIN specifies that Model 204 generate the command. NOLOGIN specifies that Model 204 <b>not</b> generate the command. The user can select LOGIN or NOLOGIN, but not both. LOGIN is the default. | ||
Whether Model 204 automatically generates the initial LOGIN command. LOGIN specifies that Model 204 generate the command. NOLOGIN specifies that Model 204 <b>not</b> generate the command. The user can select LOGIN or NOLOGIN, but not both. LOGIN is the default. | <p> | ||
The LOGIN/NOLOGIN option is ignored if Model 204 is invoked in single-user mode.</p></td> | |||
</tr> | |||
<tr> | <tr> | ||
<td nowrap>ONLINE or IFDIAL</td> | <td nowrap>ONLINE or IFDIAL</td> | ||
<td> | <td>Connection type for a single user invocation (that is, USER *). ONLINE runs a normal Online connection type; IFDIAL runs an IFDIAL connection type. ONLINE is the default.</td> | ||
Connection type for a single user invocation (that is, USER *). ONLINE runs a normal Online connection type; IFDIAL runs an IFDIAL connection type. ONLINE is the default.</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>VMCF or IUCV</td> | <td>VMCF or IUCV</td> | ||
<td> | <td>Type of communication used (that is, the VMCF or IUCV interface). Although either VMCF or IUCV can be specified, IUCV communication is always used. | ||
Type of communication used (that is, the VMCF or IUCV interface). Although either VMCF or IUCV can be specified, IUCV communication is always used. | |||
<p class="note"><b>Note:</b> In future releases, specifying VMCF might not be supported.</p></td> | <p class="note"><b>Note:</b> In future releases, specifying VMCF might not be supported.</p></td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
DCSS, NUCEXT, and UAREA specify how the EXEC runs. The meanings of these options are as follows: | DCSS, NUCEXT, and UAREA specify how the EXEC runs. The meanings of these options are as follows: | ||
<table> | <table> | ||
Line 119: | Line 113: | ||
<th>Causes the EXEC to...</th> | <th>Causes the EXEC to...</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>DCSS (the default)</td> | <td>DCSS (the default)</td> | ||
<td>Load M204USR, the saved segment version of the CMS or IUCV interface program. | <td>Load M204USR, the saved segment version of the CMS or IUCV interface program.</td> | ||
</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>NUCEXT</td> | <td>NUCEXT</td> | ||
<td>Load the CMS or IUCV interface program as a nucleus extension. This option is valid only for CMS Release 3 or later. | <td>Load the CMS or IUCV interface program as a nucleus extension. This option is valid only for CMS Release 3 or later.</td> | ||
</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>UAREA</td> | <td>UAREA</td> | ||
<td>Run the CMS or IUCV interface program by running a module in the user area. | <td>Run the CMS or IUCV interface program by running a module in the user area. </td> | ||
</td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
===Input lines=== | ===Input lines=== | ||
Support is provided for two modes of operation: line-at-a-time and full-screen support. | Support is provided for two modes of operation: line-at-a-time and full-screen support. | ||
<ul> | <ul> | ||
<li>In line-at-a-time mode, when Model 204 is prepared to accept input, it issues the appropriate prompting character and unlocks the keyboard. After entering an input line, the user indicates that the line is complete and transmits the line by pressing the Enter or Return key.</li> | <li>In line-at-a-time mode, when Model 204 is prepared to accept input, it issues the appropriate prompting character and unlocks the keyboard. After entering an input line, the user indicates that the line is complete and transmits the line by pressing the Enter or Return key.</li> | ||
<li>In full-screen mode, the user presses Enter to transmit the contents of the entire screen. The full-screen mode of operation is described in [[Terminal processing#Full-screen formatting|Full-screen formatting]].</li> | <li>In full-screen mode, the user presses Enter to transmit the contents of the entire screen. The full-screen mode of operation is described in [[Terminal processing#Full-screen formatting|Full-screen formatting]].</li> | ||
</ul> | </ul> | ||
===PF keys=== | ===PF keys=== | ||
Program Function (PF) keys are supported by Model 204 only when the user accesses a screen formatted through the SOUL full-screen formatting feature. Otherwise, PF keys are not supported and cannot be used to enter data. Any line entered by means of a PF key is considered null, and any data entered is lost. | Program Function (PF) keys are supported by Model 204 only when the user accesses a screen formatted through the SOUL full-screen formatting feature. Otherwise, PF keys are not supported and cannot be used to enter data. Any line entered by means of a PF key is considered null, and any data entered is lost. | ||
===Disconnecting=== | ===Disconnecting=== | ||
To disconnect, follow these steps: | To disconnect, follow these steps: | ||
<ol> | <ol> | ||
<li> | <li>Log out of Model 204 in the normal way by entering either: | ||
Log out of Model 204 in the normal way by entering either: | |||
<p class="code"><b>LOGOUT</b></p> | <p class="code"><b>LOGOUT</b></p> | ||
<p> | |||
or:</p> | |||
<p class="code"><b>LOGOFF</b></p> | |||
<p> | |||
These commands can cause an automatic disconnect to occur.</p></li> | |||
<li>If an automatic disconnect has not occurred, enter: | <li>If an automatic disconnect has not occurred, enter: | ||
<p class="code"><b>DISCONNECT</b></p> | <p class="code"><b>DISCONNECT</b> | ||
</p> | |||
or the disconnect sequence for the installation. | or the disconnect sequence for the installation. </li> | ||
</li></ol> | </ol> | ||
CMS displays the Ready message. | CMS displays the Ready message. | ||
===Turning off the terminal=== | ===Turning off the terminal=== | ||
If the terminal is turned off during Model 204 processing, subsequent operations depend upon the type of terminal used. | |||
If the terminal is turned off during Model 204 processing, subsequent operations depend upon the type of terminal used. | |||
If Model 204 is accessed in full-screen mode, the power-off condition is not detected until the terminal is turned on again. At this point, z/VM forcibly disconnects the user and starts a timer. After 15 minutes, unless the user reconnects to the virtual machine, the user is logged out of Model 204. Model 204 detects the logout and restarts. | If Model 204 is accessed in full-screen mode, the power-off condition is not detected until the terminal is turned on again. At this point, z/VM forcibly disconnects the user and starts a timer. After 15 minutes, unless the user reconnects to the virtual machine, the user is logged out of Model 204. Model 204 detects the logout and restarts. | ||
If Model 204 is accessed in line-at-a-time mode, z/VM detects the power-off condition immediately, disconnects the user, and starts a timer. After 15 minutes, unless the user reconnects to the virtual machine, the user is logged out of Model 204. Model 204 detects the logout and restarts. | If Model 204 is accessed in line-at-a-time mode, z/VM detects the power-off condition immediately, disconnects the user, and starts a timer. After 15 minutes, unless the user reconnects to the virtual machine, the user is logged out of Model 204. Model 204 detects the logout and restarts. | ||
==IBM 3270 terminals (IODEV = 41, ALTIODEV =47)== | ==IBM 3270 terminals (IODEV=41, ALTIODEV=47)== | ||
This section summarizes the information needed to use IBM 3270s (and compatible terminals) operating in full-screen mode. For full-screen usage in a multiuser environment, the <var>IODEV</var> parameter must be set to 41. For full-screen usage in a single-user environment, the <var>ALTIODEV</var> parameter must be set to 47. | |||
This section summarizes the information needed to use IBM 3270s (and compatible terminals) operating in full-screen mode. For full-screen usage in a multiuser environment, the IODEV parameter must be set to 41. For full-screen usage in a single-user environment, the ALTIODEV parameter must be set to 47. | |||
===Attention key=== | ===Attention key=== | ||
The PA1 key serves as the attention key on IBM 3270 terminals, unless the attention key has been reassigned by the user through the <var>[[FSATTN parameter|FSATTN]]</var> parameter. | |||
The PA1 key serves as the attention key on IBM 3270 terminals, unless the attention key has been reassigned by the user through the <var>[[FSATTN parameter|FSATTN]] parameter. | |||
An attention interrupt also can be transmitted by first pressing the RESET key when the keyboard is locked (for example, during request compilation) and then pressing either Enter, PA1, PA2, CLEAR, or any PF key. | An attention interrupt also can be transmitted by first pressing the RESET key when the keyboard is locked (for example, during request compilation) and then pressing either Enter, PA1, PA2, CLEAR, or any PF key. | ||
===Pausing and canceling output=== | ===Pausing and canceling output=== | ||
In full-screen mode, Model 204 pauses at the end of each page of output to allow the user to read the contents of the screen or to cancel the current request if too much output is being received. | |||
In full-screen mode, Model 204 pauses at the end of each page of output to allow the user to read the contents of the screen or to cancel the current request if too much output is being received. | |||
Valid user responses are. | Valid user responses are. | ||
<ul> | <ul> | ||
<li> | <li>Press Enter. The terminal goes on to the next page.</li> | ||
Press Enter. The terminal goes on to the next page.</li> | |||
<li> | <li>Press the attention key. Unless an ON ATTENTION statement is in effect (see [[Terminal processing#Attention interrupt feature|Attention interrupt feature]]), the current output and request are canceled.</li> | ||
Press the attention key. Unless an ON ATTENTION statement is in effect (see [[Terminal processing#Attention interrupt feature|Attention interrupt feature]]), the current output and request are canceled.</li> | |||
<p class="note"><b>Note:</b> The system manager must have set the NBKPG (number of backpages) parameter to allow the user to utilize this feature.</p> | <li>Enter a backpage request (see [[Terminal processing#Backpaging|Backpaging]]). | ||
</li> | |||
<li> | <p class="note"><b>Note:</b> The system manager must have set the NBKPG (number of backpages) parameter to allow the user to utilize this feature.</p></li> | ||
Enter the next input line. </li> | |||
<li>Enter the next input line. </li> | |||
</ul> | </ul> | ||
===Screen-formatting parameters=== | ===Screen-formatting parameters=== | ||
The screen-formatting parameters listed in the following table apply to IBM 3270 terminals used in full-screen mode through CMS. | The screen-formatting parameters listed in the following table apply to IBM 3270 terminals used in full-screen mode through CMS. | ||
Line 217: | Line 201: | ||
<th>Default</th> | <th>Default</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>INMRL</td> | <td>INMRL</td> | ||
Line 222: | Line 207: | ||
<td>*78</td> | <td>*78</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>INCCC</td> | <td>INCCC</td> | ||
Line 227: | Line 213: | ||
<td>*72</td> | <td>*72</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>OUTMRL</td> | <td>OUTMRL</td> | ||
Line 232: | Line 219: | ||
<td> 80</td> | <td> 80</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>OUTCCC</td> | <td>OUTCCC</td> | ||
Line 237: | Line 225: | ||
<td> 80</td> | <td> 80</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>OUTLPP</td> | <td>OUTLPP</td> | ||
Line 242: | Line 231: | ||
<td>**23</td> | <td>**23</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>HDRCTL</td> | <td>HDRCTL</td> | ||
Line 247: | Line 237: | ||
<td> 0</td> | <td> 0</td> | ||
</tr> | </tr> | ||
<tr><td rowspan="1" colspan="3"> | <tr><td rowspan="1" colspan="3"> | ||
<nowiki>*</nowiki> Corresponds to single line on screen after prompt and 3270 control characters. <br /> | <nowiki>*</nowiki> Corresponds to single line on screen after prompt and 3270 control characters. <br /> | ||
<nowiki>**</nowiki> Last line on screen (24) reserved for end-of-page pause control. | <nowiki>**</nowiki> Last line on screen (24) reserved for end-of-page pause control. | ||
</td> | </td></tr> | ||
</tr> | |||
</table> | </table> | ||
Line 257: | Line 247: | ||
===Terminal model options=== | ===Terminal model options=== | ||
The following table shows the valid settings for <var>MODEL</var>, the corresponding terminal type, and the corresponding default values for the screen size parameters. The user can reset <var>INCCC</var> and <var>OUTCCC</var> to override the default values established by the <var>MODEL</var> parameter. | |||
The following table shows the valid settings for MODEL, the corresponding terminal type, and the corresponding default values for the screen size parameters. The user can reset INCCC and OUTCCC to override the default values established by the MODEL parameter. | |||
<table> | <table> | ||
<caption>Valid MODEL settings for CMS 3270s</caption> | <caption>Valid MODEL settings for CMS 3270s</caption> | ||
Line 269: | Line 258: | ||
<th>3270 terminal type</th> | <th>3270 terminal type</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>1</td> | <td>1</td> | ||
Line 277: | Line 267: | ||
<td>Model 1</td> | <td>Model 1</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>2</td> | <td>2</td> | ||
Line 285: | Line 276: | ||
<td>Model 2</td> | <td>Model 2</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>3</td> | <td>3</td> | ||
Line 293: | Line 285: | ||
<td>Model 3</td> | <td>Model 3</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>4</td> | <td>4</td> | ||
Line 301: | Line 294: | ||
<td>Model 4</td> | <td>Model 4</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>5</td> | <td>5</td> | ||
Line 312: | Line 306: | ||
===Output page buffer settings=== | ===Output page buffer settings=== | ||
<var>MODEL/<var> is reset only if the size of the output page buffer (<var>LOUTPB</var>) is large enough to hold the new screen size. The minimum <var>LOUTPB</var> settings are listed in the following table. | |||
MODEL is reset only if the size of the output page buffer (LOUTPB) is large enough to hold the new screen size. The minimum LOUTPB settings are listed in the following table. | |||
<table> | <table> | ||
<caption style="width:200px">Minimum LOUTPB settings</caption> | <caption style="width:200px">Minimum LOUTPB settings</caption> | ||
Line 320: | Line 313: | ||
<th>LOUTPB</th> | <th>LOUTPB</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>0</td> | <td>0</td> | ||
<td>1170</td> | <td>1170</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>1</td> | <td>1</td> | ||
<td>1170</td> | <td>1170</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>2</td> | <td>2</td> | ||
<td>2130</td> | <td>2130</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>3</td> | <td>3</td> | ||
<td>2770</td> | <td>2770</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>4</td> | <td>4</td> | ||
<td>3650</td> | <td>3650</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>5</td> | <td>5</td> | ||
Line 347: | Line 346: | ||
===Page header formats=== | ===Page header formats=== | ||
<var>HDRCTL</var> consists of a series of switches that control the formatting of pages transmitted to the terminal. Each switch can be set independently of the other. | |||
HDRCTL | <var>HDRCTL</var> is usually not reset, but it can be reset to the following values for 3270 terminals: | ||
<table class="thJustBold"> | |||
<tr> | |||
<table> | |||
<tr | |||
<th>0</th> | <th>0</th> | ||
<td>Normal headers (system header showing date, time, and page number)</td> | <td>Normal headers (system header showing date, time, and page number)</td> | ||
</tr> | </tr> | ||
<tr | |||
<tr> | |||
<th>1</th> | <th>1</th> | ||
<td>Suppress header 0 (system header showing date, time, and page number)</td> | <td>Suppress header 0 (system header showing date, time, and page number)</td> | ||
</tr> | </tr> | ||
<tr | |||
<tr> | |||
<th>2</th> | <th>2</th> | ||
<td>Suppress the blank line that normally follows header 0 for nonrequest output</td> | <td>Suppress the blank line that normally follows header 0 for nonrequest output</td> | ||
Line 367: | Line 367: | ||
===Handling messages from other terminals=== | ===Handling messages from other terminals=== | ||
When Model 204 is running in full-screen mode and one user sends a message or a file to another user's terminal using the z/VM facilities, confusion can sometimes result. For example, suppose that user A sends a message to user B's terminal. The z/VM system interrupts user B's Model 204 output and displays the following message at the top of the terminal screen: | |||
When Model 204 is running in full-screen mode and one user sends a message or a file to another user's terminal using the z/VM facilities, confusion can sometimes result. For example, suppose that user A sends a message to user B's terminal. The z/VM system interrupts user B's Model 204 output and displays the following message at the top of the terminal screen: | |||
<p class="code">14:02:31 | <p class="code">14:02:31 | ||
MSG FROM OPERATOR: TESTING</p> | MSG FROM OPERATOR: TESTING</p> | ||
Line 381: | Line 380: | ||
The system manager can use the Message System Service (*MSG) to control the display of messages on the terminal. See your IBM z/VM system documentation for details. | The system manager can use the Message System Service (*MSG) to control the display of messages on the terminal. See your IBM z/VM system documentation for details. | ||
==Teletype terminals (IODEV = 39, ALTIODEV = 45)== | ==Teletype terminals (IODEV=39, ALTIODEV=45)== | ||
This section summarizes the information needed to use Teletypes and Teletype-compatible devices operating under CMS in line-at-a-time mode. For line-at-a-time usage in a multiuser environment, the IODEV parameter must be set to 39. For line-at-a-time usage in a single-user environment, the ALTIODEV parameter must be set to 45. | This section summarizes the information needed to use Teletypes and Teletype-compatible devices operating under CMS in line-at-a-time mode. For line-at-a-time usage in a multiuser environment, the IODEV parameter must be set to 39. For line-at-a-time usage in a single-user environment, the ALTIODEV parameter must be set to 45. | ||
===Attention key=== | ===Attention key=== | ||
The BREAK key serves as the attention key on Teletype-compatible terminals. The ATTN key serves as the attention key on IBM 2741 and compatible terminals. | The BREAK key serves as the attention key on Teletype-compatible terminals. The ATTN key serves as the attention key on IBM 2741 and compatible terminals. | ||
===Pausing and canceling output=== | ===Pausing and canceling output=== | ||
In line-at-a-time mode, Model 204 pauses at the end of each page of output to allow the user to cancel the current request if too much output is being received. | In line-at-a-time mode, Model 204 pauses at the end of each page of output to allow the user to cancel the current request if too much output is being received. | ||
Line 396: | Line 392: | ||
<ul> | <ul> | ||
<li>Press Return (or any other character) to go on to the next page.</li> | <li>Press Return (or any other character) to go on to the next page.</li> | ||
<li>Press the attention key. Unless an ON ATTENTION statement is in effect (see [[Terminal processing#Attention interrupt feature|Attention interrupt feature]]), the current output and request are canceled. </li> | <li>Press the attention key. Unless an ON ATTENTION statement is in effect (see [[Terminal processing#Attention interrupt feature|Attention interrupt feature]]), the current output and request are canceled. </li> | ||
</ul> | </ul> | ||
===Parameters=== | ===Parameters=== | ||
The parameters listed in the following table apply to Teletypes and compatible devices being used through CMS. | The parameters listed in the following table apply to Teletypes and compatible devices being used through CMS. | ||
<table> | <table> | ||
Line 409: | Line 405: | ||
<th>Default</th> | <th>Default</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>INMRL</td> | <td>INMRL</td> | ||
Line 414: | Line 411: | ||
<td>80</td> | <td>80</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>INCCC</td> | <td>INCCC</td> | ||
Line 419: | Line 417: | ||
<td>72</td> | <td>72</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>OUTMRL</td> | <td>OUTMRL</td> | ||
Line 424: | Line 423: | ||
<td>132</td> | <td>132</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>OUTCCC</td> | <td>OUTCCC</td> | ||
Line 429: | Line 429: | ||
<td>132</td> | <td>132</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>OUTLPP</td> | <td>OUTLPP</td> | ||
Line 434: | Line 435: | ||
<td>56</td> | <td>56</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>PGSEP</td> | <td>PGSEP</td> | ||
Line 439: | Line 441: | ||
<td>2</td> | <td>2</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>HDRCTL</td> | <td>HDRCTL</td> | ||
Line 444: | Line 447: | ||
<td>0</td> | <td>0</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>TERMOPT</td> | <td>TERMOPT</td> | ||
Line 454: | Line 458: | ||
===Page header formats=== | ===Page header formats=== | ||
HDRCTL consists of a series of switches that control the formatting of pages transmitted to the terminal. Each switch can be set independently of the others. HDRCTL can be reset to the following values for Teletypes and compatible terminals: | HDRCTL consists of a series of switches that control the formatting of pages transmitted to the terminal. Each switch can be set independently of the others. HDRCTL can be reset to the following values for Teletypes and compatible terminals: | ||
<table> | <table class="thJustBold"> | ||
<tr | <tr> | ||
<th>0</th> | <th>0</th> | ||
<td>Normal headers (system header showing date, time, and page number)</td> | <td>Normal headers (system header showing date, time, and page number)</td> | ||
</tr> | </tr> | ||
<tr | |||
<tr> | |||
<th>1</th> | <th>1</th> | ||
<td>Suppress header 0 (system header showing date, time, and page number)</td> | <td>Suppress header 0 (system header showing date, time, and page number)</td> | ||
</tr> | </tr> | ||
<tr | |||
<tr> | |||
<th>2</th> | <th>2</th> | ||
<td>Suppress the blank line that normally follows header 0 for nonrequest output</td> | <td>Suppress the blank line that normally follows header 0 for nonrequest output</td> | ||
</tr> | </tr> | ||
<tr | |||
<tr> | |||
<th>4</th> | <th>4</th> | ||
<td>Pause at the end of an output page; add a line to each page, in addition to OUTLPP plus PGSEP, to receive a reply.</td> | <td>Pause at the end of an output page; add a line to each page, in addition to OUTLPP plus PGSEP, to receive a reply.</td> | ||
Line 476: | Line 482: | ||
TERMOPT consists of a series of switches that can be set independently and can be reset to the following values for Teletypes and compatible terminals: | TERMOPT consists of a series of switches that can be set independently and can be reset to the following values for Teletypes and compatible terminals: | ||
<table> | <table class="thJustBold"> | ||
<tr | <tr> | ||
<th>0</th> | <th>0</th> | ||
<td>Terminal is hard copy (not CRT); no backpaging.</td> | <td>Terminal is hard copy (not CRT); no backpaging.</td> | ||
</tr> | </tr> | ||
<tr | |||
<tr> | |||
<th>2</th> | <th>2</th> | ||
<td>Terminal is soft copy (CRT); save and display backpages.</td> | <td>Terminal is soft copy (CRT); save and display backpages.</td> | ||
Line 488: | Line 495: | ||
===Line-editing characters=== | ===Line-editing characters=== | ||
When Model 204 is being run in line-at-a-time mode, all the line-editing characters supported by z/VM can be specified. Refer to the <var class="book">IBM z/VM: CMS User's Guide</var> for a summary of these characters. | When Model 204 is being run in line-at-a-time mode, all the line-editing characters supported by z/VM can be specified. Refer to the <var class="book">IBM z/VM: CMS User's Guide</var> for a summary of these characters. | ||
Line 499: | Line 505: | ||
<th>Function</th> | <th>Function</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Logical character delete</td> | <td>Logical character delete</td> | ||
Line 504: | Line 511: | ||
<td>Deletes a character</td> | <td>Deletes a character</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Logical line end</td> | <td>Logical line end</td> | ||
Line 509: | Line 517: | ||
<td>Indicates logical end-of-line to enable multiple logical lines to be entered on a single physical line.</td> | <td>Indicates logical end-of-line to enable multiple logical lines to be entered on a single physical line.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Logical line delete</td> | <td>Logical line delete</td> | ||
Line 514: | Line 523: | ||
<td>Deletes a line.</td> | <td>Deletes a line.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>Logical escape</td> | <td>Logical escape</td> | ||
Line 523: | Line 533: | ||
</table> | </table> | ||
You can define special line-editing characters for a particular virtual machine. Use the z/VM CP QUERY TERMINAL command to determine characters in effect for a virtual machine, and the CP TERMINAL command to change characters. In the following example, the line-end character is reset to slash (<tt>/</tt>): | |||
<p class="code"><b>CP QUERY TERMINAL</b> | <p class="code"><b>CP QUERY TERMINAL</b> | ||
LINEND #, LINEDEL ¢, CHARDEL @, ESCAPE " TABCHAR ON | LINEND #, LINEDEL ¢, CHARDEL @, ESCAPE " TABCHAR ON | ||
<b>CP TERMINAL LINEND /</b></p> | <b>CP TERMINAL LINEND /</b></p> | ||
Line 540: | Line 548: | ||
<th>Function</th> | <th>Function</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>ERASE</td> | <td>ERASE</td> | ||
Line 545: | Line 554: | ||
<td>Deletes a character</td> | <td>Deletes a character</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>FLUSH</td> | <td>FLUSH</td> | ||
Line 550: | Line 560: | ||
<td>Deletes a line</td> | <td>Deletes a line</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>LINEND</td> | <td>LINEND</td> | ||
Line 557: | Line 568: | ||
</table> | </table> | ||
To avoid confusion between the z/VM and Model 204 line-editing characters, the user might want to redefine either the z/VM or Model 204 characters, depending upon whether z/VM or Model 204 is to handle certain types of editing functions. | To avoid confusion between the z/VM and Model 204 line-editing characters, the user might want to redefine either the z/VM or Model 204 characters, depending upon whether z/VM or Model 204 is to handle certain types of editing functions. | ||
<p class="note"><b>Note:</b> If identical z/VM and Model 204 symbols are in effect at the same time, unpredictable results can occur.</p> | <p class="note"><b>Note:</b> If identical z/VM and Model 204 symbols are in effect at the same time, unpredictable results can occur.</p> | ||
[[Category: Terminal processing and support]] | [[Category: Terminal processing and support]] |
Latest revision as of 20:04, 30 March 2017
Overview
CMS (Conversational Monitor System) is an interactive operating system that runs within z/VM. The z/VM system control program provides each user with a virtual machine (that is, an operating environment that appears to be a separate system).
This topic describes the procedures to be followed when connecting to Model 204 through the CMS terminal interface.
Terminals supported
The CMS terminal interface supports the use of:
- IBM 3270 and compatible terminals
- Teletypes and Teletype-compatible terminals
Each of these terminal types provides slightly different capabilities, responses, and default parameter settings. The information supplied for these terminals in Using SNA Communications Server terminals does not necessarily apply when teletypes are used.
Selection of terminal support mode
Two modes of CMS terminal support are available to Model 204 users: multiuser and single-user. To select multiuser mode, the system manager must set the IODEV parameter on the user's parameter line for the terminal. To select single-user mode, the system manager must set the ALTIODEV parameter in the single-user EXEC.
For more information about these system manager actions, see the CMS installation instructions for your operating system. See also Defining the user environment (CCAIN).
Invoking and disconnecting from the CMS terminal interface
The steps required for logging in to Model 204 through the CMS terminal interface and for disconnecting from the CMS terminal interface are described in this section.
Getting online
To connect to Model 204 through CMS, follow these steps:
- Gain access to CMS by following the z/VM connect procedures defined at the installation. Check with the system manager for specific information. CMS indicates that it has gained control by displaying a ready message.
- Connect to Model 204 by using M204 EXEC, which formats the Model 204 command. M204 EXEC establishes the environment in which to run Model 204. After this command has been accepted, a prompt is displayed. On the 3270, for example, a greater than sign (>) is displayed.
- Log in to Model 204 in the usual way, if not already logged in by a command file in M204 EXEC (see the CMD option in M204 EXEC options).
M204 EXEC
The format of the M204 EXEC, as distributed by Rocket Software, is shown below. If an option is not specified, Model 204 provides a default. Defaults can be established for an installation by the system manager, as described in Defining the user environment (CCAIN).
You can obtain more information about M204 EXEC by issuing the HELP 204 command.
Syntax
M204 [(] [LINE | DISPLAY] [USERID userid | CHANNEL channel | DISCONN string | SUBSET string | CMS filename] [LOGIN] [NOLOGIN] [DCSS] [NUCEXT] [UAREA] [ONLINE] [IFDIAL] [VMCF] [)]
M204 EXEC options
The M204 EXEC options have the following meanings:
This option... | Specifies... |
---|---|
LINE or DISPLAY | Mode in which the communication is to be performed. LINE represents line mode and DISPLAY represents full-screen mode. The user can select LINE or DISPLAY, but not both. LINE is the default for all terminals except 3270 terminals; DISPLAY is the default for 3270 terminals. If DISPLAY is the default and a CHANNEL option is not specified, an unsuccessful connection attempt results in an automatic attempt to connect in LINE mode. |
USERID userid | User ID of the virtual machine in which the Model 204 program to be accessed is executing. If userid is specified as an asterisk (*), Model 204 is invoked in single-user mode. |
CHANNEL channel | Name of the channel (1-8 characters) to which the connection is desired. If the IUCV interface is used, a channel name of M204VMFS must be specified for IODEV 41; a channel name of M204VMIO must be specified for IODEV 39.
Note: If the CHANNEL option is used, a mode (either LINE or DISPLAY) also must be specified. |
DISCONN string | Character string that is the Model 204 disconnect sequence. If this string is entered, a DISCONNECT command is transmitted to Model 204. The DISCONN option is ignored if Model 204 is invoked in single-user mode. |
SUBSET string | Character string that is the CMS SUBSET entry sequence. If this string is entered as the only input data on the screen, the user enters CMS SUBSET mode. In this mode, the user can execute any CMS commands that are nucleus-resident or that load in the Transient Area. For a summary of these commands, refer to the IBM z/VM CMS Command and MACRO Reference.
After the user returns from CMS SUBSET mode (by use of the RETURN command in CMS), the subset string is redisplayed on the terminal at the same point the user had entered it. The SUBSET option is ignored if Model 204 is invoked in single-user mode. |
CMD filename | Name (1-8 characters) of a user-created file containing commands that are to be read as the initial input to Model 204. The command file must have a file type of M204CMND and reside on a disk accessed by the CMS user's virtual machine. |
LOGIN or NOLOGIN | Whether Model 204 automatically generates the initial LOGIN command. LOGIN specifies that Model 204 generate the command. NOLOGIN specifies that Model 204 not generate the command. The user can select LOGIN or NOLOGIN, but not both. LOGIN is the default.
The LOGIN/NOLOGIN option is ignored if Model 204 is invoked in single-user mode. |
ONLINE or IFDIAL | Connection type for a single user invocation (that is, USER *). ONLINE runs a normal Online connection type; IFDIAL runs an IFDIAL connection type. ONLINE is the default. |
VMCF or IUCV | Type of communication used (that is, the VMCF or IUCV interface). Although either VMCF or IUCV can be specified, IUCV communication is always used.
Note: In future releases, specifying VMCF might not be supported. |
DCSS, NUCEXT, and UAREA specify how the EXEC runs. The meanings of these options are as follows:
This option... | Causes the EXEC to... |
---|---|
DCSS (the default) | Load M204USR, the saved segment version of the CMS or IUCV interface program. |
NUCEXT | Load the CMS or IUCV interface program as a nucleus extension. This option is valid only for CMS Release 3 or later. |
UAREA | Run the CMS or IUCV interface program by running a module in the user area. |
Input lines
Support is provided for two modes of operation: line-at-a-time and full-screen support.
- In line-at-a-time mode, when Model 204 is prepared to accept input, it issues the appropriate prompting character and unlocks the keyboard. After entering an input line, the user indicates that the line is complete and transmits the line by pressing the Enter or Return key.
- In full-screen mode, the user presses Enter to transmit the contents of the entire screen. The full-screen mode of operation is described in Full-screen formatting.
PF keys
Program Function (PF) keys are supported by Model 204 only when the user accesses a screen formatted through the SOUL full-screen formatting feature. Otherwise, PF keys are not supported and cannot be used to enter data. Any line entered by means of a PF key is considered null, and any data entered is lost.
Disconnecting
To disconnect, follow these steps:
- Log out of Model 204 in the normal way by entering either:
LOGOUT
or:
LOGOFF
These commands can cause an automatic disconnect to occur.
- If an automatic disconnect has not occurred, enter:
DISCONNECT
or the disconnect sequence for the installation.
CMS displays the Ready message.
Turning off the terminal
If the terminal is turned off during Model 204 processing, subsequent operations depend upon the type of terminal used.
If Model 204 is accessed in full-screen mode, the power-off condition is not detected until the terminal is turned on again. At this point, z/VM forcibly disconnects the user and starts a timer. After 15 minutes, unless the user reconnects to the virtual machine, the user is logged out of Model 204. Model 204 detects the logout and restarts.
If Model 204 is accessed in line-at-a-time mode, z/VM detects the power-off condition immediately, disconnects the user, and starts a timer. After 15 minutes, unless the user reconnects to the virtual machine, the user is logged out of Model 204. Model 204 detects the logout and restarts.
IBM 3270 terminals (IODEV=41, ALTIODEV=47)
This section summarizes the information needed to use IBM 3270s (and compatible terminals) operating in full-screen mode. For full-screen usage in a multiuser environment, the IODEV parameter must be set to 41. For full-screen usage in a single-user environment, the ALTIODEV parameter must be set to 47.
Attention key
The PA1 key serves as the attention key on IBM 3270 terminals, unless the attention key has been reassigned by the user through the FSATTN parameter.
An attention interrupt also can be transmitted by first pressing the RESET key when the keyboard is locked (for example, during request compilation) and then pressing either Enter, PA1, PA2, CLEAR, or any PF key.
Pausing and canceling output
In full-screen mode, Model 204 pauses at the end of each page of output to allow the user to read the contents of the screen or to cancel the current request if too much output is being received.
Valid user responses are.
- Press Enter. The terminal goes on to the next page.
- Press the attention key. Unless an ON ATTENTION statement is in effect (see Attention interrupt feature), the current output and request are canceled.
- Enter a backpage request (see Backpaging).
Note: The system manager must have set the NBKPG (number of backpages) parameter to allow the user to utilize this feature.
- Enter the next input line.
Screen-formatting parameters
The screen-formatting parameters listed in the following table apply to IBM 3270 terminals used in full-screen mode through CMS.
The PGSEP parameter is not listed because it is not used with IBM 3270 terminals.
Parameter | Meaning | Default |
---|---|---|
INMRL | Maximum input line length for terminal | *78 |
INCCC | Input continuation column | *72 |
OUTMRL | Maximum output line length for terminal | 80 |
OUTCCC | Output continuation column | 80 |
OUTLPP | Number of lines per page, including headers and trailers | **23 |
HDRCTL | Page formatting options | 0 |
* Corresponds to single line on screen after prompt and 3270 control characters. |
Parameters that describe the physical characteristics of the terminal (INMRL, INCCC, OUTMRL, OUTCCC, OUTLPP) are set automatically when the terminal is logged on. The values of these parameters are set implicitly according to the MODEL parameter setting. See the next section, "Terminal model options," for more information on the MODEL parameter.
Terminal model options
The following table shows the valid settings for MODEL, the corresponding terminal type, and the corresponding default values for the screen size parameters. The user can reset INCCC and OUTCCC to override the default values established by the MODEL parameter.
MODEL | INMRL | INCCC | OUTMRL | OUTCCC | 3270 terminal type |
---|---|---|---|---|---|
1 | 78 | 78 | 80 | 80 | Model 1 |
2 | 78 | 78 | 80 | 80 | Model 2 |
3 | 78 | 78 | 80 | 80 | Model 3 |
4 | 78 | 78 | 80 | 80 | Model 4 |
5 | 130 | 130 | 132 | 132 | Model 5 |
Output page buffer settings
MODEL/ is reset only if the size of the output page buffer (LOUTPB) is large enough to hold the new screen size. The minimum LOUTPB settings are listed in the following table.
MODEL | LOUTPB |
---|---|
0 | 1170 |
1 | 1170 |
2 | 2130 |
3 | 2770 |
4 | 3650 |
5 | 3774 |
Page header formats
HDRCTL consists of a series of switches that control the formatting of pages transmitted to the terminal. Each switch can be set independently of the other.
HDRCTL is usually not reset, but it can be reset to the following values for 3270 terminals:
0 | Normal headers (system header showing date, time, and page number) |
---|---|
1 | Suppress header 0 (system header showing date, time, and page number) |
2 | Suppress the blank line that normally follows header 0 for nonrequest output |
Handling messages from other terminals
When Model 204 is running in full-screen mode and one user sends a message or a file to another user's terminal using the z/VM facilities, confusion can sometimes result. For example, suppose that user A sends a message to user B's terminal. The z/VM system interrupts user B's Model 204 output and displays the following message at the top of the terminal screen:
14:02:31 MSG FROM OPERATOR: TESTING
The HOLDING message appears in the status area at the bottom right corner of the screen. User B must press the CLEAR or PA2 key to clear the screen and return to Model 204. The remainder of the output is then displayed.
Suppose that user A sends a file to user B's terminal. The z/VM system interrupts user B's Model 204 output and displays a file message, such as the following, at the top of user B's terminal screen:
PUN FILE 4545 FROM MAINT COPY 001 NOHOLD
The MORE... prompt appears in the status area of the screen. At this point, if user B presses Enter, the status area prompt switches to HOLDING; if user B presses Enter again, the prompt switches to MORE... once again. The user must press the CLEAR key to clear the screen. If the user does not press the CLEAR key, the terminal waits 50 seconds, sounds the alarm, waits 10 more seconds, and then clears the screen and continues with Model 204 output.
The system manager can use the Message System Service (*MSG) to control the display of messages on the terminal. See your IBM z/VM system documentation for details.
Teletype terminals (IODEV=39, ALTIODEV=45)
This section summarizes the information needed to use Teletypes and Teletype-compatible devices operating under CMS in line-at-a-time mode. For line-at-a-time usage in a multiuser environment, the IODEV parameter must be set to 39. For line-at-a-time usage in a single-user environment, the ALTIODEV parameter must be set to 45.
Attention key
The BREAK key serves as the attention key on Teletype-compatible terminals. The ATTN key serves as the attention key on IBM 2741 and compatible terminals.
Pausing and canceling output
In line-at-a-time mode, Model 204 pauses at the end of each page of output to allow the user to cancel the current request if too much output is being received.
Valid user responses are:
- Press Return (or any other character) to go on to the next page.
- Press the attention key. Unless an ON ATTENTION statement is in effect (see Attention interrupt feature), the current output and request are canceled.
Parameters
The parameters listed in the following table apply to Teletypes and compatible devices being used through CMS.
Parameter | Meaning | Default |
---|---|---|
INMRL | Maximum input line length for terminal | 80 |
INCCC | Input continuation column | 72 |
OUTMRL | Maximum output line length for terminal | 132 |
OUTCCC | Output continuation column | 132 |
OUTLPP | Number of lines per page, including headers and trailers | 56 |
PGSEP | Number of lines between output pages | 2 |
HDRCTL | Page formatting options | 0 |
TERMOPT | Terminal options | 0 |
These parameters can be reset using the RESET command. The settings of INMRL, INCCC, OUTMRL, and OUTCCC cannot exceed 132. If a larger value is specified, it is automatically changed to 132.
Page header formats
HDRCTL consists of a series of switches that control the formatting of pages transmitted to the terminal. Each switch can be set independently of the others. HDRCTL can be reset to the following values for Teletypes and compatible terminals:
0 | Normal headers (system header showing date, time, and page number) |
---|---|
1 | Suppress header 0 (system header showing date, time, and page number) |
2 | Suppress the blank line that normally follows header 0 for nonrequest output |
4 | Pause at the end of an output page; add a line to each page, in addition to OUTLPP plus PGSEP, to receive a reply. |
TERMOPT consists of a series of switches that can be set independently and can be reset to the following values for Teletypes and compatible terminals:
0 | Terminal is hard copy (not CRT); no backpaging. |
---|---|
2 | Terminal is soft copy (CRT); save and display backpages. |
Line-editing characters
When Model 204 is being run in line-at-a-time mode, all the line-editing characters supported by z/VM can be specified. Refer to the IBM z/VM: CMS User's Guide for a summary of these characters.
The following table lists the defaults for the z/VM logical line-editing symbols.
Symbol | Character | Function |
---|---|---|
Logical character delete | @ | Deletes a character |
Logical line end | # | Indicates logical end-of-line to enable multiple logical lines to be entered on a single physical line. |
Logical line delete | ¢ | Deletes a line. |
Logical escape | " |
Causes z/VM to consider the next character to be a data character, not a line-editing symbol. Used when the input contains a character such as @ or #. |
You can define special line-editing characters for a particular virtual machine. Use the z/VM CP QUERY TERMINAL command to determine characters in effect for a virtual machine, and the CP TERMINAL command to change characters. In the following example, the line-end character is reset to slash (/):
CP QUERY TERMINAL LINEND #, LINEDEL ¢, CHARDEL @, ESCAPE " TABCHAR ON CP TERMINAL LINEND /
Model 204 provides its own line-editing characters, defined as parameters, some of which are the same as those used by z/VM.
The following table lists the Model 204 parameters that affect line editing.
Parameter | Default | Function |
---|---|---|
ERASE | @ | Deletes a character |
FLUSH | # | Deletes a line |
LINEND | ; | Indicates a logical end-of-line |
To avoid confusion between the z/VM and Model 204 line-editing characters, the user might want to redefine either the z/VM or Model 204 characters, depending upon whether z/VM or Model 204 is to handle certain types of editing functions.
Note: If identical z/VM and Model 204 symbols are in effect at the same time, unpredictable results can occur.