Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Run ReportCaster from focexec
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Run ReportCaster from focexec
 Login/Join
 
Guru
posted
Hi All,

I would like to make a procedure which generate's a task for reportcaster depending on the paraemters I have in the procedure.

Does anybody have an example how this can be done?

This message has been edited. Last edited by: Kerry,


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 427 | Location: Europe | Registered: February 05, 2007Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Example.

You could use the DSTRUN options, but I've always found them a little confusing and their functionality is slowly being phased out (I think). I say that because a lot of people seem to be having problems with them in newer releases of WF. Most of my clients are removing any DSTRUN options and replacing them with JSP calls or JAVA programs that use the API.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Reply With QuoteReport This Post
Platinum Member
posted Hide Post
DSTRUN is particular about it;s parameters. The errors returned have been improved lately. Though DSTRUN is for running a defined schedule, you look like you want to create the schedule ... you want to do that with the API (or webservices calls to caster).


Brian Suter
VP WebFOCUS Product Development
 
Posts: 200 | Location: NYC | Registered: January 02, 2007Reply With QuoteReport This Post
Master
posted Hide Post
It took us a while to get DSTRUN to work, but now it works great. I use it in several reports. The only problem I have had is that it does not support Dynamic Distribution but I was able to get around that by dynamically updating a fixed distribution file.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 951 | Location: Oklahoma City | Registered: October 27, 2006Reply With QuoteReport This Post
Silver Member
posted Hide Post
Could you tell me how you used the fixed distribution file? I would like to be able to do something similar. I want to save an email address and burst values so that I can pass those values to a fex to be distributed through ReportCaster. Any help would be great.

Thanks!


7.1.4
UNIX
Excel, PDF, HTML
 
Posts: 36 | Registered: April 09, 2008Reply With QuoteReport This Post
Guru
posted Hide Post
Hi Brian, scheduling is not a requirement, The API calls would be nice to use in the future. For now the DSTRUN functionality will do fine I guess. Tomorrow I will spend my day on getting DSTRUN to work, getting the parameter right will be the hardest job.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 427 | Location: Europe | Registered: February 05, 2007Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Slim,

You may get a couple of ideas from a tip I gave at Summit last year regarding manipulating distribution lists. You can find the technique described here


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Here's another methodology which involves the licensing of WebFOCUS Web Services and the Web Services adapter. I have used the below methodology quite successfully in the past.
It is documented in the below WebFOCUS Newsletter.

http://www.informationbuilders.com/new/newsletter/8-4/08_litwin.html
 
Posts: 220 | Location: New York | Registered: July 27, 2004Reply With QuoteReport This Post
Gold member
posted Hide Post
Frans,
Did you ever get this to work for you? I have a working example if you're still interested...

Alan


WF 7.6.6, FOCUS 7.6.4, IBM MVS/TSO, Windows 2003 Server, DB2, MSSQL
 
Posts: 65 | Location: Chicago, IL | Registered: July 26, 2007Reply With QuoteReport This Post
Guru
posted Hide Post
Hi Alan,

Yes I managed to get this working on a dev environment. But due to many security restrictions on prod, it was not possible to implement and I've managed to solve it with deferred reports.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 427 | Location: Europe | Registered: February 05, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Run ReportCaster from focexec

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.