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.
Reportcaster distributing report at 5:00 O'clock morning and output file is either *.XLS or *.PDF.
Distribution Location is a File Sever (Windows) My Organization wants me to keep This JOB into a Temporary folder (@ Destination) untill it gets fully loaded with data with *.tmp extension. Once it gets all data they want me to move this file to ready folder(@ Destination) with extension *.XLS or *.PDF.
My questions are
(1) While File being distributed into Location Server - Can we keep File extension as *.tmp (or something else) (2)Once It gets all data (Fully Loaded) would it possible to change extension to *.XLS or *.PDF (3)If Above mentioned (1) and (2) is not possible then ,can we move Fully Loaded file from Folder X to Folder Y @ Destination Server
Please guide in this issueThis message has been edited. Last edited by: webFocus_reporter,
You can do all of that, but not with ReportCaster functions. I think your only option for something like that would be to create your own script or batch file and execute it as a post-processing procedure. RC only know how to take one output file and put it one place with one name (taking bursting into account.)
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
I'm not sure if this will help you, but I have a job that runs in reportcaster and creates an excel file then once it is completes I have another that copies the file to a differnt location/with the date and then deletes the old one. This job is run in reportcaster also...
COPY \\CORP\SAHQ_GROUP\TRANS\DEMURRAGE\GRAPHS\DEMGRAPH1.xls \\CORP\SAHQ_GROUP\TRANS\DEMURRAGE\GRAPHS\DEMGRAPHx&MDYY...xls NT DEL \\CORP\SAHQ_GROUP\TRANS\DEMURRAGE\GRAPHS\DEMGRAPH1.xls
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005
If "mycommand" involves quite a bit of different operations, you can decide to create a batch file with all of the commands inside and pass some parameters to it so it knows what to do:
-DOS C:\MySCripts\MoveFolder.bat Caster_Folder
That assumes that you have a "Caster_Folder" where your reports are being distributed, and that the MoveFolder.bat script "knows" how to move/copy files located in %1 (Caster_Folder in this example) to a different location.