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.
From within your fex do a 'dos dir' for the file in question and store this in an intermediate file using teh redirect option (a '>'). Next read in the file using DM and manipulate that data to find out what the date is for the file.
Hope this helps ...
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
-SET &TEMPDIR = TEMPPATH(60,'A60');
-SET &FILEINFO = C:\ibi\srv76\wfs\edatemp\ts000122\ || 'fileinfo.ftm';
DOS DIR C:\ibi\apps\ibidemo\alerts.foc > C:\ibi\srv76\wfs\edatemp\ts000122\fileinfo.ftm
-RUN
FILEDEF FILEINFO DISK C:\ibi\srv76\wfs\edatemp\ts000122\fileinfo.ftm
-RUN
-LOOP1
-READ FILEINFO &GDATE.A11.
0 ERROR AT OR NEAR LINE 63 IN PROCEDURE data_check_valuati
(FOC295) A VALUE IS MISSING FOR: &GDATE
The file C:\ibi\apps\ibidemo\alerts.foc does exist.
I don't know why this environment is using the U: drive on the server. All focexecs run fine and they access those data files on the U: drive and other drives.
John
WF 7.7.03, Windows 7, HTML, Excel, PDF
Posts: 225 | Location: San Francisco Bay Area, California | Registered: October 26, 2006
If that doesn't give you something like the following then WebFOCUS doesn't 'know' the file the same way you 'know' the file.
Volume in drive D is IBI
Volume Serial Number is 64D5-9CBB
Directory of D:\IBI\APPS\IBISAMP
02/21/2005 12:38 PM 32,768 car.foc
1 File(s) 32,768 bytes
0 Dir(s) 154,007,011,328 bytes free
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
Remember that this command will be run on your reporting server (where ever that might be - local or remote) and the drive letter specified in the DOS DIR command (can also use ! DIR or CMD DIR on windoze) has to be available on THAT machine. If it isn't then use the form \\servername\c$\file-path-info.
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, 2004
If it is the U: drive, then it is probably a network share. Don't have any experience with this under 76, but in earlier versions, when you start your server it would not respect any network drives, so without any further action it would not have the U: drive available to it. I had to solve this by adding the net use command to create the U: drive for use within your server environment to either the edasprof or the fex that needs it. It may very well be that this behaviour still exists in the 76x versions....
Hope this helps ...
GamP
- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007
This really generated a lot of excitement. Let's see what can be done.
Did you try running in a fex: !dir U:\
You should get the root directory of your U: drive. If you get nothing or something like "The system cannot find the path specified", that means that the U: drive is not defined in the server.
If there are no problems, do: !dir U:\ > a.a !type a.a
Daniel In Focus since 1982 wf 8.202M/Win10/IIS/SSA - WrapApp Front End for WF
Posts: 1980 | Location: Tel Aviv, Israel | Registered: March 23, 2006