<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: RPGLE</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/rpgle-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-2/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 04:33:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: teandy</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-2/#comment-69497</link>
		<dc:creator>teandy</dc:creator>
		<pubDate>Mon, 26 Oct 2009 16:18:35 +0000</pubDate>
		<guid isPermaLink="false">#comment-69497</guid>
		<description><![CDATA[Something else you can do is create your own indicator.  For example:

D  VALID_FIELD    S               N   INZ(*OFF)]]></description>
		<content:encoded><![CDATA[<p>Something else you can do is create your own indicator.  For example:</p>
<p>D  VALID_FIELD    S               N   INZ(*OFF)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aceofdelts</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-2/#comment-69442</link>
		<dc:creator>aceofdelts</dc:creator>
		<pubDate>Fri, 23 Oct 2009 21:25:08 +0000</pubDate>
		<guid isPermaLink="false">#comment-69442</guid>
		<description><![CDATA[A technique I&#039;ve used on occaision uses no indicators at all.

Define a text field to the length of your text (so 16 is fine for your example). Reset it to blanks and then fill it with &quot;F19 ...&quot; if your history criteria is met (before rendering the screen, of course).

Downside is it might not support use as a hot key (all of my iSeries users do this via an &quot;F&quot; key anyway).

Mike L.]]></description>
		<content:encoded><![CDATA[<p>A technique I&#8217;ve used on occaision uses no indicators at all.</p>
<p>Define a text field to the length of your text (so 16 is fine for your example). Reset it to blanks and then fill it with &#8220;F19 &#8230;&#8221; if your history criteria is met (before rendering the screen, of course).</p>
<p>Downside is it might not support use as a hot key (all of my iSeries users do this via an &#8220;F&#8221; key anyway).</p>
<p>Mike L.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-2/#comment-69069</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Wed, 14 Oct 2009 23:13:43 +0000</pubDate>
		<guid isPermaLink="false">#comment-69069</guid>
		<description><![CDATA[&lt;i&gt;...i tried to use H and U indicators in display file to make the field ND...&lt;/i&gt;

Review a DDS manual for display files for the DSPATR keyword. In particular, look at the DSPATR(&amp;program-to-system-field) option. You don&#039;t need an indicator to condition non-display (nor most other attributes). You define a hidden program-to-system field and put the hex attribute value into it when you write the display. For non-display, the P-field value is given as x&#039;27&#039; in the DDS manual. No indicator needed.

Alternatively, you simply pass the text to the display in an output field. When you want it to show up, you put the text in the field. When you don&#039;t want it to show up, put blanks in the field.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>&#8230;i tried to use H and U indicators in display file to make the field ND&#8230;</i></p>
<p>Review a DDS manual for display files for the DSPATR keyword. In particular, look at the DSPATR(&amp;program-to-system-field) option. You don&#8217;t need an indicator to condition non-display (nor most other attributes). You define a hidden program-to-system field and put the hex attribute value into it when you write the display. For non-display, the P-field value is given as x&#8217;27&#8242; in the DDS manual. No indicator needed.</p>
<p>Alternatively, you simply pass the text to the display in an output field. When you want it to show up, you put the text in the field. When you don&#8217;t want it to show up, put blanks in the field.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nutangujar</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-2/#comment-69066</link>
		<dc:creator>nutangujar</dc:creator>
		<pubDate>Wed, 14 Oct 2009 21:57:41 +0000</pubDate>
		<guid isPermaLink="false">#comment-69066</guid>
		<description><![CDATA[Thank you so much guys...

I&#039;was trying to add new funtionality in existing huge program...
i identified some existing chain operations in the program where i can replace indicators with %found()

plus i tried to use H and U indicators in display file to make the field ND but AS400 didnt like it so i cudnt...

I&#039;m really afraid of doing surgery to that existing huge and infamous program so 
next I&#039;m planning to try some non-indicator logic which I&#039;m totally unaware of...

Thanks once again!!!
-NG]]></description>
		<content:encoded><![CDATA[<p>Thank you so much guys&#8230;</p>
<p>I&#8217;was trying to add new funtionality in existing huge program&#8230;<br />
i identified some existing chain operations in the program where i can replace indicators with %found()</p>
<p>plus i tried to use H and U indicators in display file to make the field ND but AS400 didnt like it so i cudnt&#8230;</p>
<p>I&#8217;m really afraid of doing surgery to that existing huge and infamous program so<br />
next I&#8217;m planning to try some non-indicator logic which I&#8217;m totally unaware of&#8230;</p>
<p>Thanks once again!!!<br />
-NG</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: splat</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-2/#comment-69064</link>
		<dc:creator>splat</dc:creator>
		<pubDate>Wed, 14 Oct 2009 20:23:55 +0000</pubDate>
		<guid isPermaLink="false">#comment-69064</guid>
		<description><![CDATA[Don&#039;t use indicators for your function keys, use the AID field in the DSPF INFDS.]]></description>
		<content:encoded><![CDATA[<p>Don&#8217;t use indicators for your function keys, use the AID field in the DSPF INFDS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yorkshireman</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-2/#comment-69030</link>
		<dc:creator>yorkshireman</dc:creator>
		<pubDate>Wed, 14 Oct 2009 13:14:42 +0000</pubDate>
		<guid isPermaLink="false">#comment-69030</guid>
		<description><![CDATA[Sheesh - I once had a programmer &#039;who ran out of indicators&#039;

your logic generally only needs one,  file and diplay conditions a few more


time to do surgery on the program.]]></description>
		<content:encoded><![CDATA[<p>Sheesh &#8211; I once had a programmer &#8216;who ran out of indicators&#8217;</p>
<p>your logic generally only needs one,  file and diplay conditions a few more</p>
<p>time to do surgery on the program.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/rpgle-2/#comment-69011</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 13 Oct 2009 22:25:27 +0000</pubDate>
		<guid isPermaLink="false">#comment-69011</guid>
		<description><![CDATA[The only indicator that seems to be needed is one that enables the CA19 or CF19 F-key in the record format. Since the conditions already seem to be known in the program, any conditioning indicator(s) also would be known already. What do you need to use an indicator for? You don&#039;t need one to display the [F19=View History] text -- that can be done simply by populating a field with either blanks or the text, or perhaps with DSPATR(&amp;P-field).

Or do you need to come up with a new set of resulting indicators in the program?

The real answer is to start getting rid of any indicators going to the screen and being used in the program. Except for a few subfile keywords, no other indicators are required. And numbered indicators in the program can be mostly eliminated, either by using %bifs or by substituting named indicator fields.

Surely you can find a couple indicators that are used in only a couple program instructions and eliminate them. Once replaced by code that doesn&#039;t need a resulting/conditioning indicator, the previously used indicator can be used for your CA19 conditioning.

Tom]]></description>
		<content:encoded><![CDATA[<p>The only indicator that seems to be needed is one that enables the CA19 or CF19 F-key in the record format. Since the conditions already seem to be known in the program, any conditioning indicator(s) also would be known already. What do you need to use an indicator for? You don&#8217;t need one to display the [F19=View History] text &#8212; that can be done simply by populating a field with either blanks or the text, or perhaps with DSPATR(&amp;P-field).</p>
<p>Or do you need to come up with a new set of resulting indicators in the program?</p>
<p>The real answer is to start getting rid of any indicators going to the screen and being used in the program. Except for a few subfile keywords, no other indicators are required. And numbered indicators in the program can be mostly eliminated, either by using %bifs or by substituting named indicator fields.</p>
<p>Surely you can find a couple indicators that are used in only a couple program instructions and eliminate them. Once replaced by code that doesn&#8217;t need a resulting/conditioning indicator, the previously used indicator can be used for your CA19 conditioning.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.039 seconds using memcached
Object Caching 351/357 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 07:28:56 -->