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     [SOLVED]Moving Job from Folder X to Y @ Destination

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED]Moving Job from Folder X to Y @ Destination
 Login/Join
 
Silver Member
posted
Hi,

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 issue

This message has been edited. Last edited by: webFocus_reporter,


WebFOCUS 7.6.X/7.7.X
Windows
all output
 
Posts: 31 | Registered: March 17, 2010Report This Post
Virtuoso
posted Hide Post
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, 2007Report This Post
Virtuoso
posted Hide Post
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, 2005Report This Post
Silver Member
posted Hide Post
Prarie:

Are you copying and deleting file at Destination Server - Location.?

Can you please explain me little more how we can do through WebFOCUS?


WebFOCUS 7.6.X/7.7.X
Windows
all output
 
Posts: 31 | Registered: March 17, 2010Report This Post
Master
posted Hide Post
While creating Schedules in Report Caster, make use of Post-processing Procedures option available in Advanced Task Options.

Once main report FEX gets completed, in the Post-processing FEX move the generated report output to different folder.
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Report This Post
Silver Member
posted Hide Post
I believe I need to create another *.fex file which will copy from floder X to folder Y.

For this I need to write DOS command in my *.fex. (above mentioned as Prarie's note)

Right?

If so
please guide me , how to write DOS command in *.fex?


WebFOCUS 7.6.X/7.7.X
Windows
all output
 
Posts: 31 | Registered: March 17, 2010Report This Post
Virtuoso
posted Hide Post
It's fairly easy. Just use the -DOS command:

-DOS mycommand


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.



Prod/Dev: WF Server 8008/Win 2008 - WF Client 8008/Win 2008 - Dev. Studio: 8008/Windows 7 - DBMS: Oracle 11g Rel 2
Test: Dev. Studio 8008 /Windows 7 (Local) Output:HTML, EXL2K.
 
Posts: 1533 | Registered: August 12, 2005Report This Post
Silver Member
posted Hide Post
Thanks all and specially njsden


WebFOCUS 7.6.X/7.7.X
Windows
all output
 
Posts: 31 | Registered: March 17, 2010Report 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     [SOLVED]Moving Job from Folder X to Y @ Destination

Copyright © 1996-2020 Information Builders