<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: How to restrict &#8220;Enter key&#8217; on the AS/400 display file.</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/how-to-restrict-enter-key-on-the-display-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-restrict-enter-key-on-the-display-file/</link>
	<description></description>
	<pubDate>Sat, 28 Nov 2009 05:18:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Splat</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-restrict-enter-key-on-the-display-file/#comment-65079</link>
		<dc:creator>Splat</dc:creator>
		<pubDate>Fri, 03 Jul 2009 14:39:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-65079</guid>
		<description>Another option would be to use the attention indicator byte (pos. 369 - 369 (character) in the workstation INFDS) to determine the function key pressed.  [B]Enter[/B] is defined as [I]x'F1'[/I] - look for that and disallow any processing.  This would let you keep other function keys on the screen active.  You can even check for [B]Auto-Enter[/B], [I]x'3F'[/I]

I like the attention indicator byte - I haven't bothered attaching an indicator to a function key in ages.  I just compare the field defined on the INFDS to pre-defined constants.  You can find the definitions of the returned values [A href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/dm/rbal3getat.htm"]here[/A].</description>
		<content:encoded><![CDATA[<p>Another option would be to use the attention indicator byte (pos. 369 - 369 (character) in the workstation INFDS) to determine the function key pressed.  <b>Enter</b> is defined as <i>x&#8217;F1&#8242;</i> - look for that and disallow any processing.  This would let you keep other function keys on the screen active.  You can even check for <b>Auto-Enter</b>, <i>x&#8217;3F&#8217;</i></p>
<p>I like the attention indicator byte - I haven&#8217;t bothered attaching an indicator to a function key in ages.  I just compare the field defined on the INFDS to pre-defined constants.  You can find the definitions of the returned values <a href="http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/dm/rbal3getat.htm">here</a>.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- dynamic -->