Guardian Programming Reference Summary for pTAL and TAL

SETMODE Operations
Guardian Programming Reference Summary for pTAL and TAL522631-001
11-9
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 SYSGEN; if no mode is specified at
SYSGEN, then AUTOANSWER is used.
The param2 parameter 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).
The param2 parameter is not used with function 30 and should be zero if
supplied.
31 Set packet mode
param1.<0>
= 0 ignore param2.
= 1 param2 specifies leading packet size.
param2
= 0 use default packet size for transmission (default).
> 0 is size of first outgoing packet in each WRITE or WRITEREAD request.
It must be smaller than the configured packet size.
<function> Parameters and Effect