Guardian Programming Reference Summary for C
SETMODE Operations
Guardian Programming Reference Summary for C—522630-001
11-14
50 Enable/disable 3270 COPY
param1
= 0 suppress COPY
= 1 allow COPY
51 Get/set 3270 status
param1 status flags mask to set
Theparam2 parameter is not used with function 51.
Refer to the Device-Specific Access Methods–AM3270/TR3271 manual for the
flags mask information.
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.
Theparam2 parameter 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
Theparam1 parameter is not used with function 54.
Theparam2 parameter is not used with function 54.
last-params
[0]
Bits 0-7 = 0
Bits 8-15 = subdevice number known by AM3270
[1]
Bits 0-7 = standard 3270 control-unit address
Bits 8-15 = standard 3270 device address