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     Report Caster : Scheduling on a particular Day...

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Report Caster : Scheduling on a particular Day...
 Login/Join
 
Platinum Member
posted
i want to schedule my Report on a particular day of the month (like 1st Monday).

Is there a way to do it ?

I checked but found that you can schedule on a particular date not day.

any help on this ??

tks/sam


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Expert
posted Hide Post
I think that you'll find rel 7.6.n allows this. Choose Month and the options will appear.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
Virtuoso
posted Hide Post
As Tony indicates, you can. The older versions left it to the day. You might try frequency on weeks, but that doesn't always work.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Master
posted Hide Post
In 7.1.x, just write a pre-processing fex. For example, the following allows one of my jobs to run on the 1st, every Friday and the last day of the month that is Monday through Thursday.
-* File pp632.fex
-* Pre-Processing fex for Adoption Claims.
-*
-*  Check to see if today is an appropriate day to run Adoption Claims.
-*  If not set &&KILL_RPC to Y and flush the job.
-*
-*  Check for the 1st the Month
-*
-SET &DAY=EDIT(&DMY,'99');
-IF &DAY EQ 01 THEN GOTO CHECK_STS;
-*
-*  It is not the 1st, check to see if it is Friday
-*
-SET &DOWK=&DATEW;
-IF &DOWK EQ 5 THEN GOTO CHECK_STS;
-*
-*  It is not Friday, check to see if it is the last Day of the Month
-*  and Monday thru Thursday.
-*
-SET &MTH=&YYMD/100;
-SET &NXTMTH=AYM(&MTH,1,'I6');
-SET &NXTFST=&NXTMTH*100+1;
-SET &MTHLST=AYMD(&NXTFST,-1,'I8');
-IF (&YYMD EQ &MTHLST) AND (&DOWK GE 1) AND (&DOWK LE 4) THEN GOTO FINISHED;
-*
-*  Kill job
-*
-SET &&KILL_RPC=Y;
-*
-FINISHED


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
Master
posted Hide Post
When you use a routine like JG has suggested you set your schedule so the job will execute every day during the week (the first Monday would need to run on days 1 - 7). In JG's example, you would check for &&KILL_RPC in the program and GOTO DROPOUT when it is equal to 'Y'. -DROPOUT would be the last line of your program. Be aware that some ReportCaster versions do not like -EXIT.


Pat
WF 7.6.8, AIX, AS400, NT
AS400 FOCUS, AIX FOCUS,
Oracle, DB2, JDE, Lotus Notes
 
Posts: 755 | Location: TX | Registered: September 25, 2007Report This Post
Master
posted Hide Post
PB, it is my understanding that once &&KILL_RPC is set to 'Y' the whole job is flushed as soon as the pre-process fex finishes. The job I took my example from is a batch job that has only one step but I don't check &&KILL_RPC, the job just dies when the pre-processing fex finishes and &&KILL_RPC is set to 'Y'.


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     Report Caster : Scheduling on a particular Day...

Copyright © 1996-2020 Information Builders