Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual—522629-013
14-83
SETMODE Procedure
52 Tape drive: Set short write mode
param1 = 0 allow writes shorter than 24 bytes; a record shorter than
24 bytes is padded with zeros to a length of 24 bytes
(default).
= 1 disallow writes shorter than 24 bytes.
= 2 allow writes shorter than 24 bytes; no padding is done
on records shorter than 24 bytes.
param2 is not used with function 52.
Note:
When short writes are disallowed, an attempt to WRITE or WRITEUPDATE a
record that is shorter than 24 bytes causes error 21 (bad count) to be issued.
53 Enable/disable receipt of status
param1 = 0 disable status receive
= 1 enable status receive
param2 = the response ID
54 Return control unit and device assigned to subdevice
param1 is not used with function 54.
param2 is not used with function 54.
last-params [0] .<0:7>= 0
.<8:15>= subdevice number known by AM3270
[1] .<0:7>= standard 3270 control-unit address
.<8:15>= standard 3270 device address
57 Disk: Set serial writes option
param1 = 0 system automatically selects serial or parallel writes
(default).
= 1 use serial writes unconditionally.
param2 is used with DP2 disk files only.
param2 = 0 The setting of Param1 will affect this open only. Other
opens of the file are not affected
= 1 The setting of
Param1 will affect this open and all future
opens of the file. Other existing opens are not affected.
59 Return count of bytes read
param1 = count of actual bytes read
param2 = 0
Table 14-4. SETMODE Functions (page 16 of 34)
function Parameters and Effect