 




<?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: When doing a chain the (HI) indicator return with &#8217;1&#8242;. But if I do a query on the same file I can see that the record is in the file.</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/when-doing-a-chain-the-hi-indicator-return-with-1-but-if-i-do-a-query-on-the-same-file-i-can-see-that-the-record-is-in-the-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/when-doing-a-chain-the-hi-indicator-return-with-1-but-if-i-do-a-query-on-the-same-file-i-can-see-that-the-record-is-in-the-file/</link>
	<description></description>
	<lastBuildDate>Thu, 23 May 2013 11:00:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: 9053303479</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/when-doing-a-chain-the-hi-indicator-return-with-1-but-if-i-do-a-query-on-the-same-file-i-can-see-that-the-record-is-in-the-file/#comment-106990</link>
		<dc:creator>9053303479</dc:creator>
		<pubDate>Thu, 26 Apr 2012 16:05:43 +0000</pubDate>
		<guid isPermaLink="false">#comment-106990</guid>
		<description><![CDATA[JUST HAD THIS PROBLEM. I WAS MISSING THE K( KEYED) FILE IN THE F SPECS.
THOUGHT I WOULD PASS THIS ALONG]]></description>
		<content:encoded><![CDATA[<p>JUST HAD THIS PROBLEM. I WAS MISSING THE K( KEYED) FILE IN THE F SPECS.<br />
THOUGHT I WOULD PASS THIS ALONG</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: supriyob2</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/when-doing-a-chain-the-hi-indicator-return-with-1-but-if-i-do-a-query-on-the-same-file-i-can-see-that-the-record-is-in-the-file/#comment-71685</link>
		<dc:creator>supriyob2</dc:creator>
		<pubDate>Wed, 16 Dec 2009 13:19:48 +0000</pubDate>
		<guid isPermaLink="false">#comment-71685</guid>
		<description><![CDATA[Hi..
I think it can be because of 
1. pgm is not referring to the correct version of the file in the library.
2.The key sequence is not in order..]]></description>
		<content:encoded><![CDATA[<p>Hi..<br />
I think it can be because of<br />
1. pgm is not referring to the correct version of the file in the library.<br />
2.The key sequence is not in order..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/when-doing-a-chain-the-hi-indicator-return-with-1-but-if-i-do-a-query-on-the-same-file-i-can-see-that-the-record-is-in-the-file/#comment-71616</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Tue, 15 Dec 2009 08:31:08 +0000</pubDate>
		<guid isPermaLink="false">#comment-71616</guid>
		<description><![CDATA[Since it&#039;s RPGIII, there is no %FOUND bif, nor can it be coded /free style.

The suggestion to check record ID indicator is good, but it should cause the indicator to be on more often. Still, a detail check through the program to ensure that nothing else can set that indicator on is the best idea so far.

Tom]]></description>
		<content:encoded><![CDATA[<p>Since it&#8217;s RPGIII, there is no %FOUND bif, nor can it be coded /free style.</p>
<p>The suggestion to check record ID indicator is good, but it should cause the indicator to be on more often. Still, a detail check through the program to ensure that nothing else can set that indicator on is the best idea so far.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bobbys40</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/when-doing-a-chain-the-hi-indicator-return-with-1-but-if-i-do-a-query-on-the-same-file-i-can-see-that-the-record-is-in-the-file/#comment-39376</link>
		<dc:creator>bobbys40</dc:creator>
		<pubDate>Mon, 11 Sep 2006 09:05:08 +0000</pubDate>
		<guid isPermaLink="false">#comment-39376</guid>
		<description><![CDATA[oops - I meant update not input.]]></description>
		<content:encoded><![CDATA[<p>oops &#8211; I meant update not input.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bobbys40</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/when-doing-a-chain-the-hi-indicator-return-with-1-but-if-i-do-a-query-on-the-same-file-i-can-see-that-the-record-is-in-the-file/#comment-39377</link>
		<dc:creator>bobbys40</dc:creator>
		<pubDate>Mon, 11 Sep 2006 09:03:36 +0000</pubDate>
		<guid isPermaLink="false">#comment-39377</guid>
		<description><![CDATA[Did you check the indicator before the chain. Had this happen many years ago on the Sys36. Turned out the file was defined Input Demand and not Input Full procedural. The Demand option does NOT turn off indicator if chain succesful.]]></description>
		<content:encoded><![CDATA[<p>Did you check the indicator before the chain. Had this happen many years ago on the Sys36. Turned out the file was defined Input Demand and not Input Full procedural. The Demand option does NOT turn off indicator if chain succesful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: atgidm</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/when-doing-a-chain-the-hi-indicator-return-with-1-but-if-i-do-a-query-on-the-same-file-i-can-see-that-the-record-is-in-the-file/#comment-39378</link>
		<dc:creator>atgidm</dc:creator>
		<pubDate>Sun, 10 Sep 2006 12:28:41 +0000</pubDate>
		<guid isPermaLink="false">#comment-39378</guid>
		<description><![CDATA[Setting the force write ratio to 1 will work but this affects every time records are written to this file while trying to overcome one problem in one RPG program, so depending on how many other applications are writing to the file could affect system performance.  There is an opcode FEOD(force end of data) which having after your WRITE opcode forces the record to be written to the disk so it does not get buffered and a subsequent chain would then find the record.]]></description>
		<content:encoded><![CDATA[<p>Setting the force write ratio to 1 will work but this affects every time records are written to this file while trying to overcome one problem in one RPG program, so depending on how many other applications are writing to the file could affect system performance.  There is an opcode FEOD(force end of data) which having after your WRITE opcode forces the record to be written to the disk so it does not get buffered and a subsequent chain would then find the record.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kbarnette</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/when-doing-a-chain-the-hi-indicator-return-with-1-but-if-i-do-a-query-on-the-same-file-i-can-see-that-the-record-is-in-the-file/#comment-39379</link>
		<dc:creator>kbarnette</dc:creator>
		<pubDate>Sun, 10 Sep 2006 11:33:16 +0000</pubDate>
		<guid isPermaLink="false">#comment-39379</guid>
		<description><![CDATA[There is one more consideration.  If the programs is writing the record in question; and then the program chains for it soon after to see if it already exists, then the issue could be the system is not writing the output buffer to disk.  If this is the case, then set force write ratio to 1 for the file.  This forces the system to write the record immed. to disk so it can be found with additional chains to the file.]]></description>
		<content:encoded><![CDATA[<p>There is one more consideration.  If the programs is writing the record in question; and then the program chains for it soon after to see if it already exists, then the issue could be the system is not writing the output buffer to disk.  If this is the case, then set force write ratio to 1 for the file.  This forces the system to write the record immed. to disk so it can be found with additional chains to the file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michlw</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/when-doing-a-chain-the-hi-indicator-return-with-1-but-if-i-do-a-query-on-the-same-file-i-can-see-that-the-record-is-in-the-file/#comment-39380</link>
		<dc:creator>michlw</dc:creator>
		<pubDate>Thu, 07 Sep 2006 06:18:31 +0000</pubDate>
		<guid isPermaLink="false">#comment-39380</guid>
		<description><![CDATA[Are you debugging interactive, if so press F21 while debugging and check the file in this case.

Check library list

Check for OPNQRYFILE]]></description>
		<content:encoded><![CDATA[<p>Are you debugging interactive, if so press F21 while debugging and check the file in this case.</p>
<p>Check library list</p>
<p>Check for OPNQRYFILE</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ddune3566</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/when-doing-a-chain-the-hi-indicator-return-with-1-but-if-i-do-a-query-on-the-same-file-i-can-see-that-the-record-is-in-the-file/#comment-39381</link>
		<dc:creator>ddune3566</dc:creator>
		<pubDate>Tue, 05 Sep 2006 08:48:42 +0000</pubDate>
		<guid isPermaLink="false">#comment-39381</guid>
		<description><![CDATA[This happended to a co-worker many years ago.
He chained to a file and it did not get a hit.
The key was setup correctly
We used dbu to look for the record and it was there.
After some time we relised that 1 of the fields that was blank had a hexidecial code of a special character that could not be displayed on the screen and therefore showed as blank.  This must have been keyed in by a user and they fat fingerd the keys when entering the data.]]></description>
		<content:encoded><![CDATA[<p>This happended to a co-worker many years ago.<br />
He chained to a file and it did not get a hit.<br />
The key was setup correctly<br />
We used dbu to look for the record and it was there.<br />
After some time we relised that 1 of the fields that was blank had a hexidecial code of a special character that could not be displayed on the screen and therefore showed as blank.  This must have been keyed in by a user and they fat fingerd the keys when entering the data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stanzg</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/when-doing-a-chain-the-hi-indicator-return-with-1-but-if-i-do-a-query-on-the-same-file-i-can-see-that-the-record-is-in-the-file/#comment-39382</link>
		<dc:creator>stanzg</dc:creator>
		<pubDate>Wed, 30 Aug 2006 10:23:34 +0000</pubDate>
		<guid isPermaLink="false">#comment-39382</guid>
		<description><![CDATA[One more shot in the dark. If you have I specs check for any indicators there. I have seen a record indicator coded the same as a chain indicator causing this kind of problem. Change the code to %Found(FileName) and see if this doesn&#039;t fix it.]]></description>
		<content:encoded><![CDATA[<p>One more shot in the dark. If you have I specs check for any indicators there. I have seen a record indicator coded the same as a chain indicator causing this kind of problem. Change the code to %Found(FileName) and see if this doesn&#8217;t fix it.</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 6/9 queries in 0.016 seconds using memcached
Object Caching 394/397 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-23 11:27:47 -->