<?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 2005, SSAS 2005: Using ascmd.exe To Create SQLAgent Jobs That Give You Completion Status</title>
	<atom:link href="http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/</link>
	<description>Homepage of Steve Novoselac</description>
	<lastBuildDate>Tue, 16 Mar 2010 18:51:06 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Microsoft BI: Creating Local OLAP Cubes using XMLA and ascmd.exe - stevienova.com</title>
		<link>http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/comment-page-1/#comment-158599</link>
		<dc:creator>Microsoft BI: Creating Local OLAP Cubes using XMLA and ascmd.exe - stevienova.com</dc:creator>
		<pubDate>Mon, 13 Jul 2009 02:13:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/#comment-158599</guid>
		<description>[...] have also blogged about using ascmd.exe here . ascmd comes with the SSAS Samples with SQL 2005 (usually located here: C:Program FilesMicrosoft [...]</description>
		<content:encoded><![CDATA[<p>[...] have also blogged about using ascmd.exe here . ascmd comes with the SSAS Samples with SQL 2005 (usually located here: C:Program FilesMicrosoft [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Novoselac</title>
		<link>http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/comment-page-1/#comment-145020</link>
		<dc:creator>Steve Novoselac</dc:creator>
		<pubDate>Thu, 05 Mar 2009 02:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/#comment-145020</guid>
		<description>Yeah, I know how to pick em :)</description>
		<content:encoded><![CDATA[<p>Yeah, I know how to pick em :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/comment-page-1/#comment-144991</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 04 Mar 2009 23:38:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/#comment-144991</guid>
		<description>I hear you guys are gettin&#039; a solid DBA soon ;-)</description>
		<content:encoded><![CDATA[<p>I hear you guys are gettin&#8217; a solid DBA soon ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Novoselac</title>
		<link>http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/comment-page-1/#comment-144967</link>
		<dc:creator>Steve Novoselac</dc:creator>
		<pubDate>Wed, 04 Mar 2009 22:08:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/#comment-144967</guid>
		<description>cool that works. What I usually do now is processing from SSIS and then on the error output call a Notify Operator task, on the valid output I do the same to notify when the cube was loaded</description>
		<content:encoded><![CDATA[<p>cool that works. What I usually do now is processing from SSIS and then on the error output call a Notify Operator task, on the valid output I do the same to notify when the cube was loaded</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/comment-page-1/#comment-144964</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 04 Mar 2009 21:49:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/#comment-144964</guid>
		<description>Or, you can just insert a check step after each XMLA step containing T-SQL along these lines:

DECLARE @JobName VARCHAR(64)

SET @JobName = &#039;Name Of Job This Step Belongs to&#039;

DECLARE @Message VARCHAR(1024)

SELECT TOP 1 @Message = CAST([message] AS VARCHAR(1024)) 
FROM msdb.dbo.sysjobhistory a 
  INNER JOIN msdb.dbo.sysjobs b
    ON a.job_id = b.job_id AND b.[NAME] = @JobName
ORDER BY run_date DESC, run_time DESC

IF @Message LIKE &#039;%&lt;Exception %&#039;
	RAISERROR (@Message, 17, 1)</description>
		<content:encoded><![CDATA[<p>Or, you can just insert a check step after each XMLA step containing T-SQL along these lines:</p>
<p>DECLARE @JobName VARCHAR(64)</p>
<p>SET @JobName = &#8216;Name Of Job This Step Belongs to&#8217;</p>
<p>DECLARE @Message VARCHAR(1024)</p>
<p>SELECT TOP 1 @Message = CAST([message] AS VARCHAR(1024))<br />
FROM msdb.dbo.sysjobhistory a<br />
  INNER JOIN msdb.dbo.sysjobs b<br />
    ON a.job_id = b.job_id AND b.[NAME] = @JobName<br />
ORDER BY run_date DESC, run_time DESC</p>
<p>IF @Message LIKE &#8216;%&lt;Exception %&#8217;<br />
	RAISERROR (@Message, 17, 1)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tee</title>
		<link>http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/comment-page-1/#comment-102655</link>
		<dc:creator>Tee</dc:creator>
		<pubDate>Mon, 24 Mar 2008 15:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/#comment-102655</guid>
		<description>Steve,
The error I got was that the application for the project - ascmd.csproj was not instaled.

Yes, I would appreciate it if you could send the executable.  Please send it to the new email. I&#039;ll let you know how things go.

Thanks
Tee</description>
		<content:encoded><![CDATA[<p>Steve,<br />
The error I got was that the application for the project &#8211; ascmd.csproj was not instaled.</p>
<p>Yes, I would appreciate it if you could send the executable.  Please send it to the new email. I&#8217;ll let you know how things go.</p>
<p>Thanks<br />
Tee</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Novoselac</title>
		<link>http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/comment-page-1/#comment-102556</link>
		<dc:creator>Steve Novoselac</dc:creator>
		<pubDate>Sat, 22 Mar 2008 20:53:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/#comment-102556</guid>
		<description>What error? My first guess is that you don&#039;t have the full visual studio installed, only the BIDS studio. If you really need ascmd.exe I can email you the exe...let me know</description>
		<content:encoded><![CDATA[<p>What error? My first guess is that you don&#8217;t have the full visual studio installed, only the BIDS studio. If you really need ascmd.exe I can email you the exe&#8230;let me know</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tee</title>
		<link>http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/comment-page-1/#comment-102494</link>
		<dc:creator>Tee</dc:creator>
		<pubDate>Fri, 21 Mar 2008 20:42:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/#comment-102494</guid>
		<description>Steve,

I have downloaded the samples from Codeplex.com- From SSAS databses to Adjenture works to the SQL server engine.  I generated a strong Key but I have not figured how to compile the code. I opned VS and the ascmd.sln file generated an error when I opened it.

Would you be so kind as to itemize the steps required to generate the utility. satrting with what specifically to download.

Thanks
Tee</description>
		<content:encoded><![CDATA[<p>Steve,</p>
<p>I have downloaded the samples from Codeplex.com- From SSAS databses to Adjenture works to the SQL server engine.  I generated a strong Key but I have not figured how to compile the code. I opned VS and the ascmd.sln file generated an error when I opened it.</p>
<p>Would you be so kind as to itemize the steps required to generate the utility. satrting with what specifically to download.</p>
<p>Thanks<br />
Tee</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SSAS-Info.com</title>
		<link>http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/comment-page-1/#comment-102309</link>
		<dc:creator>SSAS-Info.com</dc:creator>
		<pubDate>Tue, 18 Mar 2008 23:02:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevienova.com/2008/03/17/sql-2005-ssas-2005-using-ascmdexe-to-create-sqlagent-jobs-that-give-you-completion-status/#comment-102309</guid>
		<description>&lt;strong&gt;Trackback...&lt;/strong&gt;

......</description>
		<content:encoded><![CDATA[<p><strong>Trackback&#8230;</strong></p>
<p>&#8230;&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
