[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ccp4bb]: OPEN again



***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***

Is this what you're looking for?
 from ccp4.setup :

### CCP4_OPEN ###
# CCP4_OPEN may be set to 'UNKNOWN' rather than 'NEW' to stop open failures
# for files opened as NEW that already exist.  Novices should use 'NEW' to
# avoid inadvertant over-writing of existing files -- in this case any such
# attempt will be a fatal error.
#
  setenv CCP4_OPEN        UNKNOWN               # edit this if necessary



Bernhard Rupp wrote:
> 
> ***  For details on how to be removed from this list visit the  ***
> ***          CCP4 home page http://www.ccp4.ac.uk         ***
> 
> Dear All:
> 
> having an old problem again:
> 
> files opened NEW with QQOPEN cannot be written
> if they exists already.
> 
> SGI platform, CCP4 4.1
> 
> Wasn't there a switch or something in compile time to make
> this darn NEW behave as UNKNOWN?
> 
> Housekeeping can avoid most of those, but that one finally
> did me in:
> 
>  >>>> CCIF signal CCIF_SYSERR (severity: SEVERE ERROR/FATAL) <<<<
>          (Raised in ccif_file_open)
> System error: Cannot open
> /yusr/pom1/br/DepositFiles/unknown/unknown061302.truncate
> 
> System message was:
> File exists
> 
> which prompts the following operator message
> SO WHAT ?
> 
> Cheers, br
> 
> ------------------------------------
> Bernhard Rupp
> Dept. of Biochemistry and Biophysics
> 2128 Texas A&M University
> College Station, TX 77843-2128
> 925 209 7429
> ------------------------------------