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] Adding today date time to the excel name

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Adding today date time to the excel name
 Login/Join
 
Gold member
posted
I have created a excel workbook and have schedule in report caster and want to distribute it with today's date and time as part of it name. Is this possible?
Thansk

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


WebFOCUS 7.7.1
Windows 2000
Output: Excel and PDF
 
Posts: 82 | Registered: October 04, 2007Report This Post
Expert
posted Hide Post
Not directly within catser. However, you could write the output to a network file named as you require, and then use something like CDONTS to distribute it for you.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report This Post
<JG>
posted
If the job is run on a standard schedule where you know what the next run date is just update the BOTTASK table

it can be added as a post-processing procedure

MODIFY FILE BOTTASK
FREEFORM TASKID PACKETID ASVALUE
MATCH TASKID PACKETID
ON MATCH UPDATE ASVALUE
ON NOMATCH REJECT
DATA
'taskid','paketid','fred&YYMD.EVAL.XLS',$
END
-RUN
 
Report This Post
Gold member
posted Hide Post
does the paketid change? if i run this daily what prevents me from updating all prior versions with today's date


WebFOCUS 7.7.1
Windows 2000
Output: Excel and PDF
 
Posts: 82 | Registered: October 04, 2007Report This Post
Virtuoso
posted Hide Post
No, it's part of the primary key.


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Gold member
posted Hide Post
Thanks for the help, I'm close but I get a nomatch here is the message, the code I'm using and a sql statement that finds it

(FOC415)TRANS 1 REJECTED NOMATCH SEG01
'T14e3fieq801','P14e3fs6ec02','ssbo_toc_line_data_09082009XLS',$
0 TRANSACTIONS: TOTAL = 1 ACCEPTED= 0 REJECTED= 1
SEGMENTS: INPUT = 0 UPDATED = 0 DELETED = 0


MODIFY FILE BOTTASK
FREEFORM TASKID PACKETID ASVALUE
MATCH TASKID PACKETID
ON MATCH UPDATE ASVALUE
ON NOMATCH REJECT
DATA
'T14e3fieq801','P14e3fs6ec02','ssbo_toc_line_data_&MDYY.XLS',$
END
-RUN



I can find it by using the following sql statement:
select t.*, t.rowid from bottask t where taskid = 'T14e3fieq801' and packetid = 'P14e3fs6ec02'


WebFOCUS 7.7.1
Windows 2000
Output: Excel and PDF
 
Posts: 82 | Registered: October 04, 2007Report This Post
Virtuoso
posted Hide Post
This doesn't address your current problem, but the one in the wings:

What you have echoes as

...
DATA
'T14e3fieq801','P14e3fs6ec02','ssbo_toc_line_data_09082009XLS',$
END

(The . after &MDYY is taken as a delimiter, if what follows is not an attribute keywork such as LENGTH or EXISTS.)
To make ".XLS" part of the resolved value, add a vertical (or another period) before ".XLS".


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
Gold member
posted Hide Post
Thanks so much..I got it to work


WebFOCUS 7.7.1
Windows 2000
Output: Excel and PDF
 
Posts: 82 | Registered: October 04, 2007Report 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] Adding today date time to the excel name

Copyright © 1996-2020 Information Builders