all groups > sql server reporting services > may 2007 >
You're in the

sql server reporting services

group:

Render an rdl outside of Reporting Services


Render an rdl outside of Reporting Services ppbedz
5/24/2007 8:32:01 AM
sql server reporting services:
Does anyone know how I would execute/render a Reporting Services report
(.rdl)outside of Reporting Services? I don't want to create a subscription.
I would like to create a separate job to execute a series of rdls. This job
would most likely be initiated from another As400 job once a month.

Note: I have Visual Studio 2003 & SQL Server 2000

Thank you,
Re: Render an rdl outside of Reporting Services ppbedz
5/24/2007 9:59:01 AM
No, Actually, I want them to export into excel so that I can use the data in
an AS400 program. The data is coming from a cube, so it would be difficult
to pull together using other means. Reporting Services seemed to fill that
need nicely. I just need to execute the rdl to get the data.

I'll take a look at Web Services..... Thanks

[quoted text, click to view]
Re: Render an rdl outside of Reporting Services Bruce L-C [MVP]
5/24/2007 10:59:41 AM
You can do a whole lot with URL integration. Check that out in Books Online.
The other option which gives you a whole lot of control is to use web
services. I don't know how hard that is from AS4000.

However, you would be better off to create a subscription. I assume you want
these emailed?

--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Re: Render an rdl outside of Reporting Services ppbedz
5/24/2007 11:31:00 AM
Yes, you can write to a network location. However, a subscription won't work
for me because the run time will be variable each month, and I have 6 jobs
that have to run one right after the other.

[quoted text, click to view]
Re: Render an rdl outside of Reporting Services Bruce L-C [MVP]
5/24/2007 12:14:51 PM
One of the things you can do with a subscription is have it write to a file.
I'm not sure if you can write it to a network location
(\\servername\sharename) or not. I do know you can write the output to a
file instead of mailing it.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Re: Render an rdl outside of Reporting Services Lisa Slater Nicholls
5/25/2007 9:13:51 AM
You have two methods to do this: 1 is push and 1 is pull (spoken from the
AS400 perspective). I described both in messages on another thread that I
believe you also started (Re: automate rendering an rdl into xls and upload
to AS400 on diff ser).

The best way to do this will depend on how you decided to move the files
from one environment to the other.

1. If you took the COM object approach, then the best approach is to add one
more call, from Windows-standard libraries, which will send a URL-based
request to the Report Server to download the data to a file, previous to
using the ClientAccess-centric COM object to physically upload the file to
the AS400 server.

If you took this approach the exact cod eyou should use to request and save
the file to disk will depend on your environment . For example, you might be
doing it in a VBS script or in a .NET component that uses the COM object.
So it is difficult to recommend which standard Windows piece you should use
to do this part. Tell us more and I will try to recommend.

2. If you took the AS400-pull approach using a library on that side, you can
either use an HTTP transport library on that side (I gave you details in my
previous messages) if one is available or an FTP library, which might be
more available. If the former, then you can make the direct URL call from
the AS400 library object. If the latter, you should be able to build
something really simple in VBS script or .NET to make the HTTP call into RS
and place the results in an FTP-accessible location so that your AS400 can
pick it up from there. In both methods, I am suggesting the same thing that
Bruce already told you (he called it "URL integration"). As a third
approach, you might be able to make SOAP calls from the AS400 side -- I know
the iSeries offers this but I'm lost on whether or not it's available to you
<s> -- and this will abstract away the details of the protocols.

So... is it 1 or 2? Details? The best idea would be to integrate this one
step into the processes you've already settled on.

HTH,

[quoted text, click to view]
Re: Render an rdl outside of Reporting Services ppbedz
5/25/2007 9:25:00 AM
I was able to execute the rdl using the rs utility from reporting services
to execute a Visual Basic script . I am then going to use a DTS package to
transfer the data where it needs to go. All of this can be initiated on our
AS400 using the "RUNRMTCMD" so I can set up the job to run after we perform
our monthen process. Thanks to both of you for the help... Have a nice
Holidaye Weekend!

[quoted text, click to view]
Re: Render an rdl outside of Reporting Services Lisa Slater Nicholls
5/25/2007 9:32:49 AM
Hi there,

I'm glad you have what you need and glad to know that RUNRMTCMD can do
this -- seems to me that a "pull" is best in your scenario, so that the
timing is always correct.

One thing: why go to the trouble of DTS here if you are already using VBS?
Your Visual Basic script should be able to transfer the data -- use the
FileSystemObject (FSO) and holler if you have a problem.

[quoted text, click to view]


[quoted text, click to view]
AddThis Social Bookmark Button