Focal Point
[SOLVED] Default path for FILEDEF

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8367092766

February 14, 2014, 06:25 AM
Ramya
[SOLVED] Default path for FILEDEF
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
February 14, 2014, 07:17 AM
Tony A
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 
February 14, 2014, 09:24 AM
Ian Dalton
If you need to keep these files then
SET TEMPERASE=OFF
in your fex.


_______________________
*** WebFOCUS 8.1.05M ***
February 14, 2014, 09:43 AM
Tony A
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 
February 16, 2014, 03:25 PM
Waz
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!

February 16, 2014, 11:34 PM
jimster06
You might find the WHENCE command useful.


jimster06
DevStu WF 7.6.11
W7
HTML, PDF, EXL2K
February 24, 2014, 11:01 AM
Ram Prasad E
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.


WebFOCUS 8.1.05
Windows
http://ibiwebfocus.wordpress.com
https://www.facebook.com/groups/ibi.webfocus/