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

(OPEN 'FOO '(APPEND)) on TOPS-20



(OPEN 'FOO '(APPEND)) on TOPS-20 does not allow random access on the opened file.
The code opens the file in OF%APP (append mode) which
TOPS-20 must interpret as allowing only writes to the end of the file
and enforces that by prohibiting the user from moving the filepos.
The appropriate mode (see the OPENF JSYS) is OF%RD+OF%WR (read and write = update).

Changing
	OPEN3E+2/ TRC 2, OF%APP+OF%WR+OF%RD
to
	OPEN3E+2/ TRC 2, OF%RD

allows random access.

Would somebody please make this change or tell me how to do it?
Do I just edit MC:L;QIO > ?

			Jerry