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 - Include Date in file name

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Report Caster - Include Date in file name
 Login/Join
 
Guru
posted
Hi Team,

In Report Caster, when you schedule a job, it asks the format and file name of the distributed report. I want to include the date in the name, and the usual suspects don't seem to work (IE. &YYMD).

Any advice would be appreciated.

Cheers,

Joey


-WebFOCUS 8.2.01 on Windows
 
Posts: 318 | Location: Los Angeles, CA | Registered: November 15, 2005Report This Post
<Patch4Ever>
posted
Has anyone come up with a solution to this? I am using ReportCaster 713 and would also like to implement the yymmdd in the naming convention.
 
Report This Post
Platinum Member
posted Hide Post
As far as I know it is impossible, despite being an obvious feature.

We accomplish this by having a script run every night that changes the value of DISTLIST in the BOTSCHED table in the Caster Repository.

Jodye


WF 8.0.0.5M
 
Posts: 246 | Location: Montreal, QC, Canada | Registered: October 01, 2003Report This Post
Virtuoso
posted Hide Post
P and J
It depends if you use the burst function in RC.

If not, then I have worked out a solution to implement this, by using the burst value.

You ad a dummy first by field (not needed to print) in your report.

DEFINE FILE CAR
DUMMYBY/YYMD=&YYMD;
END
TABLE FILE CAR
SUM SALES
BY DUMMYBY NOPRINT
BY COUNTRY
END


Now you have to create a dynamic mail list with the same burst value.

SET ASNAMES = ON
DEFINE FILE CAR
BURST_VALUE WITH COUNTRY=&YYMD;
EMAIL_ADDRESS WITH COUNTRY='myadress@company.com';
END
TABLE FILE filename
PRINT BURST_VALUE   AS 'VALUE'
      EMAIL_ADDRESS AS 'DEST'
WHERE COUNTRY EQ 'ITALY';
ON TABLE PCHOLD
END


Or use an other source where you have your email addresses.

Now every time you run this from report caster, the burst value will be part of the attachment.

If you already used the burstvalue this might be possiple to, but you need to combine the variable date with the already used by field and that makes it a bit more complex.

I hope this will be helpful.




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
Platinum Member
posted Hide Post
Moogle, Patch4:

If as part of the name to ftp - then see:

http://techsupport.informationbuilders.com/sps/10962092.html

if as subject line - see:http://techsupport.informationbuilders.com/sps/93411036.html

hope this helps.
Ira wf 5.37


aix-533,websphere 5.1.1,apache-2.0,
wf 538(d), 537 (p),
==============
7.6.11 (t) aix 5312
websphere 6.1.19
apache 2.0
 
Posts: 195 | Registered: October 27, 2006Report This Post
Virtuoso
posted Hide Post
Ira

Did you read and try my solution?




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
Platinum Member
posted Hide Post
Please note that you will need to use a alpha field as for example A8YYMD. This in order for Reportcaster to handle it into the file name, as '/' character is not accepted in a file name. Otherwise, Reportcaster will generate an error.


WebFOCUS 8105m
Windows 7, All Outputs

Member of the Benelux Usergroup
 
Posts: 198 | Location: Amsterdam | Registered: August 24, 2011Report 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 - Include Date in file name

Copyright © 1996-2020 Information Builders