 




<?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: Primary file</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/primary-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/primary-file/</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 04:11:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: nuccio</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/primary-file/#comment-107173</link>
		<dc:creator>nuccio</dc:creator>
		<pubDate>Thu, 03 May 2012 17:31:13 +0000</pubDate>
		<guid isPermaLink="false">#comment-107173</guid>
		<description><![CDATA[Post your &quot;F&quot; and &quot;I&quot; and first &quot;C&quot; spec, then we can explain method 

Work with the &quot;primary&quot; files is very efficient, but it is of difficulty understanding, it depends how the primary key is defined, what breakups of level is desired to manage......

You must search RPGII cicle.

Bye]]></description>
		<content:encoded><![CDATA[<p>Post your &#8220;F&#8221; and &#8220;I&#8221; and first &#8220;C&#8221; spec, then we can explain method </p>
<p>Work with the &#8220;primary&#8221; files is very efficient, but it is of difficulty understanding, it depends how the primary key is defined, what breakups of level is desired to manage&#8230;&#8230;</p>
<p>You must search RPGII cicle.</p>
<p>Bye</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mdratwa</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/primary-file/#comment-107165</link>
		<dc:creator>mdratwa</dc:creator>
		<pubDate>Thu, 03 May 2012 15:18:16 +0000</pubDate>
		<guid isPermaLink="false">#comment-107165</guid>
		<description><![CDATA[Sorry - I am a COBOL programmer.  Many, many years ago - back on old RPG, if you did not enter a &quot;K&quot; for keyed, the file is read by arrival sequence.  Not sure what the latest version of RPG handle the file, but I would think that is would be read by arrival sequence or by key.  (Why not dup the file (in test lib) and copy a few dozen records and run the program and see how the file is read.)]]></description>
		<content:encoded><![CDATA[<p>Sorry &#8211; I am a COBOL programmer.  Many, many years ago &#8211; back on old RPG, if you did not enter a &#8220;K&#8221; for keyed, the file is read by arrival sequence.  Not sure what the latest version of RPG handle the file, but I would think that is would be read by arrival sequence or by key.  (Why not dup the file (in test lib) and copy a few dozen records and run the program and see how the file is read.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/primary-file/#comment-107147</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Thu, 03 May 2012 02:44:50 +0000</pubDate>
		<guid isPermaLink="false">#comment-107147</guid>
		<description><![CDATA[This is a supported but mature subset of RPG.
It allows the creation of reports with no statements (C specs), although it can be used in conjunction with C specs.  
It&#039;s a powerful tool, almost a seperate language. 

Some programmers swear by and others swear at it.
Phil]]></description>
		<content:encoded><![CDATA[<p>This is a supported but mature subset of RPG.<br />
It allows the creation of reports with no statements (C specs), although it can be used in conjunction with C specs.<br />
It&#8217;s a powerful tool, almost a seperate language. </p>
<p>Some programmers swear by and others swear at it.<br />
Phil</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/primary-file/#comment-107134</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Wed, 02 May 2012 22:13:48 +0000</pubDate>
		<guid isPermaLink="false">#comment-107134</guid>
		<description><![CDATA[&lt;i&gt;But can anyone let me know how these primary file is read?&lt;/i&gt;

Can you explain what you mean by the word &quot;how&quot;?

One answer is that the compiler inserts instructions to call the DB2 routines that read records into the compiled program. The DB2 routines perform the reads just like they would if you coded READ instructions into your program source.

Another answer might show an example from SQL:
&lt;pre&gt;INSERT INTO TSTINSERT                                     
with t1 (num, nam) as (SELECT CUSNUM, LSTNAM from QIWS/QCUSTCDT)
 SELECT num, nam from t1&lt;/pre&gt;                                
That will insert rows into a table named TSTINSERT by retrieving rows from IBM&#039;s example file in QIWS named QCUSTCDT.

But &quot;how&quot; does it read records in order to get the values?

In some sense, the answer is simply &quot;It just does it. It doesn&#039;t matter how.&quot;

Tom]]></description>
		<content:encoded><![CDATA[<p><i>But can anyone let me know how these primary file is read?</i></p>
<p>Can you explain what you mean by the word &#8220;how&#8221;?</p>
<p>One answer is that the compiler inserts instructions to call the DB2 routines that read records into the compiled program. The DB2 routines perform the reads just like they would if you coded READ instructions into your program source.</p>
<p>Another answer might show an example from SQL:</p>
<pre>INSERT INTO TSTINSERT                                     
with t1 (num, nam) as (SELECT CUSNUM, LSTNAM from QIWS/QCUSTCDT)
 SELECT num, nam from t1</pre>
<p>That will insert rows into a table named TSTINSERT by retrieving rows from IBM&#8217;s example file in QIWS named QCUSTCDT.</p>
<p>But &#8220;how&#8221; does it read records in order to get the values?</p>
<p>In some sense, the answer is simply &#8220;It just does it. It doesn&#8217;t matter how.&#8221;</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.044 seconds using memcached
Object Caching 309/315 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-24 04:39:24 -->