Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual—522629-013
14-95
SETMODE Procedure
144 Sets LU character set and double-byte character code
param1 must be omitted for function 144.
param2 must be omitted for function 144.
last-params[0].<0> = 0 no translation
= 1 SNAX does EBCDIC/ASCII translation
last-params[0].<1:7> = IBM device type
1=IBM-3277
2=not 3277 or 3276
3=IBM-3276
last-params[0].<8:15> = value of LU attribute ALLOWEDMIX
last-params[1].<0:7> = LU character set
0=ASCII (USASCII)
9=EBCDIC (IBM EBCDIC)
14 =KATAKANA EBCDIC
last-params[1].<8:15> = double-byte character set
0=No DBCS
2=IBMKANJI
3=IBMMIXED
5=JEFKANJI
146 Queue waiters for disk file write. Note that this operation is not supported for
queue files.
param1 = 0 disables the effect of param1
= 1 causes CONTROL 27 requests to be queued and
completed one at a time; otherwise all are completed by
the first write.
param2 is not used with function 146.
SETMODE 146 remains in effect until the file has no more openers. When
there are no more openers, the effect of SETMODE 146 is lost and the next
open must repeat this SETMODE function.
148 Disk: Wait for insert to locked file.
param1 = 0 normal mode (default). Request is rejected with file-
system error 73 when insert is attempted and an
established file lock is encountered.
= 1 wait mode. Request is suspended when insert is
attempted and an established file lock is encountered.
Table 14-4. SETMODE Functions (page 28 of 34)
function Parameters and Effect