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.
I am trying different options , if guys any other ideas
I have a by field by default the out file name changes according to the BY field but I want to append the todays date to the output file name
I created a pre processing fex in theRC which appends the asvalue column in the BOTTASK table but am only able to access DTSSCHEDULEID and DTSTASKID in original task it self not in the pre processing so , I have to supply the SCHEDULEID manually , which is not a good idea for me
So is there any way I can update the file name dynamically when scheduling the report in report caster other than EDA mailThis message has been edited. Last edited by: Kerry,
I have a Reportcaster job that runs each day and then I have a little copy job that runs and copies it to a location with the appended date, then I delete the first file. Maybe you can do something like this.
COPY \\CORP\GROUP\TRANS\DEMREPORT.xls \\CORP\GROUP\TRANS\DEMREPORT&MDYY...xls
NT DEL \\CORP\GROUP\TRANS \DEMREPORT.xls
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
I couldn't figure it out either. I opened a case with IBI and they finally threw up their hands and said there was an NFR outstanding that they would attach my case to. See: Case: 73392519 Summary: NFR: ReportCaster send report to FTP site with a timestamp
Reporting Server 7.6.10 Dev. Studio 7.6.8 Windows NT Excel, HTML, PDF
I had setup a diff job 5 mins early to the original job , which will update the asvalue column in Bottask table of webfocus
I tried the same thing in pre processioning fex but it did not worked because it is already taking the file name into the memory as soon as schedule execution is initiated
Thank you all
DavSmith's idea looks good I will give it a try
Njsden,Thanks but I have some distribution list based on the burst field if I concatenate the burst field with date for the by field then I have to change the distribution list every day because I have to concatenate the date field to the burst field in Distribution list too or I can generate dynamic distribution list from other fex which becomes complicated
I had a report where the client wanted the date appended to the report name. Here is how we did it:
-* File newfex_car.fex APP PATH IBISAMP
DEFINE FILE CAR HIDDEN_SORT/I9 = &YYMD; END
TABLE FILE CAR SUM DEALER_COST BY HIDDEN_SORT NOPRINT BY COUNTRY BY CAR ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT EXL2K -*ON TABLE PCHOLD FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * UNITS=IN, SQUEEZE=ON, ORIENTATION=PORTRAIT, $ TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=9, COLOR='BLACK', BACKCOLOR='NONE', STYLE=NORMAL, $ TYPE=TITLE, STYLE=BOLD, $ TYPE=TABHEADING, SIZE=12, STYLE=BOLD, $ TYPE=TABFOOTING, SIZE=12, STYLE=BOLD, $ TYPE=HEADING, SIZE=12, STYLE=BOLD, $ TYPE=FOOTING, SIZE=12, STYLE=BOLD, $ TYPE=SUBHEAD, SIZE=10, STYLE=BOLD, $ TYPE=SUBFOOT, SIZE=10, STYLE=BOLD, $ TYPE=SUBTOTAL, BACKCOLOR=RGB(210 210 210), $ TYPE=ACROSSVALUE, SIZE=9, $ TYPE=ACROSSTITLE, STYLE=BOLD, $ TYPE=GRANDTOTAL, BACKCOLOR=RGB(210 210 210), STYLE=BOLD, $ ENDSTYLE END
The HIDDEN_SORT saves the current date. When creating the job in RC, on the Task tab we checked the Parameter Name and the Burst Report checkboxes. We have the Report Name as newfex_car.xls. When the job is run, the report name is newfex_car_20120417.xls.
It's worked perfectly for us. I was in a RC training class at IBI and asked the instructor how to do this and this is what he came up with.
simba
WF 7.7/Windows
Posts: 42 | Location: Denver, CO | Registered: January 04, 2007
Simba, I just tested your solution and it does work if you want to send the entire report to a non-dynamic single or multi address.
Because adding the date to the filename depends on the BURST checkbox being checked, the dynamic distro burst process I describe above does not work. The reason why is because the first sort value in the report fex must match the first by sort field in the dynamic distro fex. This is true whether the first sorts are displayed or hidden. I tested this theory and could not make it work using Dynamic Distribution.
Thanks for providing this info, though. I'm sure it will prove useful for many.
In FOCUS since 1985 - WF 8.009/8.104 Win 8 Outputs: ALL of 'em! Adapters: Sql Server Teradata Oracle