Guardian Procedure Calls Reference Manual
Table 44 SETMODE Functions (continued)
Parameters and EffectFunction
Disk: Set write verification3
param1
verified writes off (default).= 0<15>
verified writes on.=1
param2 is used with DP2 disk files only.
change the open option setting of the verify writes option (default).= 0param2
change the file label default value of the verify writes option.= 1
Disk: Set lock mode. Note that this operation is not supported for queue files.4
normal mode (default): request is suspended when a read or lock is
attempted and an established record lock or file lock is encountered.
= 0param1
reject mode: request is rejected with file-system error 73 when a read
or lock is attempted and an established record lock or file lock is
encountered. No data is returned for the rejected request.
= 1
read-through/normal mode: READ or READUPDATE ignores record
locks and file locks; encountering a lock does not delay or prevent
= 2
reading of a record. The locking response of LOCKFILE, LOCKREC,
READLOCK, and READUPDATELOCK is the same as in normal mode
(mode 0).
read-through/reject mode: READ or READUPDATE ignores record
locks and file locks; encountering a lock does not delay or prevent
= 3
reading of a record. The locking response of LOCKFILE, LOCKREC,
READLOCK, and READUPDATELOCK is the same as in reject mode
(mode 1).
read-warn/normal mode: READ or READUPDATE returns data without
regard to record and file locks; however, encountering a lock causes
= 6
warning code 9 to be returned with the data. The locking response
of LOCKFILE, LOCKREC, READLOCK, and READUPDATELOCK is the
same as in normal mode (mode 0).
read-warn/reject mode: READ or READUPDATE returns data without
regard to record and file locks; however, encountering a lock causes
= 7
warning code 9 to be returned with the data. The locking response
of LOCKFILE, LOCKREC, READLOCK, and READUPDATELOCK is the
same as in reject mode (mode 1).
param2 must be 0, if supplied.
Line printer: Set system automatic perforation skip mode (assumes standard VFU function in channel 2)5
off, 66 lines per page= 0param1.<15>
on, 60 lines per page (default)= 1
For the 5530 line printer:
disable automatic perforation skip.= 0param1
enable automatic perforation skip (default).= 1
param2 is not used with function 5.
Line printer or terminal: Set system spacing control6
no space= 0param1.<15>
single space (default setting)= 1
1320 Guardian Procedure Calls (S)