Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Default path for FILEDEF
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Default path for FILEDEF
 Login/Join
 
Gold member
posted
FILEDEF XXX DISK XXX.txt

Where the XXX.txt will be placed by deafult, if the exact location on the disk is not specified

This message has been edited. Last edited by: <Kathryn Henning>,


WebFocus 7702
HTML
 
Posts: 73 | Registered: January 02, 2012Reply With QuoteReport This Post
Expert
posted Hide Post
A folder in EDATEMP related to the agent number which is being used to execute the process. The folder is cleared when the agent process is complete.

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, 2004Reply With QuoteReport This Post
Platinum Member
posted Hide Post
If you need to keep these files then
SET TEMPERASE=OFF
in your fex.


_______________________
*** WebFOCUS 8.1.05M ***
 
Posts: 196 | Location: London, UK | Registered: December 06, 2005Reply With QuoteReport This Post
Expert
posted Hide Post
quote:
SET TEMPERASE=OFF

Indeed it will, but then all subsequent processes that use that agent will be subject to the same setting. This could result in a large number of files building up (if your agent refresh is defaulted to 100).

One downside of this is that if one of your hold files fails and you have no error checking for zero records, your process could continue and use an existing file left lurking because of the TEMPERASE setting.

Because each successive execution by a single fex is not guaranteed to pick the same agent you can also not rely upon using SET TEMPERASE = OFF in your next process.

So be aware of the down side of that setting before you use it.

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, 2004Reply With QuoteReport This Post
Expert
posted Hide Post
If you need the file after the agent session finishs, then specify a path.

Either physical path or app directory.

You could also specify this in an amper variable and centralise the setting.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6345 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Reply With QuoteReport This Post
Guru
posted Hide Post
You might find the WHENCE command useful.


jimster06
DevStu WF 7.6.11
W7
HTML, PDF, EXL2K
 
Posts: 252 | Location: USA | Registered: April 15, 2003Reply With QuoteReport This Post
Master
posted Hide Post
Use below lines of code to see the current temporary path used by that agent.
-SET &TEMPPATH=TEMPPATH(80,'A80');
-TYPE &TEMPPATH

Note: each and every execution may take different agent and hence different temp path.
 
Posts: 542 | Location: Dearborn, MI | Registered: June 03, 2009Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Default path for FILEDEF

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.