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     Setting the next run date for a RC job

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Setting the next run date for a RC job
 Login/Join
 
Master
posted
I have a new job with a schedule that RC can't handle (at least my version). The job is to run once each month on the first business day after the 3rd. For example, the job in Feb is supposed to run on Feb 4th. Since that is the first time the job will run, that's no problem. However, the job is supposed to run on Mar 4th, then Apr 4th, May 5th, Jun 4th, Jul 7th, etc. I have a Dialogue Manager routine that will calculate the next run date (run time is always 6am). I was hoping that I could use a post-procsessing fex to update the schedule. Anyone know how I can update the Report Caster Schedule? Is there a user-subroutine like DSTRUN that can be called to update the RC repository?


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
Virtuoso
posted Hide Post
If you do a search on this Forum..there are a lot of interesting ideas out there that may help you out on this one.


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Virtuoso
posted Hide Post
JG

how about creating a small text file that holds the dates you want the process to be run.

Then in the report you want to run first run a small fex that tests if there is a record in that database.

TABLE FILE DATASET
PRINT RUNDATE
WHERE RUNDATE EQ &TODAY
ON TABLE HOLD
END
-RUN
-SET &&KILL_RPC=IF &LINES GT 0 THEN 'N' ELSE 'Y';


So the reportcaster job will not be executed if there is no record in the database.

You have to set up the reportcaster job for every workday at 6am.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Master
posted Hide Post
Frank, I've thought of that. In fact I have another job that runs on the 1st, every Friday and the last day of the month that is not a holiday or Sat or Sun where I do just that. I have a pre-processing fex that determines if these conditions exist and sets &&KILL_RPC to run or not. As this job runs just once a month I was hoping there was an easy way to set the next run date. I looked in the RC configuration to see where the repository was stored. It on an SQL server and RC gets to it via JDBC. I tried to set up the same connection in the Reporting Server but it did not work. I'm going to get with my tech rep when he gets back from vacation. I think that once I have a connection set up in the Reporting Server, I can use SQL or MODIFY to update the next run date.


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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Setting the next run date for a RC job

Copyright © 1996-2020 Information Builders