 




<?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: SQL script output to a file</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/sql-script-output-to-a-file/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-script-output-to-a-file/</link>
	<description></description>
	<lastBuildDate>Sat, 25 May 2013 16:32:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: sbatsi</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-script-output-to-a-file/#comment-58604</link>
		<dc:creator>sbatsi</dc:creator>
		<pubDate>Mon, 15 Dec 2008 18:04:20 +0000</pubDate>
		<guid isPermaLink="false">#comment-58604</guid>
		<description><![CDATA[Silly me, I read the help text regarding inserting links, but I guess I didn&#039;t do enough reading between the lines... Here&#039;s another try.

&lt;a href=&quot;http://www.innovativesys.net/?page_id=4&quot;&gt;http://www.innovativesys.net/?page_id=4&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>Silly me, I read the help text regarding inserting links, but I guess I didn&#8217;t do enough reading between the lines&#8230; Here&#8217;s another try.</p>
<p><a href="http://www.innovativesys.net/?page_id=4">http://www.innovativesys.net/?page_id=4</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sbatsi</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-script-output-to-a-file/#comment-58602</link>
		<dc:creator>sbatsi</dc:creator>
		<pubDate>Mon, 15 Dec 2008 18:00:19 +0000</pubDate>
		<guid isPermaLink="false">#comment-58602</guid>
		<description><![CDATA[Greybeard52 -

Thanks for the pointer to FROG - it looks very promising. I believe this is the correct link.

&lt;a href=&quot;http://www.innovativesys.net/?page_id=4&quot;&gt;

Regards,

Steve B]]></description>
		<content:encoded><![CDATA[<p>Greybeard52 -</p>
<p>Thanks for the pointer to FROG &#8211; it looks very promising. I believe this is the correct link.</p>
<p><a href="http://www.innovativesys.net/?page_id=4"></p>
<p>Regards,</p>
<p>Steve B</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: graybeard52</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-script-output-to-a-file/#comment-58597</link>
		<dc:creator>graybeard52</dc:creator>
		<pubDate>Mon, 15 Dec 2008 17:02:05 +0000</pubDate>
		<guid isPermaLink="false">#comment-58597</guid>
		<description><![CDATA[I&#039;m not sure if the out-of-date OS is the probem.  SQL has progrssed a great deal in V5R3 and V5R4.  I suggest you post the FROG question over on www.code400.com in the FROG forum.  The author is a regular there and is very helpful.]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure if the out-of-date OS is the probem.  SQL has progrssed a great deal in V5R3 and V5R4.  I suggest you post the FROG question over on <a href="http://www.code400.com" rel="nofollow">http://www.code400.com</a> in the FROG forum.  The author is a regular there and is very helpful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: donethat</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-script-output-to-a-file/#comment-58588</link>
		<dc:creator>donethat</dc:creator>
		<pubDate>Sun, 14 Dec 2008 19:15:44 +0000</pubDate>
		<guid isPermaLink="false">#comment-58588</guid>
		<description><![CDATA[Hello GB52...
This is the 2nd time I&#039;ve tried F.R.O.G. It connects to my AS400 but most options are &quot;greyed out&quot;. I can enter an SQL statement but there is no way to run it. F5 doesn&#039;t react, &quot;execute&quot; isn&#039;t available. My libraries and files are visible so it&#039;s there and working. I&#039;ve tried breaking/remaking the connection - no joy.

FYI: I&#039;m on V5R2 and XP SP3.

What am I missing that I need to make an SQL run?]]></description>
		<content:encoded><![CDATA[<p>Hello GB52&#8230;<br />
This is the 2nd time I&#8217;ve tried F.R.O.G. It connects to my AS400 but most options are &#8220;greyed out&#8221;. I can enter an SQL statement but there is no way to run it. F5 doesn&#8217;t react, &#8220;execute&#8221; isn&#8217;t available. My libraries and files are visible so it&#8217;s there and working. I&#8217;ve tried breaking/remaking the connection &#8211; no joy.</p>
<p>FYI: I&#8217;m on V5R2 and XP SP3.</p>
<p>What am I missing that I need to make an SQL run?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: graybeard52</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-script-output-to-a-file/#comment-58542</link>
		<dc:creator>graybeard52</dc:creator>
		<pubDate>Thu, 11 Dec 2008 20:26:14 +0000</pubDate>
		<guid isPermaLink="false">#comment-58542</guid>
		<description><![CDATA[A great product from ad hoc SQL is F.R.O.G.   Its available for no charge from www.innovativesys.com]]></description>
		<content:encoded><![CDATA[<p>A great product from ad hoc SQL is F.R.O.G.   Its available for no charge from <a href="http://www.innovativesys.com" rel="nofollow">http://www.innovativesys.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: donethat</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-script-output-to-a-file/#comment-58466</link>
		<dc:creator>donethat</dc:creator>
		<pubDate>Wed, 10 Dec 2008 03:22:32 +0000</pubDate>
		<guid isPermaLink="false">#comment-58466</guid>
		<description><![CDATA[You don&#039;t have to use CPYTOSTMF to get your file to Windows. You can set up a &quot;.DTT&quot; data transfer and the file will be transferred with a double-click. And it could/would be a &quot;.TXT&quot; file. Fixed length fields and all.
Yes I know - not direct.

I have one more way out suggestion. Techtarget just ran 2 articles - one of which was &quot;Map Your Network Drives to the IBM i&quot;. If you output directly from the AS400 to the mapped drive, you could avoid a file transfer of any kind.
Trying!]]></description>
		<content:encoded><![CDATA[<p>You don&#8217;t have to use CPYTOSTMF to get your file to Windows. You can set up a &#8220;.DTT&#8221; data transfer and the file will be transferred with a double-click. And it could/would be a &#8220;.TXT&#8221; file. Fixed length fields and all.<br />
Yes I know &#8211; not direct.</p>
<p>I have one more way out suggestion. Techtarget just ran 2 articles &#8211; one of which was &#8220;Map Your Network Drives to the IBM i&#8221;. If you output directly from the AS400 to the mapped drive, you could avoid a file transfer of any kind.<br />
Trying!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cwc</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-script-output-to-a-file/#comment-58374</link>
		<dc:creator>cwc</dc:creator>
		<pubDate>Fri, 05 Dec 2008 21:40:44 +0000</pubDate>
		<guid isPermaLink="false">#comment-58374</guid>
		<description><![CDATA[Your request sounds simple enough and like it would be supported through Navigator, but I can&#039;t think of a way off hand to direct that output to a file.  I figured copying and pasting might work, but the interface doesn&#039;t provide that either.  

Do you use any .Net or Java applications?  If so, you could use that architecture to initiate an SQL request and receive its result set back into the code, where you could loop through and write them to a file.]]></description>
		<content:encoded><![CDATA[<p>Your request sounds simple enough and like it would be supported through Navigator, but I can&#8217;t think of a way off hand to direct that output to a file.  I figured copying and pasting might work, but the interface doesn&#8217;t provide that either.  </p>
<p>Do you use any .Net or Java applications?  If so, you could use that architecture to initiate an SQL request and receive its result set back into the code, where you could loop through and write them to a file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sbatsi</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/sql-script-output-to-a-file/#comment-58368</link>
		<dc:creator>sbatsi</dc:creator>
		<pubDate>Fri, 05 Dec 2008 19:16:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-58368</guid>
		<description><![CDATA[Thanks for the response... By a &quot;text file&quot; I mean a .txt file in the Windows environment. Because I typically use desktop tools to massage the results of ad hoc queries, it would be very handy to be able to send the results directly to a .txt file. In cases where the payoff is sufficient to justify doing this much work, I could certainly use the approach you suggest of INSERTing the output of the SELECT statement into a physical file I have created; I could then use CPYTOIMPF to transfer the data to a .txt file. It&#039;s a shame this cannot be done directly.

Regards,

Steve B]]></description>
		<content:encoded><![CDATA[<p>Thanks for the response&#8230; By a &#8220;text file&#8221; I mean a .txt file in the Windows environment. Because I typically use desktop tools to massage the results of ad hoc queries, it would be very handy to be able to send the results directly to a .txt file. In cases where the payoff is sufficient to justify doing this much work, I could certainly use the approach you suggest of INSERTing the output of the SELECT statement into a physical file I have created; I could then use CPYTOIMPF to transfer the data to a .txt file. It&#8217;s a shame this cannot be done directly.</p>
<p>Regards,</p>
<p>Steve B</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.025 seconds using memcached
Object Caching 365/371 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-25 17:05:02 -->