November 07, 2006, 01:55 PM
chelseamodified 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
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
chelseaHi 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 MarianiChelsea,
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.htmSimple 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
chelseaThanks Francis,
this is what i was looking for .
Thanks once again