Guardian Procedure Calls Reference Manual

Table 44 SETMODE Functions (continued)
Parameters and EffectFunction
NOTE: Although the cursor typically will not move when 0 or 1 is specified for param1, these options
do not turn off ECHO. Therefore, if the termination character is one which would normally cause cursor
movement (such as a LF or CR) and ECHO is enabled, cursor movement will occur.
SETMODEs 40-49 are reserved for the Exchange products. For details, see the Exchange reference manuals.
Enable/disable 3270 COPY50
suppress COPY= 0param1
allow COPY= 1
Get/set 3270 status51
param1 status flags mask to set
param2 is not used with function 51
For the flags mask information, see the Device-Specific Access Methods - AM3270/TR3271 manual.
Tape drive: Set short write model52
allow writes shorter than 24 bytes; a record shorter than 24 bytes is
padded with zeros to a length of 24 bytes (default).
= 0param1
disallow writes shorter than 24 bytes.= 1
allow writes shorter than 24 bytes; no padding is done on records
shorter than 24 bytes.
= 2
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.
Enable/disable receipt of status53
disable status receive= 0param1
enable status receive= 1
= the response IDparam2
Return control unit and device assigned to subdevice54
param1 is not used with function 54.
param2 is not used with function 54.
= 0.<0:7>[0]last-params
= subdevice number known by AM3270.<8:15>
= standard 3270 control-unit address.<0:7>[1]
= standard 3270 device address.<8:15>
Disk: Set serial writes option57
system automatically selects serial or parallel writes (default).= 0param1
use serial writes unconditionally.= 1
param2 is used with DP2 disk files only.
setting of param1 affects this open only. Other opens of the file are
not affected
= 0param2
setting of param1 affects this open and all future opens of the file.
Other existing opens are not affected.
= 1
1330 Guardian Procedure Calls (S)