HP OpenVMS Systems

ask the wizard
Content starts here

RMS File Sharing, EOF Marker?

» close window

The Question is:

 
Can you please let me know if is is due to the different version of OpenVMS V7.2?
 
Thank You
Michael Eustace
p.s. I have been working in VMS/OpenVMS since 1980 here in Montreal
 


The Answer is :

 
  Use the SET FILE/END_OF_FILE command to relocate the end of file (EOF)
  marker to the end of the allocated storage -- the OpenVMS Wizard has
  never seen a (well-behaved) application read a file past the EOF.
 
  Given that the file is locked, it would appear that whatever has
  been writing to the file has not finished writing and it would
  appear that the requested access to the file is incompatible with
  the shared access allowed by the writer (if any).
 
  For details on sharing file access, please see the OpenVMS FAQ.
 
  If this file is a log file for a batch job, the queue manager
  normally creates the log file for shared write, though it is
  possible control the frequently of updates (writes) to the log
  file using a SET command.
 

answer written or last revised on ( 28-MAY-2002 )

» close window