TSACC - accept contents of TSS KIN buffer.


call tsacc(length, message)


represents an integer variable where the length of the input message will be stored.
represents a character variable or array where the input message will be stored. For some VIP terminals, this may need to be big enough to hold 1928 bytes. For a normal terminal, the input will not exceed 244 characters including the carriage return.


This subroutine enables a TSS program to get the uninterpreted contents of the terminal input buffer. It is of particular use in obtaining the command line used to invoke a program, or when working with a VIP terminal in forms mode.


Previous message residue remains in the input buffer since the buffer is not initialized prior to the transfer of data to the caller.

Input messages are terminated by a carriage return (octal 015).

Copyright © 1996, Thinkage Ltd.