Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (O-Q)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
7-8
OPENEDIT_
Allocates and initializes data blocks in the EDIT file segment (EFS) so that the specified
file can be accessed later by the IOEdit procedures. It optionally creates and opens the
specified file through the file system.
31 Unable to obtain buffer space; indicates that the file’s directory does not fit into IOEdit’s
extended data segment and OPENEDIT is unable to enlarge the segment.
34 Unable to obtain memory space for control block; indicates that the number of IOEdit
files already open is equal to the maximum number specified or assumed when
INITIALIZEEDIT was called.
59 File is bad; indicates that the file exists and has the correct file type and file code for an
EDIT file, but the data in the file has an incorrect format and OPENEDIT is unable to
repair it.
file-name, INT .EXT:ref:12 input
filenum, INT:value input, output
flags, INT:value input
sync-depth, INT:value input
write-thru, INT:value input
error := OPENEDIT_ ( file-name
,length
,filenum
,[ access ]
,[ exclusion ]
,[ nowait ]
,[ sync-depth ]
,[ write-thru ] );
error, INT returned value
-1 Page-count value is inconsistent.
-2 Page-table tags are out of order.
-3 Page-table tag is outside legal range.
-4 Page-table block number is outside of file.
-5 Page-table has duplicate block numbers.
11 File does not exist; indicates that the file does not exist and that the flags parameter
indicates read-only access to the file.
14 Device does not exist; indicates that the device-name part of the file name designates a
device that either does not exist or is not a disk device.