<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Need something like WHENEVER SQLERROR EXIT for scripts"]]></title>
		<link>http://forums.hotjoe.com/posts/list/28.page</link>
		<description><![CDATA[Latest messages posted in the topic "Need something like WHENEVER SQLERROR EXIT for scripts"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Need something like WHENEVER SQLERROR EXIT for scripts</title>
				<description><![CDATA[ Hello!<br /> <br /> First off, this is an awesome tool and a much needed utility.<br /> <br /> I was wondering how hard it would be to add either a flag or a command so that if any Exception occurs when reading a script to stop executing the remainder of the script.<br /> <br /> Thanks!<br /> <br /> Dan]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/207/863.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/207/863.page</link>
				<pubDate><![CDATA[Sun, 26 Mar 2006 14:20:44]]> GMT</pubDate>
				<author><![CDATA[ dewwalker]]></author>
			</item>
			<item>
				<title>Re:Need something like WHENEVER SQLERROR EXIT for scripts</title>
				<description><![CDATA[ Great idea! - that would be very easy to add.  Let me see what I can do.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/207/864.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/207/864.page</link>
				<pubDate><![CDATA[Sun, 26 Mar 2006 15:25:24]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
			<item>
				<title>Re:Need something like WHENEVER SQLERROR EXIT for scripts</title>
				<description><![CDATA[ I agree that the tool is very useful, so thanks for writing it.  And I'm particularly grateful that you output errors to stderr instead of stdout.  The original post here was made a long time ago, so I was wondering: did the idea get shot down?  I made a quick change to add this feature as a command-line option (thanks for the source!) and a check for the flag when catching an SQLException that then exits the program, but I'm not confident that my solution is the best solution.  Therefore, I would just like to know if this is something that might make it into an official release in the near future.  Or am I completely missing something, and it is already available?]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/207/2910.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/207/2910.page</link>
				<pubDate><![CDATA[Mon, 16 Aug 2010 14:42:23]]> GMT</pubDate>
				<author><![CDATA[ idiotjones]]></author>
			</item>
			<item>
				<title>Re:Need something like WHENEVER SQLERROR EXIT for scripts</title>
				<description><![CDATA[ No, it got missed when I did the 2.x update  <img src="http://forums.hotjoe.com//images/smilies/499fd50bc713bfcdf2ab5a23c00c2d62.gif" /> <br /> <br /> What do you think would make sense for an exit value?  I generally try to follow the Unix pattern of exiting with a zero when everything worked ok, and non-zero other wise.  Some programs try to use the exit value as almost an interprocess communication mechanism but that gets a bit complicated.  Right now there is an exit with a one if some simple errors occur - should the SQLException be different?<br /> <br /> Thanks for your feedback - I can role this in pretty quick but would like to make sure that it is useful to you too.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/207/2911.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/207/2911.page</link>
				<pubDate><![CDATA[Tue, 17 Aug 2010 08:11:48]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
			<item>
				<title>Re:Need something like WHENEVER SQLERROR EXIT for scripts</title>
				<description><![CDATA[ All I am catching is that an error occurred, so an exit code of 1 works great for me.  I suppose you could add an optional parameter for people who want to specify a different exit code, but that might be getting needlessly complicated.<br /> <br /> In short, I like 1.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/207/2912.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/207/2912.page</link>
				<pubDate><![CDATA[Tue, 17 Aug 2010 10:18:32]]> GMT</pubDate>
				<author><![CDATA[ idiotjones]]></author>
			</item>
			<item>
				<title>Re:Need something like WHENEVER SQLERROR EXIT for scripts</title>
				<description><![CDATA[ Did this make it into 2.0.8?]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/207/3422.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/207/3422.page</link>
				<pubDate><![CDATA[Wed, 9 Mar 2011 12:55:43]]> GMT</pubDate>
				<author><![CDATA[ ganncamp]]></author>
			</item>
	</channel>
</rss>
