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.
It seems that at least twice a week our T2 server will be down at the same time that ReportCaster is trying to run a fex off of that server. Is there any way for me to set ReportCaster to delay schedules if the server is down? Right now, it tries to run them no matter what and just sends out an error report. Then I have to manually rerun the jobs myself. Thanks! I was thinking about making a fex that pulls in data from T2 and if that fex doesn't run then delay all of the other schedules somehow. That would be the only way that I can think of. Can you make one scheduled job be dependant on another though? Thanks again!
OK, I found this code that I think will get me going in the right direction.
-LOOP DOS STATE C:\unc\data\extract.txt -IF &RETCODE EQ 0 GOTO DONE; -GOTO SNOOZE
-SNOOZE SLEEP 90 -RUN -GOTO LOOP
-DONE -TYPE The file exists. Continue processing... TABLE FILE CAR HEADING "Finally Done" PRINT CAR MODEL SEATS BY COUNTRY END
I have a stupid question though. When/what is the protocol for using a "-" in front of your settings? For example, "SET ASNAMES=ON" or "-SET &myvariable = 1". When do you use the hyphen? Thanks! Also, what does the -TYPE command do?
SET commands work on focus language settings -SET command is a dialogue manager command that lets you make up parms and tinker with them at will. -TYPE is another dialog manager command that will type out whatever you tell it to, usually a bunch of dialogue manager parms, set or defaulted by your fex, eg: -TYPE MYPARM1 IS &MYPARM1 BUT MYPARM2 IS &MYPARM2 The typeing out is done in the ECHO of the fex, so if you want to see them, be sure to -SET &ECHO = ALL ; (or at least ON )
SLEEP 90 is a nice, simple solution, but you may want to refer to a cool article written by jodye yates at air canada on how to update your caster schedule file to change the next run time. I think the article is in the 'focus on developers' section.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
One more thing Susannah: The &RETCODE variable in the code - I take it that is a variable set up by Focus on the DOS STATE command? I noticed the same kind of thing in your SET &ECHO = ON command.