Guardian Procedure Calls Reference Manual

Table 44 SETMODE Functions (continued)
Parameters and EffectFunction
NOTE: These printers do not come equipped with the IBM PC character set; it can be installed later.
To use this operation, the printer must have the IBM PC character set installed on the printer. If the printer
does not have the IBM PC character set installed, the printer ignores SETMODE function 142.
Sets LU character set and double-byte character code144
param1 must be omitted for function 144.
param2 must be omitted for function 144.
no translation= 0.<0>last-params[0]
SNAX does EBCDIC/ASCII translation= 1
IBM device type=.<1:7>
IBM-3277 or 3276= 1
not 3277= 2
IBM-3276= 3
value of LU attribute ALLOWEDMIX=.<8:15>
LU character set=.<0:7>last-params[1]
ASCII (USASCII)= 0
EBCDIC (IBM EBCDIC)= 9
KATAKANA EBCDIC=14
double-byte character set=.<8:15>
No DBCS= 0
IBMKANJI= 2
IBMMIXED= 3
JEFKANJI= 5
Queue waiters for disk file write. Note that this operation is not supported for queue files.146
disables the effect of param1= 0param1
causes CONTROL 27 requests to be queued and completed one at
a time; otherwise all are completed by the first write.
= 1
param2 is not used with function 146.
SETMODE function 146 remains in effect until the file has no more openers. When there are no more
openers, the effect of SETMODE function 146 is lost and the next open must repeat this SETMODE function.
Disk: Wait for insert to locked file.148
normal mode (default). Request is rejected with file-system error 73
when insert is attempted and an established file lock is encountered.
= 0param1
wait mode. Request is suspended when insert is attempted and an
established file lock is encountered.
= 1
Disk: Alternate key insertion locking. Note that this operation is not supported for queue files.149
no automatic locking (default): locking and unlocking during insertion
is not automatically performed.
= 0param1
1338 Guardian Procedure Calls (S)