1.LATCP> CREATE PORT LTA22: /APPLICATION
The CREATE PORT command in this example creates an application
port named LTA22: on a service node. You can associate the port
with a specific printer on a terminal server (use the SET PORT
/NODE /PORT command) or with a set of printers on a terminal
server (use the SET PORT /NODE /SERVICE command). Or, you can
associate the port with a dedicated port on a remote service
node. In this case, use the SET PORT /NODE /SERVICE command,
where the /SERVICE qualifier specifies an application service
associated with a dedicated port on the remote node. See the
examples for the SET PORT command.
2.LATCP> CREATE PORT LTA21: /DEDICATED
The CREATE PORT command in this example creates the LTA21:
port. It will be used as a dedicated port that offers a
specific service rather than a general timesharing service.
3.LATCP> CREATE PORT /LOG /APPLICATION -
_LATCP> /LOGICAL=(NAME=MAIL_PORT, TABLE=PROCESS, MODE=SUPERVISOR)
The CREATE PORT command in this example creates an application
port. It assigns the name of the new port to the specified
logical name (MAIL_PORT). The logical is created as a
supervisor mode logical name in the LNM$PROCESS_TABLE logical
name table. LATCP displays a confirmation message.
4.$ LCP :== $LATCP
$ LCP CREATE SERVICE/LIMITED ONLY_ONE
$ LCP CREATE PORT/LIMITED LTA1234:
$ LCP SET PORT LTA1234: /SERVICE=ONLY_ONE
This series of commands creates a limited service that allows
only one user to log in to the system through that service.
When a user connects to service ONLY_ONE by responding to the
terminal server prompt (Local>), the user is assigned port
LTA1234 and then prompted for the user name. Any user who
attempts to connect to the same service while LTA1234 has a
user logged in receives the "service in use" message.