Report subscription hold

Who is online?  0 guests and 0 members
Home  »  Forums   »  microsoft business intelligence   »  reporting services   » Report subscription hold

Report subscription hold

Topic RSS Feed

Posts under the topic: Report subscription hold

Posted: 9/1/2010

Jedi Knight 2064  points  Jedi Knight
  • Joined on: 2/19/2010
  • Posts: 260

Is it possible to put a report subscription on hold, or pause the report, to prevent the report subscription from running in Report Manager?  The closest I can find is to edit the subscription and put in an end date and then go back in and remove it when you want it to run again.  We have regular maintenance windows where I don't want a report to run because there will be no data.


Posted: 9/1/2010

Jedi Master 4190  points  Jedi Master
  • Joined on: 10/27/2009
  • Posts: 193
Answered  Answered

Because Subscriptions are run through the SQL Agent you should be able to just go to the database engine where the ReportServer database is on and disable the job temporarily that runs that subscription.


tags SSRS

Posted: 9/1/2010

Jedi Knight 2064  points  Jedi Knight
  • Joined on: 2/19/2010
  • Posts: 260

Wow.  It is amazing how obvious things are, once you know the answer.  Thanks.  Now I suppose the hard part is deciphering the GUID style job names that the server automatically gives to the jobs when you create a subscription.  But that I can do, one way or another.

Thanks,


Posted: 9/1/2010

Jedi Master 4190  points  Jedi Master
  • Joined on: 10/27/2009
  • Posts: 193

I think some where in this article i have a query that will decode the GUIDs for you.

http://www.bidn.com/articles/reporting-services/110/monitoring-reporting-services-subscriptions

Smile


Posted: 9/1/2010

Jedi Master 5432  points  Jedi Master
  • Joined on: 1/21/2010
  • Posts: 221

I was just compiling one for him myself. :)

SELECT 
	c.Name AS ReportName
	, rs.ScheduleID AS JOB_NAME
	, s.[Description]
	, s.LastStatus
	, s.LastRunTime
FROM 
	ReportServer..[Catalog] c 
	JOIN ReportServer..Subscriptions s ON c.ItemID = s.Report_OID 
    JOIN ReportServer..ReportSchedule rs ON c.ItemID = rs.ReportID
    AND rs.SubscriptionID = s.SubscriptionID

 

 


Posted: 9/2/2010

Jedi Knight 2064  points  Jedi Knight
  • Joined on: 2/19/2010
  • Posts: 260

Thanks Brian and Devin.  These are both filled with great stuff.

This got me thinking about a few other problems I have had and some automated solutions to handling them.  My mind is racing.  Maybe I will write a blog or article when I get it all working.

Daniel


Page 1 of 1 (6 items)