Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Executing a Report Caster Schedule From a Batch File/ Windows Command line

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Executing a Report Caster Schedule From a Batch File/ Windows Command line
 Login/Join
 
Member
posted
We are trying to initiate a ReportCaster Schedule's Task from a external source and was wondering if anyone else has had any success doing this? Ultimately we would like a Microsoft SQL Server Agent to be a to execute the Task via its scheduler. I have found the Java API's that would allow for this process but was wondering if there were other methods to accomplish this?

Thanks

This message has been edited. Last edited by: FP Mod Chuck,


8.015M
Windows 10
Everything
 
Posts: 6 | Registered: November 15, 2016Report This Post
Virtuoso
posted Hide Post
HI MCP

If your company is licensed for the WebFOCUS Web Services Enablement option you can use the ReportCaster Web Services call to instantiate the schedule.

Regards,


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Member
posted Hide Post
Unfortunately we do not have the web services feature. I was hoping someone had used an alternate way of initiating the schedule.

Thanks


8.015M
Windows 10
Everything
 
Posts: 6 | Registered: November 15, 2016Report This Post
Virtuoso
posted Hide Post
Hi MCP

Then I think the JAVA API will allow you to do this. The documentation looks to be pretty good. I have never tried it though.

Good luck,


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005Report This Post
Master
posted Hide Post
Report Caster schedules are in the Repository. The Repository is a relational database. What one can do it update the Next Run Date/Time in the BOTSIT table. The trick is getting the date/time in Zulu format.

I have done this with a fex but I see no reason you can't create the same thing in MSSQL.

Check this to see our solution.

Submit RC Schedule on Demand


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Member
posted Hide Post
you should try to use a .fex with DSTRUN example (try with the Tomcat port 8080):

-SET &SUBERR = DSTRUN(
- 'admin',5,
- 'admin',5,
- 'xxxxxx:8080/ibi_apps:ibi_apps',29,
- 'S24620b70sf7c4s4be0s8ae8s4144058596d1',37,
- ' ',0,
- 1,
- 'srvadmin',8,
- 'COUNTRY=FRANCE',14,
- ' ',0,
- 'I4');
-RUN
-TYPE &SUBERR

It may work depending on your security.

if you copy the fex on the reporting server in baseapp you can run it like this:

http://xxxxx/ibi_apps/WFServle...x=baseapp/dstrun.fex

Thank you
 
Posts: 4 | Registered: March 28, 2012Report This Post
Master
posted Hide Post
We used DSTRUN extensively, however, DSTRUN will not work in WebFOCUS 8 unless you are running the most basic of security. While we were testing and migrating, it was running just fine. Then, after testing and we flipped the switch to our single sign-on with Kerberos, it would not work. That is when IBI told me about the conflict between DSTRUN and the new security model in WebFOCUS 8. They also told me they had no intentions of making DSTRUN compatible with WebFOCUS 8 Security. It also won't work with an alternate security zone, which is a bug that is supposed to be fixed in 8.2.

Since they basically took this feature away, I think they should offer a limited license to use this feature of Web Services without having to pay for it or make a new DSTRUN that makes the Web Services call, JMHO.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
 
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006Report This Post
Member
posted Hide Post
We are running single sign on using LDAP so the DSTRUN will probably not work for us. I will look into updating the run time in the SQL db or the Java API's unless someone comes up with something else.

Thanks you all for your input.


8.015M
Windows 10
Everything
 
Posts: 6 | Registered: November 15, 2016Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Executing a Report Caster Schedule From a Batch File/ Windows Command line

Copyright © 1996-2020 Information Builders