Focal Point
modified date

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4941072591

November 07, 2006, 01:55 PM
chelsea
modified date
Hi,
is there any amper variable which displays the modified date of the fex file or the data file located in the dataserver .
Thanks for your time
November 07, 2006, 02:40 PM
Francis Mariani
Take a look at this forum posting:

https://forums.informationbuilders.com/eve/forums/a/tpc/...291062491#6291062491


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
November 07, 2006, 03:59 PM
chelsea
Hi Francis,
i tried the post you sent but unfortunately it dint help me much.? fdt gives the description for only the tables but i want to know the modified date for the text files and the fex files in my application folder under the dataserver. what i am trying to do is check the modified date of the text file and compare it with the system date and if it is equal then run the reportcaster job else kill the job.
Thanks
November 07, 2006, 04:06 PM
Francis Mariani
Chelsea,

I should have been a little more specific.

From the docs:
quote:

APP QUERY app HOLD - Writes a list of all files in the application app in the file focappq.ftm in a temporary directory; the output is described by focappq.mas


http://documentation.informationbuilders.com/masterinde...adm532/05access3.htm

Simple fex:
-*--- List files in an APP folder --------------------------

APP QUERY app-folder-name HOLD

TABLE FILE FOCAPPQ
WHERE FILENAME EQ ' search-value'
PRINT DATE
ON TABLE SAVE AS SAVE1
END
-RUN

-READ SAVE1 &MOD_DT.A10.

-TYPE &MOD_DT


&MOD_DT is the amper variable you can use.


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
November 08, 2006, 10:25 AM
chelsea
Thanks Francis,
this is what i was looking for .
Thanks once again