CNSLIO - write to the operator, and ask for a reply.

Usage:

call cnslio(console, message, nwords [,nreply,nrepws])

Where:

console
is a 6 character character expression with a value of the form "0000xx", where "xx" is the file code of the console wanted. Normally this would be "t/", but it can be any console file code.
message
is an integer array or character expression with the message to be printed on the console.
nwords
is an integer expression representing the number of words to be printed on the console. Any value greater than 11 is set to 11 (66 characters in BCD mode, 44 characters in ASCII mode).
nreply
is an integer variable or array where the operator reply is placed. If omitted, the operator is not asked for a reply.
nrepws
is the number of words in the reply buffer.

Description:

CNSLIO allows a batch program to write to a system console, and optionally request a reply. It is ignored in TSS.

Notes:

The system operators are busy, do not use this routine carelessly.

See Also:

GCOS8 documentation
for a list of the standard console file codes, and the conventions for their use.

Copyright © 1996, Thinkage Ltd.