ENABLE User's Guide
 INTEGRATING APPLICATIONS
 Including Optional Commands
 You can also add commands that define and control terminals of
 the terminal type determined when the applications were
 generated. To do this, add the following command for each
 terminal defined for the PATHWAY system:
 • SET TERM FILE filename
 This command defines the system name of a terminal to be added
 to the PATHWAY system. Set the value of filename to the name
 of the terminal.
 • SET TERM INITIAL program-unit-name
 This command defines the SCREEN COBOL program unit that the
 terminal enters on start-up. Set program-unit-name to the
 name of the SCREEN COBOL menu program appropriate for the
 terminals. (This is the same as the program name following
 the INITIAL specification in the SET PROGRAM TYPE command.)
 • SET TERM tcp
 This command defines the TCP that controls the terminal.
 Generally, you can set the value of tcp to ENABLE-TCP.
 • ADD TERM termname
 This command enters a description of a terminal into the
 PATHWAY system. In this command, termname can be the name of
 the terminal. The name must begin with a letter and can
 contain 1 through 15 alphanumeric characters or hyphens. The
 name must be unique within the PATHWAY system.
 The PATHCOM file generated by ENABLE allows you to define up to
 five terminals per TCP. (The number of terminals that can be
 defined is determined by the value established by the SET PATHWAY
 MAXTERMS command and the value established by the SET TCP
 MAXTERMS command.)
 After you establish your PATHWAY system, you can use separate
 obey files to start and stop the appropriate terminals. Figure
 11-6 shows a sample obey file that starts a TCP and a terminal
 named "term01."
 11-21










