User Tools

Site Tools


jvs:fscan:manual:chapter2:writeover

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
jvs:fscan:manual:chapter2:writeover [2012/06/05 15:04]
voyvodic
jvs:fscan:manual:chapter2:writeover [2023/02/23 18:43] (current)
Line 1: Line 1:
 **fScan Reference Manual, Chapter 2 (CmdLineOptions): writeover** **fScan Reference Manual, Chapter 2 (CmdLineOptions): writeover**
-===== Writeover -- Write flag===== +===== Writeover -- Temporarily set file overwrite flag===== 
-**usage: -writeover**+**usage:**\\ 
 + ** -writeover**\\ 
 + ** -w**
  
-The WRITEOVER option (-w) is used to allow an existing data file to be overwrittenBy defaultfScan will indicate +The WRITEOVER command temporarily sets the internal OVERWRITE flag. 
--w wfile\\ +By default, OVERWRITE is zero and any attempt to overwrite an existing file will generate an error message. 
--wL locfile\\ +If OVERWRITE is non-zerowrite operations will overwrite existing data files without generating any message. 
--wR roifile\\ +When OVERWRITE is set using the WRITEOVER command, the flag remains set only until the next file writing command. This allows you to selectively indicate which data files to overwrite.\\ 
--wA anatoutfile\\ +For example: 
--wE endfile\\ +<code> 
--wW waitfile +  -o exam.wdf -w     ; force writing of file named "exam.wdf", even if it already exists 
-===== =====+  -o -w              ; force writing of current data set to file, even if that file exists 
 +</code> 
 +The default behavior of the OVERWRITE flag can changed using the [[jvs:fscan:manual:chapter2:setoverwrite|-SET OVERWRITE]] command. 
 +<code> 
 +  -set overwrite    ; allow any file to be overwritten without generating error messages 
 +  -set overwrite 0  ; default is to not allow existing files to be written unless -w is used 
 +</code>
  
 **See Also:**\\ **See Also:**\\
 [[jvs:fscan:manual:chapter2:output|Output]], [[jvs:fscan:manual:chapter2:output|Output]],
-[[jvs:fscan:manual:chapter2:set|Set Overwrite]]\\+[[jvs:fscan:manual:chapter2:set|Set]], 
 +[[jvs:fscan:manual:chapter2:setoverwrite|Set Overwrite]] 
 [[jvs:fscan|fScan Home]],  [[jvs:fscan|fScan Home]], 
 [[jvs:fscan:manual|fScan Manual]],  [[jvs:fscan:manual|fScan Manual]], 
 [[jvs:fscan:manual:chapter2|CmdLineOptions]],  [[jvs:fscan:manual:chapter2|CmdLineOptions]], 
 [[jvs:fscan:manual:help|Manual Help]] [[jvs:fscan:manual:help|Manual Help]]
jvs/fscan/manual/chapter2/writeover.1338908682.txt.gz · Last modified: 2014/08/04 16:03 (external edit)