<?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: Error in subfile programming</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/error-in-subfile-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/error-in-subfile-programming/</link>
	<description></description>
	<lastBuildDate>Thu, 20 Jun 2013 09:42:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: SURYAP</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error-in-subfile-programming/#comment-111474</link>
		<dc:creator>SURYAP</dc:creator>
		<pubDate>Tue, 25 Sep 2012 11:09:27 +0000</pubDate>
		<guid isPermaLink="false">#comment-111474</guid>
		<description><![CDATA[Just Update record in physical file and try]]></description>
		<content:encoded><![CDATA[<p>Just Update record in physical file and try</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Most-Watched IT Questions: February 22, 2011 - ITKE Community Blog</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error-in-subfile-programming/#comment-88451</link>
		<dc:creator>The Most-Watched IT Questions: February 22, 2011 - ITKE Community Blog</dc:creator>
		<pubDate>Tue, 22 Feb 2011 06:32:57 +0000</pubDate>
		<guid isPermaLink="false">#comment-88451</guid>
		<description><![CDATA[[...] CharlieBrowne and TomLiotta collaborate to remedy the error in subfile programming that Sangay&#8217;s been receiving.  6. Rechil and Mrdenny are in the process of helping a member [...]]]></description>
		<content:encoded><![CDATA[<p>[...] CharlieBrowne and TomLiotta collaborate to remedy the error in subfile programming that Sangay&#8217;s been receiving.  6. Rechil and Mrdenny are in the process of helping a member [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error-in-subfile-programming/#comment-87910</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 10 Feb 2011 23:04:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-87910</guid>
		<description><![CDATA[&lt;i&gt;...READ Operation entry is invalid for the Subfile-Record...&lt;/i&gt;

Yes, that&#039;s exactly correct. The actual input operation code should be either a CHAIN by relative record number or READC to get the next changed subfile record.

But note that neither op-code can actually run until after the subfile is built.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>&#8230;READ Operation entry is invalid for the Subfile-Record&#8230;</i></p>
<p>Yes, that&#8217;s exactly correct. The actual input operation code should be either a CHAIN by relative record number or READC to get the next changed subfile record.</p>
<p>But note that neither op-code can actually run until after the subfile is built.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error-in-subfile-programming/#comment-87905</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Thu, 10 Feb 2011 22:47:48 +0000</pubDate>
		<guid isPermaLink="false">#comment-87905</guid>
		<description><![CDATA[Is that the entire RPG program or only pieces of it? It looks like the only thing the program does is attempt to read the RECCTL control record. The subroutine that generates the subfile rows is not executed anywhere that I can see.

Tom]]></description>
		<content:encoded><![CDATA[<p>Is that the entire RPG program or only pieces of it? It looks like the only thing the program does is attempt to read the RECCTL control record. The subroutine that generates the subfile rows is not executed anywhere that I can see.</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sangay</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error-in-subfile-programming/#comment-87877</link>
		<dc:creator>sangay</dc:creator>
		<pubDate>Thu, 10 Feb 2011 17:08:29 +0000</pubDate>
		<guid isPermaLink="false">#comment-87877</guid>
		<description><![CDATA[DDS is as follows:-

A                                      DSPSIZ(24 80 *DS3) 
A          R RECSFL                    SFL                
A  30                                  SFLNXTCHG          
A            UPC           20   B  8  3TEXT(&#039;UPC 2ND ITEM&#039;
A  31                                  DSPATR(UL)         
A*                                                        
A          R RECCTL                    SFLCTL(RECSFL)     
A*                                                        
A                                      SFLSIZ(0010)       
A                                      SFLPAG(0005)       
A  10                                  SFLDSP             
A  10                                  SFLDSPCTL          
A N10                                  SFLCLR             
A                                      SFLDROP(CF04)      
A                                      SFLFOLD(CF04)      
A                                  5  3&#039;UPC SHORT CODE. .&#039;
A                                      COLOR(WHT)         
A            UPCSCD         3A  I  5 24TEXT(&#039;UPC&#039;)    


RPG

FD123      CF   E             WORKSTN INFDS(@D123)    
F                                     SFILE(RECSFL:I1)

C                   READ      RECCTL

C     *ENTRY        PLIST                                             
C                   PARM                    PADDNO            8       
 *                                                                    
C     S999          BEGSR                                             
 *                                                                    
C                   SETOFF                                       3110 
C                   Z-ADD     0             I1                4 0    
C                   Z-ADD     5             PG                4 0    
 *                                                                   
C                   WRITE     RECCTL                                 
C                   DO        PG                                     
C                   ADD       1             I1                       
C                   WRITE     RECSFL                                 
C                   ENDDO                                            
C                   SETON                                        1031
C                   MOVEL     &#039;111&#039;         UPCSCD
 C                  ENDSR]]></description>
		<content:encoded><![CDATA[<p>DDS is as follows:-</p>
<p>A                                      DSPSIZ(24 80 *DS3)<br />
A          R RECSFL                    SFL<br />
A  30                                  SFLNXTCHG<br />
A            UPC           20   B  8  3TEXT(&#8216;UPC 2ND ITEM&#8217;<br />
A  31                                  DSPATR(UL)<br />
A*<br />
A          R RECCTL                    SFLCTL(RECSFL)<br />
A*<br />
A                                      SFLSIZ(0010)<br />
A                                      SFLPAG(0005)<br />
A  10                                  SFLDSP<br />
A  10                                  SFLDSPCTL<br />
A N10                                  SFLCLR<br />
A                                      SFLDROP(CF04)<br />
A                                      SFLFOLD(CF04)<br />
A                                  5  3&#8242;UPC SHORT CODE. .&#8217;<br />
A                                      COLOR(WHT)<br />
A            UPCSCD         3A  I  5 24TEXT(&#8216;UPC&#8217;)    </p>
<p>RPG</p>
<p>FD123      CF   E             WORKSTN INFDS(@D123)<br />
F                                     SFILE(RECSFL:I1)</p>
<p>C                   READ      RECCTL</p>
<p>C     *ENTRY        PLIST<br />
C                   PARM                    PADDNO            8<br />
 *<br />
C     S999          BEGSR<br />
 *<br />
C                   SETOFF                                       3110<br />
C                   Z-ADD     0             I1                4 0<br />
C                   Z-ADD     5             PG                4 0<br />
 *<br />
C                   WRITE     RECCTL<br />
C                   DO        PG<br />
C                   ADD       1             I1<br />
C                   WRITE     RECSFL<br />
C                   ENDDO<br />
C                   SETON                                        1031<br />
C                   MOVEL     &#8217;111&#8242;         UPCSCD<br />
 C                  ENDSR</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sangay</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error-in-subfile-programming/#comment-87848</link>
		<dc:creator>sangay</dc:creator>
		<pubDate>Thu, 10 Feb 2011 03:59:55 +0000</pubDate>
		<guid isPermaLink="false">#comment-87848</guid>
		<description><![CDATA[but when i gove subfile record name (RECSFL) it gives me an error &quot;

e READ Operation entry is invalid for the Subfile-Record format. Specification ignored]]></description>
		<content:encoded><![CDATA[<p>but when i gove subfile record name (RECSFL) it gives me an error &#8221;</p>
<p>e READ Operation entry is invalid for the Subfile-Record format. Specification ignored</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tomliotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/error-in-subfile-programming/#comment-87823</link>
		<dc:creator>tomliotta</dc:creator>
		<pubDate>Wed, 09 Feb 2011 19:36:37 +0000</pubDate>
		<guid isPermaLink="false">#comment-87823</guid>
		<description><![CDATA[&lt;i&gt;...read the subfile &lt;b&gt;READ D123&lt;/b&gt;, it gives me an error saying &quot;Session or device error occurred in &lt;b&gt;file D123&lt;/b&gt;&quot; &lt;/i&gt;

According to what you wrote, you are issuing your READ statement against the file -- D123.

The error message is CPF5053 which means &quot;A record name is required.&quot;

You need to READ the subfile &lt;i&gt;record name&lt;/i&gt; instead of the file name. You can&#039;t READ D123.

Tom]]></description>
		<content:encoded><![CDATA[<p><i>&#8230;read the subfile <b>READ D123</b>, it gives me an error saying &#8220;Session or device error occurred in <b>file D123</b>&#8221; </i></p>
<p>According to what you wrote, you are issuing your READ statement against the file &#8212; D123.</p>
<p>The error message is CPF5053 which means &#8220;A record name is required.&#8221;</p>
<p>You need to READ the subfile <i>record name</i> instead of the file name. You can&#8217;t READ D123.</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.037 seconds using memcached
Object Caching 349/355 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-20 09:52:26 -->