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     [CLOSED] Can ReportCastor know if another Castor job is running?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Can ReportCastor know if another Castor job is running?
 Login/Join
 
Guru
posted
I'm creating some castor jobs to FTP XML reports and I was wondering if there is a way that you can delay a job from running if another job is running?
Is there a way to have castor automatically re-run a job if it fails?
Is there a way to have WebFOCUS do notification if castor is down?
Is there a way to use variables in the output file name?

Basically does want one know any tricks to make ReportCastor smarter.

This message has been edited. Last edited by: Kerry,
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Guru
posted Hide Post
After taking a look at the document 'ReportCaster Development and Administration Manual 5.2.3' I was able to answer some of my questions.

The one question I have not been able to find any thing on is if ReportCastor can FTP a file with a variable as part of the name.

For example say I wanted to send a file that had the date the report was ran as part of the name, rpt&YYMD.html
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Expert
posted Hide Post
well, you could always create a variable with the current system date or some adjusted version of it as part of the filename
-SET &OUTPUT = 'RPT' | &YYMD | '.HTML';
then ON TABLE HOLD AS &OUTPUT FORMAT HTML
...
but you don't even need a filename just to have caster send its output as an inline html.
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Guru
posted Hide Post
Does this work for other types of output? eg. XML, Excel, Word
 
Posts: 406 | Location: Canada | Registered: May 31, 2004Report This Post
Expert
posted Hide Post
oh sure, you can make your output file name anyway you like.
you can just call it FRED
but you can filedef it
-SET &MYOUTPUT='D:\IBI\...\RPT' | &YYMD | '.XLS';
FILEDEF FRED DISK &MYOUTPUT
and then ON TABLE HOLD AS FRED FORMAT EXL2K
and then the real name of the file will be
RPT20040712.xls
Works like a charm.
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Member
posted Hide Post
Susanna, to follow this all the way thru for a novice, would you name the output file FRED in reportcaster?


7.6.10
windows
AIX
UDB
SQL Server
 
Posts: 9 | Location: Omaha, NE | Registered: October 21, 2008Report This Post
Expert
posted Hide Post
Susannah was using FRED as an example. The file can be any name you choose.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
 
Posts: 2723 | Location: Ann Arbor, MI | Registered: April 05, 2006Report This Post
Expert
posted Hide Post
No, John. Fred is just the nickname used by the FILEDEF statement . this example parks the named whatever is &MYOUTPUT as an .xls file wherever the FILEDEF statement has designated.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report 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     [CLOSED] Can ReportCastor know if another Castor job is running?

Copyright © 1996-2020 Information Builders