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.
We have a procedure that writes to a temporary file and wen need this file to be shared by several procedures. Now our problem is when there are several users that runs the process at the same time the temp file will be overriden. I hope somebody can give us an idea on how to save temp files into the specific users path or in other ways.
if it goes anywhere except in the tempfile directory, it is no longer temporary and must be manually removed. You can use APP HOLD or FILEDEF to redirect files to specific directories. We use something similar, but you must be very careful doing things like this because 1)you eventually fill up disk space with thousands of files that never got cleaned up or 2)people are accessing other peoples files as you made reference to.
If you leave it in the tempdir, it is cleaned up after the request finishes and is NOT available for further use. You can SET TEMPERASE=OFF but please refer back to #1 and #2.
You can access the specific location of the tmepdir being used with -SET &PATH=TEMPPATH(255,'A255');
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
If the file is unique to the user you can add &USER to the filename. Then the user will write over their own file when they re-run the program and will not write over anyone else's file.
Pat WF 7.6.8, AIX, AS400, NT AS400 FOCUS, AIX FOCUS, Oracle, DB2, JDE, Lotus Notes
Posts: 755 | Location: TX | Registered: September 25, 2007
Please update your profile signature with your product suite, platform, and release so that we can help you better. We are on Unix and have a scheme that our developers use to create a directory using the Unix process id in conjunction with another Unix command that makes the directory disappear in 30 minutes.
Knowing your platform would help us help you more easily.