Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual—522629-013
14-77
SETMODE Procedure
28 Line printer or terminal: Reset to configured values
param1 = 0 (default) resets printer to its configured values
= 1 resets only soft parameters
= 2 resets only hard parameters
param2 is not used with function 28.
For the 5530 line printer, SETMODE 28 resets all the SETMODE parameters
back to their configuration values and also reinitializes the printer.
Note:
SETMODE 29 (set auto answer or control answer mode) is the only
SETMODE function not affected by a SETMODE 28.
29 Line printer (subtype 3, 4, 6, or 32): Set automatic answer mode or control
answer mode.
param1.<15> = 0 CTRLANSWER
= 1 AUTOANSWER (default)
The default mode is what was specified at configuration time; if no mode is
specified at SYSGEN, then AUTOANSWER is used.
param2 is not used with function 29.
Note:
SETMODE function 29 remains in effect even after the file is closed.
SETMODE 29 is the only SETMODE function not affected by a SETMODE
28.
SETMODE 29 is not reset at the beginning of each new job. Therefore, you
should always issue a SETMODE 29 at the beginning of your job to ensure
that you are in the desired mode (rather than in the mode left by the previous
job).
30 Allow nowait I/O operations to finish in any order
param1 = 0 complete operations in the order they were originally
requested (default).
= 1 complete operations in any order, except that if more
than one
operation is ready to finish at the time of the
AWAITIO[X]
call, then complete them in the order they were
requested.
= 3 complete operations in any order (that is, in the order
chosen by the system).
param2 is not used with function 30 and should be zero if supplied.
Table 14-4. SETMODE Functions (page 10 of 34)
function Parameters and Effect