 




<?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: AS400 Subfile session or device error</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/</link>
	<description></description>
	<lastBuildDate>Sun, 19 May 2013 03:14:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Sureyz</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114603</link>
		<dc:creator>Sureyz</dc:creator>
		<pubDate>Wed, 26 Dec 2012 07:47:21 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114603</guid>
		<description><![CDATA[Finally i got the result. The reason is there is no record in specific subfile

Thank you very much Phil and Tom.
]]></description>
		<content:encoded><![CDATA[<p>Finally i got the result. The reason is there is no record in specific subfile</p>
<p>Thank you very much Phil and Tom.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114574</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Tue, 25 Dec 2012 01:03:11 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114574</guid>
		<description><![CDATA[You can probably remove the WRITE instruction for MSGSFC. If that&#039;s an actual message subfile, the system will take care of it for you.
&#160;
Other than that, Phil knows about subfiles. He&#039;s right. You can&#039;t display a subfile if you haven&#039;t put records into it. You can WRITE records into it in your programming, or you can have the system write blank records into it by setting SFLINZ (subfile initialialize).
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p>You can probably remove the WRITE instruction for MSGSFC. If that&#8217;s an actual message subfile, the system will take care of it for you.<br />
&nbsp;<br />
Other than that, Phil knows about subfiles. He&#8217;s right. You can&#8217;t display a subfile if you haven&#8217;t put records into it. You can WRITE records into it in your programming, or you can have the system write blank records into it by setting SFLINZ (subfile initialialize).<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114564</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Mon, 24 Dec 2012 16:38:48 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114564</guid>
		<description><![CDATA[to add records?Seton                                        2526Exfmt     sfc01with SFLDSP on,&#160;one or more records must exist in the subfile.SFLINZ might be used to provide&#160;some blank&#160;records.Phil&#160;]]></description>
		<content:encoded><![CDATA[<p>to add records?Seton                                        2526Exfmt     sfc01with SFLDSP on,&nbsp;one or more records must exist in the subfile.SFLINZ might be used to provide&nbsp;some blank&nbsp;records.Phil&nbsp;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sureyz</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114560</link>
		<dc:creator>Sureyz</dc:creator>
		<pubDate>Mon, 24 Dec 2012 10:51:36 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114560</guid>
		<description><![CDATA[Simply, 
I&#039;m using three different subfiles here. 
One is MSGSFL(Message Subfile), 
Second one is SFL01(Subfile to Edit(Both  Mode)).
Third one is SFL02(Subfile to Display the same records in sfl01(Output Mode)).

Initially im having one Single Record format display file..  While im calling the program it first goto the single record format, then if i press F9 there it should come to the SFL01 to add some records(which is showing the error now). Then it will save all the records on a PF.
and the both subfiles having the same indicators like SFLDSP - 25 and SFLDSPCTL - 26 and SFLEND - N30 
]]></description>
		<content:encoded><![CDATA[<p>Simply,<br />
I&#8217;m using three different subfiles here.<br />
One is MSGSFL(Message Subfile),<br />
Second one is SFL01(Subfile to Edit(Both  Mode)).<br />
Third one is SFL02(Subfile to Display the same records in sfl01(Output Mode)).</p>
<p>Initially im having one Single Record format display file..  While im calling the program it first goto the single record format, then if i press F9 there it should come to the SFL01 to add some records(which is showing the error now). Then it will save all the records on a PF.<br />
and the both subfiles having the same indicators like SFLDSP &#8211; 25 and SFLDSPCTL &#8211; 26 and SFLEND &#8211; N30 </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114517</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Sat, 22 Dec 2012 00:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114517</guid>
		<description><![CDATA[Yeah, I thought it might be a message subfile element, too, but there&#039;s no way to know from what we see. As for RRN, if only one record was written, it could have been set anywhere earlier, even in a D-spec. If we&#039;re only shown a small snippet, we shouldn&#039;t have to assume that other parts of the program are relevant. But if the subfile is written in code that we can&#039;t see, then this isn&#039;t a single-line subfile and MSGSFC isn&#039;t the subfile line. (Maybe this dialog will explain to the OP why we can&#039;t say with certainty how to fix it, because we can&#039;t see the relevant source code.) -- Tom]]></description>
		<content:encoded><![CDATA[<p>Yeah, I thought it might be a message subfile element, too, but there&#8217;s no way to know from what we see. As for RRN, if only one record was written, it could have been set anywhere earlier, even in a D-spec. If we&#8217;re only shown a small snippet, we shouldn&#8217;t have to assume that other parts of the program are relevant. But if the subfile is written in code that we can&#8217;t see, then this isn&#8217;t a single-line subfile and MSGSFC isn&#8217;t the subfile line. (Maybe this dialog will explain to the OP why we can&#8217;t say with certainty how to fix it, because we can&#8217;t see the relevant source code.) &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114515</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Fri, 21 Dec 2012 23:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114515</guid>
		<description><![CDATA[without setting the value of rrn ???I thought MSGSFC might be the message subfile control record.&#160;]]></description>
		<content:encoded><![CDATA[<p>without setting the value of rrn ???I thought MSGSFC might be the message subfile control record.&nbsp;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114509</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Fri, 21 Dec 2012 21:26:31 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114509</guid>
		<description><![CDATA[Not writing subfile records might do it. I assumed that MSGSFC was a subfile record, and it seems likely that sfc01 is the control record. Indicators 25 and 26 looked as if they would enable SFLDSP and SFLDSPCTL. The small bit of code looks fine; but without seeing the definitions, there&#039;s no way to know. -- Tom]]></description>
		<content:encoded><![CDATA[<p>Not writing subfile records might do it. I assumed that MSGSFC was a subfile record, and it seems likely that sfc01 is the control record. Indicators 25 and 26 looked as if they would enable SFLDSP and SFLDSPCTL. The small bit of code looks fine; but without seeing the definitions, there&#8217;s no way to know. &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: philpl1jb</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114503</link>
		<dc:creator>philpl1jb</dc:creator>
		<pubDate>Fri, 21 Dec 2012 13:58:01 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114503</guid>
		<description><![CDATA[Show us the subfile control record please sfc01.

Your logic doesn&#039;t seem to write a subfile record,if that&#039;s the case you cannot turn on the display command SFLDSP.  &#160;Of course you might not be showing us the piece of the code that writes to the subfile. 
]]></description>
		<content:encoded><![CDATA[<p>Show us the subfile control record please sfc01.</p>
<p>Your logic doesn&#8217;t seem to write a subfile record,if that&#8217;s the case you cannot turn on the display command SFLDSP.  &nbsp;Of course you might not be showing us the piece of the code that writes to the subfile. </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114502</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Fri, 21 Dec 2012 13:08:58 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114502</guid>
		<description><![CDATA[&lt;EM&gt;SFLDSPCTL or SFLDSP option required for PUTGET.&lt;/EM&gt;
&#160;
That&#039;s the error.
&#160;
You are doing EXFMT against a subfile control record. But both SFLDSPCTL&#160;and SFLDSP options are not enabled. You have enable one or both of those in order for EXFMT to work with a control record. Most likely you want both to be enabled.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p><em>SFLDSPCTL or SFLDSP option required for PUTGET.</em><br />
&nbsp;<br />
That&#8217;s the error.<br />
&nbsp;<br />
You are doing EXFMT against a subfile control record. But both SFLDSPCTL&nbsp;and SFLDSP options are not enabled. You have enable one or both of those in order for EXFMT to work with a control record. Most likely you want both to be enabled.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sureyz</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114495</link>
		<dc:creator>Sureyz</dc:creator>
		<pubDate>Fri, 21 Dec 2012 12:10:56 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/as400-subfile-session-or-device-error/#comment-114495</guid>
		<description><![CDATA[Current library changed to L1ASRCU.               
Library list changed.                             
Unable to retrieve query options file.            
**** Starting optimizer debug message for query . 
All access paths were considered for file M1AMC00.
Additional access path reason codes were used.    
Access path of file M1AMC04 was used by query.    
Unable to retrieve query options file.            
**** Ending debug message for query .             
Member M1AMC00 file M1AMC00 in L1ASRCT opened.    
Unable to retrieve query options file.            
**** Starting optimizer debug message for query . 
All access paths were considered for file N1AMB00.
  Access path built from keyed file N1AMB05.        
  Unable to retrieve query options file.            
  **** Ending debug message for query .             
  Member N1AMB00 file N1AMB00 in L1ASRCU opened.    
  SFLDSPCTL or SFLDSP option required for PUTGET.   
? C                                                 
  SFLDSPCTL or SFLDSP option required for PUTGET.   
? C                                                 
  Session or device error occurred in file NM2401DA.
  Session or device error occurred in file NM2401DA.
  Unmonitored exception at line 599]]></description>
		<content:encoded><![CDATA[<p>Current library changed to L1ASRCU.<br />
Library list changed.<br />
Unable to retrieve query options file.<br />
**** Starting optimizer debug message for query .<br />
All access paths were considered for file M1AMC00.<br />
Additional access path reason codes were used.<br />
Access path of file M1AMC04 was used by query.<br />
Unable to retrieve query options file.<br />
**** Ending debug message for query .<br />
Member M1AMC00 file M1AMC00 in L1ASRCT opened.<br />
Unable to retrieve query options file.<br />
**** Starting optimizer debug message for query .<br />
All access paths were considered for file N1AMB00.<br />
  Access path built from keyed file N1AMB05.<br />
  Unable to retrieve query options file.<br />
  **** Ending debug message for query .<br />
  Member N1AMB00 file N1AMB00 in L1ASRCU opened.<br />
  SFLDSPCTL or SFLDSP option required for PUTGET.<br />
? C<br />
  SFLDSPCTL or SFLDSP option required for PUTGET.<br />
? C<br />
  Session or device error occurred in file NM2401DA.<br />
  Session or device error occurred in file NM2401DA.<br />
  Unmonitored exception at line 599</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.038 seconds using memcached
Object Caching 393/399 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-19 20:00:04 -->