Telserv Manual

Subsystem Control Facility (SCF) Commands for
Telserv
Telserv Manual427174-009
5-9
Considerations for the ADD Command
PRINT
indicates that the SERVER may initiate a connection, thus allowing a printer
(write-only device) to be configured.
Considerations for the ADD Command
The considerations contain information about command use that should be read before
studying the command syntax in detail.
All Objects
ADD is a sensitive command.
SERVICE Object
A PROGRAM attribute is required for DYNAMIC services.
The SERVICENAME name must be unique to the PROCESS object. The name
For DEFAULT ON:
The ASSIGNED attribute should be OFF.
The RESILIENT attribute should be OFF.
The SUBTYPE attribute can be either STATIC or DYNAMIC.
For SUBTYPE STATIC (with DEFAULT ON), Telserv starts presenting the
service selection menu after all existing windows under the service are
exhausted. Subsequent connections are mapped to dynamic windows.
The TYPE attribute should not be PRINT.
You can add a maximum of 256 services to each Telserv process.
SERVICE Object
The following example adds a service.
ADD SERVICE $ztnt.payroll, program $user.pwy.paytcp,&
param "abcdefg", owner "mygroup.myname",access group
WINDOW Object
The following example adds a block mode window:
ADD WINDOW $ZTNT.#BLK,SERVICENAME "BLK", SERVICETYPE BLOCK
START WINDOW #BLK
The following example adds a conversation mode window:
ADD WINDOW $ZTNT.#CONV, SERVICENAME "CONV", &
SERVICETYPE CONVERSATION
START WINDOW #CONV