Using SNA Communications Server terminals: Difference between revisions
m (→Overview: minor formatting) |
m (Admin moved page SNA Communications Server terminal to Using SNA Communications Server terminals: more precise title) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 11: | Line 11: | ||
==Getting online== | ==Getting online== | ||
<p> | <p> | ||
To connect to Model 204 through SNA Communications Server, follow these steps:</p> | To connect to Model 204 through SNA Communications Server, follow these steps:</p> | ||
Line 27: | Line 26: | ||
</ol> | </ol> | ||
==IBM 3270 terminals (IODEV = 7)== | ==IBM 3270 terminals (IODEV=7)== | ||
<p> | <p> | ||
This section summarizes the information needed to use IBM 3270s through SNA Communications Server. </p> | This section summarizes the information needed to use IBM 3270s through SNA Communications Server. </p> | ||
<p class="note"><b>Note:</b> Model 204 translates all unprintable characters to question marks (?) for output to 3270 terminals, to avoid I/O errors. </p> | <p class="note"><b>Note:</b> Model 204 translates all unprintable characters to question marks (<tt>?</tt>) for output to 3270 terminals, to avoid I/O errors. </p> | ||
===Input lines=== | ===Input lines=== | ||
<p> | <p> | ||
SNA Communications Server support is provided for two modes of operation: line-at-a-time and full-screen support. In full-screen mode, when Model 204 is prepared to accept input, it issues the prompt character (>) and unlocks the keyboard. The user can now enter an input line. </p> | SNA Communications Server support is provided for two modes of operation: line-at-a-time and full-screen support. In full-screen mode, when Model 204 is prepared to accept input, it issues the prompt character (<tt>></tt>) and unlocks the keyboard. The user can now enter an input line. </p> | ||
<p> | <p> | ||
A physical input line cannot exceed 78 characters; however, using a line continuation character at the end of an input line causes Model 204 to treat the next line as a logical continuation of the previous one.</p> | A physical input line cannot exceed 78 characters; however, using a line continuation character at the end of an input line causes Model 204 to treat the next line as a logical continuation of the previous one.</p> | ||
<p> | <p> | ||
The user indicates that the line is complete and transmits the line by pressing the Enter key. No data is transmitted until Enter is pressed. The 3270 editing keys can be used to correct the line before Enter transmits it.</p> | The user indicates that the line is complete and transmits the line by pressing the Enter key. No data is transmitted until Enter is pressed. The 3270 editing keys can be used to correct the line before Enter transmits it.</p> | ||
<p> | <p> | ||
With the exception of the RTRVKEY, program function (PF) keys are supported by Model 204 only when the user accesses a screen formatted through the SOUL full-screen formatting feature (see [[Terminal processing#Full-screen formatting|Full-screen formatting]]). 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.</p> | With the exception of the <var>[[RETRVKEY parameter|RTRVKEY]]</var> setting, program function (PF) keys are supported by Model 204 only when the user accesses a screen formatted through the SOUL full-screen formatting feature (see [[Terminal processing#Full-screen formatting|Full-screen formatting]]). 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.</p> | ||
===End-of-page pause=== | ===End-of-page pause=== | ||
<p> | <p> | ||
Model 204 pauses at the end of each output page and waits for the user to respond before continuing. This allows the user to examine the contents of the screen. Model 204 prompts with an end-of-page prompt (>), indented 25 spaces.</p> | Model 204 pauses at the end of each output page and waits for the user to respond before continuing. This allows the user to examine the contents of the screen. Model 204 prompts with an end-of-page prompt (<tt>></tt>), indented 25 spaces.</p> | ||
<p> | <p> | ||
Valid user responses are:</p> | Valid user responses are:</p> | ||
<ul> | <ul> | ||
<li> | <li>Enter a null line (Return). The terminal goes on to the next page.</li> | ||
Enter a null line (Return). The terminal goes on to the next page.</li> | |||
<li> | <li>Press the attention key (PA1) or enter <code>*CANCEL</code>, <code>C</code>, or <code>K</code>, then press the Enter key. Unless an <var>ON ATTENTION</var> statement is in effect (see [[Terminal processing#Attention interrupt feature|Attention interrupt feature]]), the current output and request are cancelled.</li> | ||
Press the attention key (PA1) or enter *CANCEL, C, or K, then press the Enter key. Unless an ON ATTENTION statement is in effect (see [[Terminal processing#Attention interrupt feature|Attention interrupt feature]]), the current output and request are cancelled.</li> | |||
<li> | <li>Enter a backpage request (see [[Terminal processing#Backpaging|Backpaging]]).</li> | ||
Enter a backpage request (see [[Terminal processing#Backpaging|Backpaging]]).</li> | |||
<li> | <li>Enter the next input line in anticipation of the next input prompt. The line cannot exceed 53 characters. </li> | ||
Enter the next input line in anticipation of the next input prompt. The line cannot exceed 53 characters. </li> | |||
</ul> | </ul> | ||
<p> | <p> | ||
Line 69: | Line 67: | ||
When using SNA Communications Server, the evaluation of the current SOUL request can be canceled in one of the following ways: </p> | When using SNA Communications Server, the evaluation of the current SOUL request can be canceled in one of the following ways: </p> | ||
<ul> | <ul> | ||
<li> | <li>When the terminal is waiting for a response from Model 204, the user can press the attention key (PA1).</li> | ||
When the terminal is waiting for a response from Model 204, the user can press the attention key (PA1).</li> | |||
<li> | <li>When Model 204 is waiting for input from the terminal or is actively displaying output on the terminal, the user can press the attention key. </li> | ||
When Model 204 is waiting for input from the terminal or is actively displaying output on the terminal, the user can press the attention key. </li> | |||
</ul> | </ul> | ||
<p class="note"><b>Note:</b> When Model 204 is compiling a request or executing a command, the user cannot cancel the operation by pressing the attention key.</p> | <p class="note"><b>Note:</b> When Model 204 is compiling a request or executing a command, the user cannot cancel the operation by pressing the attention key.</p> | ||
===Logging out and disconnecting=== | ===Logging out and disconnecting=== | ||
Line 81: | Line 78: | ||
To disconnect from Model 204, the user logs out (if the LOGOFF procedure is required at the installation) by entering either:</p> | To disconnect from Model 204, the user logs out (if the LOGOFF procedure is required at the installation) by entering either:</p> | ||
<p class="code"><b>LOGOUT</b></p> | <p class="code"><b>LOGOUT</b></p> | ||
<p>or:</p> | <p> | ||
or:</p> | |||
<p class="code"><b>LOGOFF</b></p> | <p class="code"><b>LOGOFF</b></p> | ||
<p> | <p> | ||
The user can then disconnect completely from the system, reconnect to Model 204, or connect to a different application by following the specific procedures defined at the installation.</p> | The user can then disconnect completely from the system, reconnect to Model 204, or connect to a different application by following the specific procedures defined at the installation.</p> | ||
===Screen-formatting parameters=== | ===Screen-formatting parameters=== | ||
Line 90: | Line 88: | ||
The parameters listed in the following table apply to IBM 3270 terminals being used through SNA Communications Server.</p> | The parameters listed in the following table apply to IBM 3270 terminals being used through SNA Communications Server.</p> | ||
<p>The HDRCTL and PGSEP parameters are not listed because they are not used with IBM 3270 terminals.</p> | <p>The <var>[[HDRCTL parameter|HDRCTL]]</var> and <var>[[PGSEP parameter|PGSEP]]</var> parameters are not listed because they are not used with IBM 3270 terminals.</p> | ||
<table> | <table> | ||
<caption style="width:550px">Screen-formatting parameters for SNA Communications Server 3270s</caption> | <caption style="width:550px">Screen-formatting parameters for SNA Communications Server 3270s</caption> | ||
Line 97: | Line 95: | ||
<th>Meaning</th> | <th>Meaning</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>INMRL</td> | <td>INMRL</td> | ||
<td>Maximum input line length for terminal</td> | <td>Maximum input line length for terminal</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>INCCC</td> | <td>INCCC</td> | ||
<td>Input continuation column</td> | <td>Input continuation column</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>LOUTPB</td> | <td>LOUTPB</td> | ||
<td>Length of output page buffer</td> | <td>Length of output page buffer</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>OUTMRL</td> | <td>OUTMRL</td> | ||
<td>Maximum output line length for terminal</td> | <td>Maximum output line length for terminal</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>OUTCCC</td> | <td>OUTCCC</td> | ||
<td>Output continuation column</td> | <td>Output continuation column</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>OUTLPP</td> | <td>OUTLPP</td> | ||
<td>Number of lines per page, including headers and trailers</td> | <td>Number of lines per page, including headers and trailers</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>MODEL</td> | <td>MODEL</td> | ||
<td>Array of screen size parameters for the particular 3270 model</td> | <td>Array of screen size parameters for the particular 3270 model</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>HDRCTL</td> | <td>HDRCTL</td> | ||
Line 131: | Line 137: | ||
</table> | </table> | ||
<p> | <p> | ||
The values of the first five parameters, which determine the size of the screen, are established by the value of the <var>[[MODEL parameter|MODEL]]</var> parameter, which corresponds to the terminal model within the 3270 family. Model 204 automatically sets MODEL to the appropriate value for SNA Communications Server 3270s, but the user also can reset it.</p> | The values of the first five parameters, which determine the size of the screen, are established by the value of the <var>[[MODEL parameter|MODEL]]</var> parameter, which corresponds to the terminal model within the 3270 family. Model 204 automatically sets <var>MODEL</var> to the appropriate value for SNA Communications Server 3270s, but the user also can reset it.</p> | ||
===Terminal model options=== | ===Terminal model options=== | ||
The following table shows the valid settings for <var>MODEL</var>, the corresponding 3270 terminal types, 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 new settings remain in effect for the thread until the user logs out. | |||
The following table shows the valid settings for MODEL, the corresponding 3270 terminal types, 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. The new settings remain in effect for the thread until the user logs out. | |||
<table> | <table> | ||
<caption>Valid MODEL settings for SNA Communications Server 3270s</caption> | <caption>Valid MODEL settings for SNA Communications Server 3270s</caption> | ||
Line 147: | Line 152: | ||
<th>3270 terminal type</th> | <th>3270 terminal type</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>1</td> | <td>1</td> | ||
Line 156: | Line 162: | ||
<td>Model 1</td> | <td>Model 1</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>2</td> | <td>2</td> | ||
Line 165: | Line 172: | ||
<td>Model 2</td> | <td>Model 2</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>3</td> | <td>3</td> | ||
Line 174: | Line 182: | ||
<td>Model 3</td> | <td>Model 3</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>4</td> | <td>4</td> | ||
Line 183: | Line 192: | ||
<td>Model 4</td> | <td>Model 4</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>5</td> | <td>5</td> | ||
Line 195: | Line 205: | ||
===Output page buffer settings=== | ===Output page buffer settings=== | ||
<p class="note"><b>Note:</b> <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.</p> | |||
<p class="note"><b>Note:</b> MODEL is reset only if the size of the output page buffer (LOUTPB) is large enough to hold the new screen size.</p> | <p> | ||
<p>The minimum LOUTPB settings are shown in the following table.</p> | The minimum <var>LOUTPB</var> settings are shown in the following table.</p> | ||
<table> | <table> | ||
<tr class="head"> | <tr class="head"> | ||
<th>MODEL</th> | <th>MODEL</th> | ||
<th>LOUTPB | <th>LOUTPB</th> | ||
</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> | ||
Line 213: | Line 224: | ||
</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 232: | Line 247: | ||
===TERMOPT parameter=== | ===TERMOPT parameter=== | ||
<p> | <p> | ||
TERMOPT consists of a series of switches that can be set independently and can be reset to the following values for 3270s (options can be summed): </p> | <var>TERMOPT</var> consists of a series of switches that can be set independently and can be reset to the following values for 3270s (options can be summed): </p> | ||
<table> | <table> | ||
<tr> | <tr> | ||
Line 238: | Line 253: | ||
<td>SNA Communications Server input exception causes soft restart of user.</td> | <td>SNA Communications Server input exception causes soft restart of user.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>1</td> | <td>1</td> | ||
<td>No soft restart of user.</td> | <td>No soft restart of user.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>2 </td> | <td>2 </td> | ||
<td>Request exception response only (no definite response).</td> | <td>Request exception response only (no definite response).</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>64</td> | <td>64</td> | ||
<td>String | <td>String <code>LOGON</code> is placed before the first logical line of the SNA Communications Server LOGMSG.</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
==IBM 3767 and NTO terminals (IODEV = 37)== | ==IBM 3767 and NTO terminals (IODEV=37)== | ||
<p> | <p> | ||
This section summarizes the information needed to use IBM 3767s and the terminals supported by NTO through SNA Communications Server.</p> | This section summarizes the information needed to use IBM 3767s and the terminals supported by NTO through SNA Communications Server.</p> | ||
<p class="warn"><b>Note:</b> The IODEV=37 setting is no longer supported as of Model 204 version 7.6.</p> | <p class="warn"><b>Note:</b> The <code>IODEV=37</code> setting is no longer supported as of Model 204 version 7.6.</p> | ||
===Input lines=== | ===Input lines=== | ||
<p> | <p> | ||
When Model 204 is ready to accept input, it issues the prompt character and unlocks the keyboard. For 3767s supported by NTO, the prompt is the underscore character (_), which is backspaced over immediately after it is printed. For Teletypes supported by NTO, the prompt is the question mark (?). Once the keyboard is unlocked, the user can enter a single input line, which cannot exceed the number of characters specified in the INMRL parameter. </p> | When Model 204 is ready to accept input, it issues the prompt character and unlocks the keyboard. For 3767s supported by NTO, the prompt is the underscore character (<tt>_</tt>), which is backspaced over immediately after it is printed. For Teletypes supported by NTO, the prompt is the question mark (<tt>?</tt>). Once the keyboard is unlocked, the user can enter a single input line, which cannot exceed the number of characters specified in the <var>INMRL</var> parameter. </p> | ||
<p> | <p> | ||
Therefore, Model 204 treats the following as end-of-message characters:</p> | Therefore, Model 204 treats the following as end-of-message characters:</p> | ||
<table> | <table> | ||
<tr class="head"> | <tr class="head"> | ||
<th>Character</th> | <th>Character</th> | ||
<th>For...</th></tr> | <th>For...</th></tr> | ||
<tr> | <tr> | ||
<td>NL, FF</td> | <td>NL, FF</td> | ||
<td>3767 terminals</td> | <td>3767 terminals</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>CR, LF, XON, XOFF</td> | <td>CR, LF, XON, XOFF</td> | ||
Line 281: | Line 301: | ||
The system pauses at the end of each page of output if:</p> | The system pauses at the end of each page of output if:</p> | ||
<ul> | <ul> | ||
<li>OUTLPP (lines per page) parameter is positive.</li> | <li><var>OUTLPP</var> (lines per page) parameter is positive.</li> | ||
<li>HDRCTL (header control) parameter has been set to 4.</li> | <li><var>HDRCTL</var> (header control) parameter has been set to 4.</li> | ||
</ul> | </ul> | ||
<p> | <p> | ||
Pausing at the bottom of the page allows the user to change the terminal paper or to cancel the current request, if too much output is being received. The system unlocks the keyboard at the bottom of each page to allow the user to enter a response. The user causes continuation of output by entering a null line (Return) or by entering any character.</p> | Pausing at the bottom of the page allows the user to change the terminal paper or to cancel the current request, if too much output is being received. The system unlocks the keyboard at the bottom of each page to allow the user to enter a response. The user causes continuation of output by entering a null line (Return) or by entering any character.</p> | ||
<p> | <p> | ||
If the user is receiving too much output, the attention key (BREAK or ATTN) can be pressed at any time. Unless an ON ATTENTION statement is in effect (see [[Terminal processing#Attention interrupt feature|Attention interrupt feature]]), this cancels all output and aborts the currently running request. If a procedure is being executed at the time of the attention interrupt, all the input lines in the procedure are flushed, and the user is returned to command level. The terminal keyboard is then unlocked, and the terminal immediately signals that it is ready for input again.</p> | If the user is receiving too much output, the attention key (BREAK or ATTN) can be pressed at any time. Unless an <var>ON ATTENTION</var> statement is in effect (see [[Terminal processing#Attention interrupt feature|Attention interrupt feature]]), this cancels all output and aborts the currently running request. If a procedure is being executed at the time of the attention interrupt, all the input lines in the procedure are flushed, and the user is returned to command level. The terminal keyboard is then unlocked, and the terminal immediately signals that it is ready for input again.</p> | ||
<p> | <p> | ||
Pressing the attention key while Model 204 is waiting for input causes the system to respond with an error message, after which it immediately prompts for input.</p> | Pressing the attention key while Model 204 is waiting for input causes the system to respond with an error message, after which it immediately prompts for input.</p> | ||
===Parameter default values=== | ===Parameter default values=== | ||
Line 301: | Line 321: | ||
<th>Default</th> | <th>Default</th> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>INMRL</td> | <td>INMRL</td> | ||
Line 306: | Line 327: | ||
<td style="text-align:right;">80</td> | <td style="text-align:right;">80</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>INCCC</td> | <td>INCCC</td> | ||
Line 311: | Line 333: | ||
<td style="text-align:right;">72</td> | <td style="text-align:right;">72</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>LOUTPB</td> | <td>LOUTPB</td> | ||
Line 316: | Line 339: | ||
<td style="text-align:right;">0</td> | <td style="text-align:right;">0</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>OUTMRL</td> | <td>OUTMRL</td> | ||
Line 321: | Line 345: | ||
<td style="text-align:right;">132</td> | <td style="text-align:right;">132</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>OUTCCC</td> | <td>OUTCCC</td> | ||
Line 326: | Line 351: | ||
<td style="text-align:right;">132</td> | <td style="text-align:right;">132</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>OUTLPP</td> | <td>OUTLPP</td> | ||
Line 331: | Line 357: | ||
<td style="text-align:right;">56</td> | <td style="text-align:right;">56</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>PGSEP</td> | <td>PGSEP</td> | ||
Line 336: | Line 363: | ||
<td style="text-align:right;">2</td> | <td style="text-align:right;">2</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>HDRCTL</td> | <td>HDRCTL</td> | ||
Line 341: | Line 369: | ||
<td style="text-align:right;">0</td> | <td style="text-align:right;">0</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>TERMOPT</td> | <td>TERMOPT</td> | ||
Line 350: | Line 379: | ||
===Resetting parameters=== | ===Resetting parameters=== | ||
<p> | <p> | ||
The settings of INMRL, INCCC, OUTMRL, and OUTCCC can be set individually on the first IODEV=37 CCAIN parameter line(s). They can be reset using the RESET command, but not to a value larger than the IODEV line setting, if any. If a value larger than an IODEV | The settings of <var>INMRL</var>, <var>INCCC</var>, <var>OUTMRL</var>, and <var>OUTCCC</var> can be set individually on the first <code>IODEV=37</code> CCAIN parameter line(s). They can be reset using the <var>RESET</var> command, but not to a value larger than the <var>IODEV</var> line setting, if any. If a value larger than an <var>IODEV</var> value is specified, Model 204 automatically changes it to the <var>IODEV</var> value.</p> | ||
<p> | <p> | ||
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.</p> | <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 others.</p> | ||
<p>HDRCTL can be reset to the following values for 3767s and NTOs:</p> | <p><var>HDRCTL</var> can be reset to the following values for 3767s and NTOs:</p> | ||
<table> | <table> | ||
<tr> | <tr> | ||
Line 360: | Line 389: | ||
<td>Normal headers (system header with date, time, and page number).</td> | <td>Normal headers (system header with date, time, and page number).</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>1</td> | <td>1</td> | ||
<td>Suppress header 0 (system header with date, time, and page number).</td> | <td>Suppress header 0 (system header with date, time, and page number).</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>2</td> | <td>2</td> | ||
<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> | ||
<td>4</td> | <td>4</td> | ||
<td>Pause at the end of an output page. An additional line is added to each page, in addition to OUTLPP plus PGSEP, to receive a reply.</td> | <td>Pause at the end of an output page. An additional line is added to each page, in addition to <var>OUTLPP</var> plus <var>PGSEP</var>, to receive a reply.</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
<p> | <p> | ||
TERMOPT consists of a series of switches that can be set independently and can be reset to the following values for 3767s and NTOs:</p> | <var>TERMOPT</var> consists of a series of switches that can be set independently and can be reset to the following values for 3767s and NTOs:</p> | ||
<table> | <table> | ||
<tr> | <tr> | ||
Line 380: | Line 412: | ||
<td>Default.</td> | <td>Default.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>1</td> | <td>1</td> | ||
<td>No idles are transmitted in the output lines.</td> | <td>No idles are transmitted in the output lines.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>2</td> | <td>2</td> | ||
<td>Terminal is always unlocked.</td> | <td>Terminal is always unlocked.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>64</td> | <td>64</td> | ||
<td>String | <td>String <code>LOGON</code> is placed before the first logical line of the SNA Communications Server LOGMSG.</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
<p class="note"><b>Note:</b> A TERMOPT setting of 2 is required in order for Model 204 to send an XON character to Teletype and Teletype-compatible terminals.</p> | <p class="note"><b>Note:</b> A <var>TERMOPT</var> setting of 2 is required in order for Model 204 to send an XON character to Teletype and Teletype-compatible terminals.</p> | ||
[[Category: Terminal processing and support]] | [[Category: Terminal processing and support]] | ||
[[Category: SNA Communications Server]] | [[Category: SNA Communications Server]] |
Latest revision as of 22:32, 24 March 2017
Overview
This topic describes the procedures to be followed when using SNA Communications Server (formerly VTAM, Virtual Telecommunications Access Method). SNA Communications Server supports the use of:
- IBM 3270s and compatible terminals
- IBM 3767 terminals
- Terminals supported through IBM's Network Terminal Option (NTO).
Each type of terminal that can be used through SNA Communications Server provides slightly different capabilities, responses, and default parameter settings. Read the section of this topic that corresponds to your terminal type.
Getting online
To connect to Model 204 through SNA Communications Server, follow these steps:
- Connect to Model 204 by issuing commands to the SNA Communications Server Control Program. Check with your system administrator for the procedures specific to your site. These procedures might automatically log you on to Model 204.
-
After the connection has been established, the system unlocks the terminal keyboard. If you are not already logged on to Model 204, begin the session by entering the first input line, usually one of the following commands:
LOGIN userid [account]
or:
LOGON userid [account]
These commands are described in detail on the LOGIN or LOGON command wiki page. - After successfully logging in, you can enter an input line, as described in Input lines.
IBM 3270 terminals (IODEV=7)
This section summarizes the information needed to use IBM 3270s through SNA Communications Server.
Note: Model 204 translates all unprintable characters to question marks (?) for output to 3270 terminals, to avoid I/O errors.
Input lines
SNA Communications Server support is provided for two modes of operation: line-at-a-time and full-screen support. In full-screen mode, when Model 204 is prepared to accept input, it issues the prompt character (>) and unlocks the keyboard. The user can now enter an input line.
A physical input line cannot exceed 78 characters; however, using a line continuation character at the end of an input line causes Model 204 to treat the next line as a logical continuation of the previous one.
The user indicates that the line is complete and transmits the line by pressing the Enter key. No data is transmitted until Enter is pressed. The 3270 editing keys can be used to correct the line before Enter transmits it.
With the exception of the RTRVKEY setting, program function (PF) keys are supported by Model 204 only when the user accesses a screen formatted through the SOUL full-screen formatting feature (see Full-screen formatting). 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.
End-of-page pause
Model 204 pauses at the end of each output page and waits for the user to respond before continuing. This allows the user to examine the contents of the screen. Model 204 prompts with an end-of-page prompt (>), indented 25 spaces.
Valid user responses are:
- Enter a null line (Return). The terminal goes on to the next page.
- Press the attention key (PA1) or enter
*CANCEL
,C
, orK
, then press the Enter key. Unless an ON ATTENTION statement is in effect (see Attention interrupt feature), the current output and request are cancelled. - Enter a backpage request (see Backpaging).
- Enter the next input line in anticipation of the next input prompt. The line cannot exceed 53 characters.
As discussed in Pausing, the user can enter only one line of anticipatory input at this time. If the terminal reaches the end-of-page pause for the next page of input, the saved input line is lost.
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.
Canceling the current request
When using SNA Communications Server, the evaluation of the current SOUL request can be canceled in one of the following ways:
- When the terminal is waiting for a response from Model 204, the user can press the attention key (PA1).
- When Model 204 is waiting for input from the terminal or is actively displaying output on the terminal, the user can press the attention key.
Note: When Model 204 is compiling a request or executing a command, the user cannot cancel the operation by pressing the attention key.
Logging out and disconnecting
To disconnect from Model 204, the user logs out (if the LOGOFF procedure is required at the installation) by entering either:
LOGOUT
or:
LOGOFF
The user can then disconnect completely from the system, reconnect to Model 204, or connect to a different application by following the specific procedures defined at the installation.
Screen-formatting parameters
The parameters listed in the following table apply to IBM 3270 terminals being used through SNA Communications Server.
The HDRCTL and PGSEP parameters are not listed because they are not used with IBM 3270 terminals.
Parameter | Meaning |
---|---|
INMRL | Maximum input line length for terminal |
INCCC | Input continuation column |
LOUTPB | Length of output page buffer |
OUTMRL | Maximum output line length for terminal |
OUTCCC | Output continuation column |
OUTLPP | Number of lines per page, including headers and trailers |
MODEL | Array of screen size parameters for the particular 3270 model |
HDRCTL | Page formatting options |
The values of the first five parameters, which determine the size of the screen, are established by the value of the MODEL parameter, which corresponds to the terminal model within the 3270 family. Model 204 automatically sets MODEL to the appropriate value for SNA Communications Server 3270s, but the user also can reset it.
Terminal model options
The following table shows the valid settings for MODEL, the corresponding 3270 terminal types, 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. The new settings remain in effect for the thread until the user logs out.
MODEL | INMRL | INCCC | OUTMRL | OUTCCC | OUTLPP | 3270 terminal type |
---|---|---|---|---|---|---|
1 | 78 | 78 | 80 | 80 | 11 | Model 1 |
2 | 78 | 78 | 80 | 80 | 23 | Model 2 |
3 | 78 | 78 | 80 | 80 | 31 | Model 3 |
4 | 78 | 78 | 80 | 80 | 42 | Model 4 |
5 | 130 | 130 | 132 | 132 | 26 | Model 5 |
Output page buffer settings
Note: 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 shown in the following table.
MODEL | LOUTPB |
---|---|
0 | 1170 |
1 | 1170 |
2 | 2130 |
3 | 2770 |
4 | 3650 |
5 | 3774 |
TERMOPT parameter
TERMOPT consists of a series of switches that can be set independently and can be reset to the following values for 3270s (options can be summed):
0 | SNA Communications Server input exception causes soft restart of user. |
1 | No soft restart of user. |
2 | Request exception response only (no definite response). |
64 | String LOGON is placed before the first logical line of the SNA Communications Server LOGMSG. |
IBM 3767 and NTO terminals (IODEV=37)
This section summarizes the information needed to use IBM 3767s and the terminals supported by NTO through SNA Communications Server.
Note: The IODEV=37
setting is no longer supported as of Model 204 version 7.6.
Input lines
When Model 204 is ready to accept input, it issues the prompt character and unlocks the keyboard. For 3767s supported by NTO, the prompt is the underscore character (_), which is backspaced over immediately after it is printed. For Teletypes supported by NTO, the prompt is the question mark (?). Once the keyboard is unlocked, the user can enter a single input line, which cannot exceed the number of characters specified in the INMRL parameter.
Therefore, Model 204 treats the following as end-of-message characters:
Character | For... |
---|---|
NL, FF | 3767 terminals |
CR, LF, XON, XOFF | Teletypes and Teletype-compatible terminals |
Pausing and canceling output
The system pauses at the end of each page of output if:
- OUTLPP (lines per page) parameter is positive.
- HDRCTL (header control) parameter has been set to 4.
Pausing at the bottom of the page allows the user to change the terminal paper or to cancel the current request, if too much output is being received. The system unlocks the keyboard at the bottom of each page to allow the user to enter a response. The user causes continuation of output by entering a null line (Return) or by entering any character.
If the user is receiving too much output, the attention key (BREAK or ATTN) can be pressed at any time. Unless an ON ATTENTION statement is in effect (see Attention interrupt feature), this cancels all output and aborts the currently running request. If a procedure is being executed at the time of the attention interrupt, all the input lines in the procedure are flushed, and the user is returned to command level. The terminal keyboard is then unlocked, and the terminal immediately signals that it is ready for input again.
Pressing the attention key while Model 204 is waiting for input causes the system to respond with an error message, after which it immediately prompts for input.
Parameter default values
The following table shows the parameter default values that apply to 3767s and NTO terminals being used through SNA Communications Server.
Parameter | Meaning | Default |
---|---|---|
INMRL | Maximum input line length for terminal | 80 |
INCCC | Input continuation column | 72 |
LOUTPB | Length of output page buffer | 0 |
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 |
Resetting parameters
The settings of INMRL, INCCC, OUTMRL, and OUTCCC can be set individually on the first IODEV=37
CCAIN parameter line(s). They can be reset using the RESET command, but not to a value larger than the IODEV line setting, if any. If a value larger than an IODEV value is specified, Model 204 automatically changes it to the IODEV value.
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 3767s and NTOs:
0 | Normal headers (system header with date, time, and page number). |
1 | Suppress header 0 (system header with 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. An additional line is added 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 3767s and NTOs:
0 | Default. |
1 | No idles are transmitted in the output lines. |
2 | Terminal is always unlocked. |
64 | String LOGON is placed before the first logical line of the SNA Communications Server LOGMSG. |
Note: A TERMOPT setting of 2 is required in order for Model 204 to send an XON character to Teletype and Teletype-compatible terminals.