 




<?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: Outfile printing</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/</link>
	<description></description>
	<lastBuildDate>Sat, 18 May 2013 17:13:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Archnav01</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/#comment-112354</link>
		<dc:creator>Archnav01</dc:creator>
		<pubDate>Wed, 17 Oct 2012 06:26:45 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/#comment-112354</guid>
		<description><![CDATA[I want to run a batch job which upon executig wuld fetch the objects present in all the user libraries (for excluding source phy file item i&#039;m using qryslt, which should omit the &#039;q..&#039; starting with &#039;q&#039;).
The final list still&#160;contains the objects starting with alphabet &#039;q&#039;., seems the qryslt is not working.]]></description>
		<content:encoded><![CDATA[<p>I want to run a batch job which upon executig wuld fetch the objects present in all the user libraries (for excluding source phy file item i&#8217;m using qryslt, which should omit the &#8216;q..&#8217; starting with &#8216;q&#8217;).<br />
The final list still&nbsp;contains the objects starting with alphabet &#8216;q&#8217;., seems the qryslt is not working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/#comment-112330</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Tue, 16 Oct 2012 09:14:08 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/#comment-112330</guid>
		<description><![CDATA[&lt;EM&gt;Is the data flow correct:&lt;/EM&gt;
&#160;
We can&#039;t know. We don&#039;t know what you&#039;re trying to do. If it gives results you need, it&#039;s correct enough. If not, it isn&#039;t. So far, you&#039;re asking only about purely technical issues. A technical item essentially works or doesn&#039;t work.
&#160;
But you haven&#039;t given any &lt;EM&gt;business reason&lt;/EM&gt;. We don&#039;t know why you&#039;re doing this nor what result you&#039;re seeking. We can&#039;t know if what you&#039;re doing is appropriate or not.
&#160;
&lt;EM&gt;...opnqryf (for where condition)...&lt;/EM&gt;
&#160;
Using a WHERE condition would be much easier.
&#160;
&lt;EM&gt;...cpyfrmqryf (to a new file, file2)&lt;/EM&gt;
&#160;
It seems that you don&#039;t actually need a new file, so there&#039;s no way to know if that step makes sense.
&#160;
&lt;EM&gt;‘file1 is already in use’. Can u help?&lt;/EM&gt;
&#160;
Most likely, you didn&#039;t close the files when the first error occurred. Until you do the close (or closes) or possibly until you run the process in a different job, it will give that error every time.
&#160;
But it might be something else. It&#039;s not clear without a message ID.
&#160;
Tom]]></description>
		<content:encoded><![CDATA[<p><em>Is the data flow correct:</em><br />
&nbsp;<br />
We can&#8217;t know. We don&#8217;t know what you&#8217;re trying to do. If it gives results you need, it&#8217;s correct enough. If not, it isn&#8217;t. So far, you&#8217;re asking only about purely technical issues. A technical item essentially works or doesn&#8217;t work.<br />
&nbsp;<br />
But you haven&#8217;t given any <em>business reason</em>. We don&#8217;t know why you&#8217;re doing this nor what result you&#8217;re seeking. We can&#8217;t know if what you&#8217;re doing is appropriate or not.<br />
&nbsp;<br />
<em>&#8230;opnqryf (for where condition)&#8230;</em><br />
&nbsp;<br />
Using a WHERE condition would be much easier.<br />
&nbsp;<br />
<em>&#8230;cpyfrmqryf (to a new file, file2)</em><br />
&nbsp;<br />
It seems that you don&#8217;t actually need a new file, so there&#8217;s no way to know if that step makes sense.<br />
&nbsp;<br />
<em>‘file1 is already in use’. Can u help?</em><br />
&nbsp;<br />
Most likely, you didn&#8217;t close the files when the first error occurred. Until you do the close (or closes) or possibly until you run the process in a different job, it will give that error every time.<br />
&nbsp;<br />
But it might be something else. It&#8217;s not clear without a message ID.<br />
&nbsp;<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Archnav01</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/#comment-112325</link>
		<dc:creator>Archnav01</dc:creator>
		<pubDate>Tue, 16 Oct 2012 08:41:36 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/#comment-112325</guid>
		<description><![CDATA[

Is the data flow correct:dspobjd-&gt;outputfile(file1)-&gt;opnqryf (for where condition)-&gt; cpyfrmqryf (to a new file, file2). It is getting compiled. While execution it says, Upon the 1st run, ‘data option was not allowed with open option’. further runs, ‘file1 is already in use’. Can u help?
]]></description>
		<content:encoded><![CDATA[<p>Is the data flow correct:dspobjd-&gt;outputfile(file1)-&gt;opnqryf (for where condition)-&gt; cpyfrmqryf (to a new file, file2). It is getting compiled. While execution it says, Upon the 1st run, ‘data option was not allowed with open option’. further runs, ‘file1 is already in use’. Can u help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/#comment-112322</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Tue, 16 Oct 2012 08:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/#comment-112322</guid>
		<description><![CDATA[Beyond error reporting, the use of OPNQRYF should be avoided. The command comes from the original System/38 back in the 1970s, before SQL existed. If you&#039;re simply &#039;filtering a column&#039;, a basic CREATE VIEW or a straight SQL SELECT is probably a much better choice. The modern needs for OPNQRYF are extremely limited. -- Tom]]></description>
		<content:encoded><![CDATA[<p>Beyond error reporting, the use of OPNQRYF should be avoided. The command comes from the original System/38 back in the 1970s, before SQL existed. If you&#8217;re simply &#8216;filtering a column&#8217;, a basic CREATE VIEW or a straight SQL SELECT is probably a much better choice. The modern needs for OPNQRYF are extremely limited. &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TomLiotta</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/#comment-112321</link>
		<dc:creator>TomLiotta</dc:creator>
		<pubDate>Tue, 16 Oct 2012 08:13:23 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/#comment-112321</guid>
		<description><![CDATA[Not enough information. Any time errors are to be reported, the message identifier is needed. Usually, an error that makes a difference will be an *ESCAPE message. An escape message might be preceded by one or two *DIAG (diagnostic) messages. With the message IDs, simple text is often useless. -- Tom]]></description>
		<content:encoded><![CDATA[<p>Not enough information. Any time errors are to be reported, the message identifier is needed. Usually, an error that makes a difference will be an *ESCAPE message. An escape message might be preceded by one or two *DIAG (diagnostic) messages. With the message IDs, simple text is often useless. &#8212; Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Archnav01</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/#comment-112320</link>
		<dc:creator>Archnav01</dc:creator>
		<pubDate>Tue, 16 Oct 2012 07:48:04 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/#comment-112320</guid>
		<description><![CDATA[Now i tried to close the file file1 before the opnqryf cmd..
The error i&#039;m getting is : Open-identifier specified for FROMOPNID not valid.]]></description>
		<content:encoded><![CDATA[<p>Now i tried to close the file file1 before the opnqryf cmd..<br />
The error i&#8217;m getting is : Open-identifier specified for FROMOPNID not valid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Archnav01</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/#comment-112319</link>
		<dc:creator>Archnav01</dc:creator>
		<pubDate>Tue, 16 Oct 2012 07:29:25 +0000</pubDate>
		<guid isPermaLink="false">http://itknowledgeexchange.techtarget.com/itanswers/outfile-printing/#comment-112319</guid>
		<description><![CDATA[The log is:
output file file1 created
file1 added to library
mmember of file1 is opened in library.
data option was not allowed with opn option
error reading member file1 in file1
0 records copied to file2]]></description>
		<content:encoded><![CDATA[<p>The log is:<br />
output file file1 created<br />
file1 added to library<br />
mmember of file1 is opened in library.<br />
data option was not allowed with opn option<br />
error reading member file1 in file1<br />
0 records copied to file2</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.061 seconds using memcached
Object Caching 351/357 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-18 18:00:26 -->