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] Dyanmic file name in Report caster

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Dyanmic file name in Report caster
 Login/Join
 
Silver Member
posted
Hi all,

i scheudled a report in report caster to run monthly in xls format and ftp the file to a location as the report is huge size.
When the new report is generated, it is replacing the already existing report in the specified location. but we need old reports also available in the location

can someone plz let me know is it poosible to append current date/time to the filename or create different folders for eachtime file is created in report caser.

This message has been edited. Last edited by: <Kathryn Henning>,
 
Posts: 24 | Registered: January 11, 2012Report This Post
Platinum Member
posted Hide Post
Name your file as "filename_&YYMD". At run time the current date will be appended to your file name.


WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
 
Posts: 175 | Location: Pomona, NY | Registered: August 06, 2003Report This Post
Virtuoso
posted Hide Post
If you are running this procedure more than once/day, append the &TOD variable:
filename_&YYMD._&TOD


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Silver Member
posted Hide Post
Thanks all for reply.

i have one more question. there is a file in a file share location (\\vfile01\ctm\files\). Is there a way to rename the file in that location ??
 
Posts: 24 | Registered: January 11, 2012Report This Post
Virtuoso
posted Hide Post
Sure. Use the ! ("bang") and issue your rename command. In your case (unix? linux?):
!mv old-file-name new-file-name

You will need write permission.


Daniel
In Focus since 1982
wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF

 
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006Report This Post
Platinum Member
posted Hide Post
You can run operating system commands from within a FEX in the form of -[OP System) [any command]. So, for UNIX:
-UNIX mv [options] oldfilename newfilename


WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
 
Posts: 175 | Location: Pomona, NY | Registered: August 06, 2003Report This Post
Master
posted Hide Post
As Report Caster will only do one file/report in one schedule, I generally write my own sftp/ftp scripts and use the -UNIX . script_nm do to the sftp/ftp. The advantage here is if you have a job stream that has numerous steps that create numerous outputs, you can have one RC job and do the sftp/ftp at the end. RC may object because there is no output to distribute there are ways around that as well.


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     [CLOSED] Dyanmic file name in Report caster

Copyright © 1996-2020 Information Builders