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] How to find out when is the last time a file get updated.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] How to find out when is the last time a file get updated.
 Login/Join
 
Member
posted
Thank you to Francis, Dan, Darin, njsden and Waz for your suggestions.
Will look for an answer and post if found.

This message has been edited. Last edited by: Kerry,
 
Posts: 2 | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
I had a need to find out the date a reporting file was last updated.

I cobbled this solution together from posts on this forum and the user manuals and thought it might just help someone else.

It uses APP QUERY to dump a directory listing into system table FOCAPPQ which is defined in WebFocus.

I then queried the table to select the file I wanted and stored the date in a hold file which I then read.

Here is the sample code.

SET PCOMMA=ON
SET ALL=ON
APP QUERY CLECO_TEMP HOLD
TABLE FILE FOCAPPQ
WHERE FILENAME EQ 'IBIMRUSR.TXT' OR FILENAME EQ 'ibimrusr.txt'
PRINT DATE
ON TABLE SAVE AS FILEINFO FORMAT ALPHA
END
-RUN
-SET &TEXTDATE = 'NOT FOUND';
-READ FILEINFO, &TEXTDATE
-RUN

Other file attributes are also available (see definition of the FOCAPPQ table fo list).


WebFOCUS 769
Windows
all
 
Posts: 53 | Registered: April 29, 2009Report This Post
Expert
posted Hide Post
This technique will work with flat files, not with database tables.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report 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] How to find out when is the last time a file get updated.

Copyright © 1996-2020 Information Builders