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.
I am developing a procedure that picks up hold files created by different users in MRE. I am able to use GETUSER(USERID) to determine the user who is running this procedure. But I can't find a way to get the folder name of the HOLDDATA path of the user (we create private HOLDDATA folder for each user in user.prf profile). Is there a sys function like GETUSER can do this?
Thanks.This message has been edited. Last edited by: bug,
7.66 and 7.704 System: Windows / AIX / Linux Output: Mostly HTML, with some PDF, Excel and Lotus(!)
Posts: 147 | Location: Toronto (GTA) | Registered: May 25, 2005
The program does not know the HOLDDATA app name ("TEST1" in your example). Is there a way to retrieve the app name, or the physical folder name mapped to the app name? My ultimate goal is to get the physical folder name ("C:\IBI\serv77\wfs" in your example). It must be stored somewhere on the server, just don't know how to get it.
7.66 and 7.704 System: Windows / AIX / Linux Output: Mostly HTML, with some PDF, Excel and Lotus(!)
Posts: 147 | Location: Toronto (GTA) | Registered: May 25, 2005
My thoughts here --since the app folder created at run time will be part of the approot- you can user APP LIST and check for the naming pattern of the user specific APP folder. Again it depends on the way the dynamic folder is being created --naming used and all.
thanks Sashanka
WF 7.7.03/Windows/HTML,PDF,EXL POC/local Dev Studio 7.7.03 & 7.6.11
As long as you know the name of a file that is in the directory, you can use FMI to get the physical file name. You can then strip out the name to get the actual directory name:
SQL FMI SET SYSFILES MASTER
TABLE FILE SYSFILES PRINT PHNAME
WHERE FILENAME EQ 'car';
ON TABLE HOLD AS TF
END
-RUN
-READFILE TF
-TYPE FILE NAME IS &PHNAME
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
Sorry for the late feed back. I was occupied in other issues in the the past week.
Twanette's code work perfectly for me. It's interesting that I can't find TEMPPATH() from the webfocus help file. I am wondering how many other system functions I am still not aware of
I appreciate everyone's input. This is a solved case. Thanks!
7.66 and 7.704 System: Windows / AIX / Linux Output: Mostly HTML, with some PDF, Excel and Lotus(!)
Posts: 147 | Location: Toronto (GTA) | Registered: May 25, 2005
The only documentation I've found that mentions TEMPPATH is the Stored Procedure Reference (v7.7.03), an interesting document, where among other things, you learn how to write a stored procedure in Dialogue Manager.
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
Originally posted by Francis Mariani: The only documentation I've found that mentions TEMPPATH is the Stored Procedure Reference (v7.7.03), an interesting document, where among other things, you learn how to write a stored procedure in Dialogue Manager.
Guess I have to update my help file library. Thanks Francis!
7.66 and 7.704 System: Windows / AIX / Linux Output: Mostly HTML, with some PDF, Excel and Lotus(!)
Posts: 147 | Location: Toronto (GTA) | Registered: May 25, 2005