ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/qwssetws.htm

205 lines
5.3 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>Set Keyboard Buffering (QWSSETWS) API</title>
<!-- Begin Header Records ========================================= -->
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!-- File cleanup completed by v2cdijab -->
<!--End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<a name="Top_Of_Page"></a>
<!--Java sync-link-->
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
</script>
<h2>Set Keyboard Buffering(QWSSETWS)API</h2>
<div class="box" style="width: 80%;">
<br>
&nbsp;&nbsp;Required Parameter Group:<br>
<!-- iddvc RMBR -->
<br>
<table width="100%">
<tr>
<td align="center" valign="top" width="10%">1</td>
<td align="left" valign="top" width="50%">Keyboard buffering</td>
<td align="left" valign="top" width="20%">Input</td>
<td align="left" valign="top" width="20%">Char(1)</td>
</tr>
</table>
<br>
&nbsp;&nbsp;Optional Parameter Group:<br>
<!-- iddvc RMBR -->
<br>
<table width="100%">
<tr>
<td align="center" valign="top" width="10%">2</td>
<td align="left" valign="top" width="50%">Device name</td>
<td align="left" valign="top" width="20%">Input</td>
<td align="left" valign="top" width="20%">Char(10)</td>
</tr>
</table>
<br>
&nbsp;&nbsp;Default Public Authority: *USE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: No<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>The Set Keyboard Buffering (QWSSETWS) API controls the type-ahead and
attention key buffering functions for a display. With the QWSSETWS API, you
can:</p>
<ul>
<li>Turn both functions off</li>
<li>Turn both functions on</li>
<li>Turn on the type-ahead function without buffering the Attention ke y</li>
<li>Send the data stream to a specific device</li>
</ul>
<p>Any changes to the keyboard buffering value made through this program take
effect immediately.</p>
<p>The keyboard buffering data stream is supported by the ASCII Work Station
Input/Output Processor, Twinaxial Work Station Input/Output Processor, 5394
Remote Control Unit, and 5494 Control Unit. Keyboard buffering for personal
computer systems attached using iSeries Access or work station emulation (WSE)
is controlled through the emulation programs; these devices do not support the
type-ahead data stream.</p>
<br>
<h3>Authorities and Locks</h3>
<dl>
<dt><em>Device Authority</em></dt>
<dd>*USE</dd>
<dt><em>Display File QDWSTYPA Authority</em></dt>
<dd>*USE</dd>
</dl>
<br>
<h3>Required Parameter Group</h3>
<dl>
<dt><strong>Keyboard buffering</strong></dt>
<dd>INPUT; CHAR(1)
<p>The setting for keyboard buffering for a display. Valid values are:</p>
<table cellpadding="5">
<!-- cols="5 95" -->
<tr>
<td align="left" valign="top"><em>0</em></td>
<td align="left" valign="top">The type-ahead and attention key buffering
functions are off.</td>
</tr>
<tr>
<td align="left" valign="top"><em>1</em></td>
<td align="left" valign="top">The type-ahead and attention key buffering
functions are on.</td>
</tr>
<tr>
<td align="left" valign="top"><em>2</em></td>
<td align="left" valign="top">The type-ahead function is on, and the attention
key buffering function is off.</td>
</tr>
</table>
</dd>
</dl>
<br>
<h3>Optional Parameter</h3>
<dl>
<dt><strong>Device name</strong></dt>
<dd>INPUT; CHAR(10)
<p>The device to set the keyboard buffering value on. You can specify the name
of a particular device or use this special value:</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>*REQUESTER</em></td>
<td align="left" valign="top">The keyboard buffering value is set on the job's
requesting program device. This is the default.</td>
</tr>
</table>
</dd>
</dl>
<br>
<h3>Error Messages</h3>
<table width="100%" cellpadding="5">
<!-- cols="15 85" -->
<tr>
<th align="left" valign="top">Message ID</th>
<th align="left" valign="top">Error Message Text</th>
</tr>
<tr>
<td align="left" valign="top" width="15%">CPF3C90 E</td>
<td align="left" valign="top" width="85%">Literal value cannot be changed.</td>
</tr>
<tr>
<td align="left" valign="top">CPF94FC E</td>
<td align="left" valign="top">Type-ahead data stream not supported by
controller.</td>
</tr>
<tr>
<td align="left" valign="top">CPF94FD E</td>
<td align="left" valign="top">Type-ahead option parameter value not valid.</td>
</tr>
<tr>
<td align="left" valign="top">CPF9872 E</td>
<td align="left" valign="top">Program or service program &amp;1 in library
&amp;2 ended. Reason code &amp;3.</td>
</tr>
</table>
<br>
<hr>
API introduced: V2R1
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center">
<a href="#Top">Top</a> |
<a href="wss1.htm">Work Station Support APIs</a> |
<a href="aplist.htm">APIs by category</a></td>
</tr>
</table>
</center>
</body>
</html>