Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)

-help
requests a summary of OSSTTY command options. This is the first message described in “Startup
Messages” (page 381).
-idletimeout seconds
specifies the time in seconds that OSSTTY waits before terminating after its last opener closes
it. The time waiting allows another OSS process to open it if necessary for additional processing.
Valid values are in the range 0 through 32767. A value of 0 indicates that OSSTTY should
terminate immediately after its last opener closes it.
If you specify this option, you cannot specify the -server option.
If you omit this option, OSSTTY uses the value of 30 seconds.
-[no]prefixpid
controls whether OSSTTY prefixes standard file data for OUT or TERM with information to
identify the OSS application being serviced. If a copy of OSSTTY services more than one OSS
application, this prefix data can help distinguish which data comes from each application.
When the -prefixpid option is specified, a text string of the following form is prefixed to
each data block:
pid:objame
pid
indicates the OSS process ID for the application process.
objame
indicates the process program filename for the application process.
When the -noprefixpid option is specified, no information is added to the data blocks.
If you do not specify either option, OSSTTY uses the -noprefixpid option.
-[no]quiet
controls whether the warning and error messages described in “Startup Messages (page 381)
are displayed. Suppressing message display can be useful when OSSTTY is used within a
TACL macro or other script.
When the -quiet option is specified, no messages are displayed.
When the -noquiet option is specified, messages are displayed as necessary.
If you do not specify either option, OSSTTY uses the -noquiet option.
-[no]server
controls whether OSSTTY runs as a server that waits indefinitely for new processes to open it
after its last opener closes it.
When the -server option is specified, OSSTTY waits indefinitely and can only be stopped
by external action, such as using the TACL STOP command. This option cannot be specified
with the -idletimeout option.
When the -noserver option is specified, OSSTTY waits after its last opener closes it for the
number of seconds specified for the -idletimeout option.
If you do not specify either option, OSSTTY uses the -noserver option.
-[no]wrap
controls whether data wraps around to the beginning of a file and overwrites the data there
when a disk file’s end-of-file mark is reached. This option is intended for use when the OUT
option specifies and EDIT file and should be used with caution to avoid inadvertent loss of
data.
When the -wrap option is specified, overwrite is enabled.
When the -nowrap option is specified, reaching the end-of-file mark with more data to write
causes an error.
If you do not specify either option, OSSTTY uses the -nowrap option.
OSSTTY 397