Create the controller description (Purchasing to Distribution, token-ring
network)
Because this is an APPN environment (iSeries system to iSeries system), the controller
is an APPC controller and the CRTCTLAPPC command is used to define the attributes
of the controller. The example command defines the following attributes:
- CTLD(DISTRIB)
- The name assigned to the controller description is DISTRIB.
- LINKTYPE(*LAN)
- Because this controller is attached through a token-ring network communications
line, the value specified is *LAN. This value must correspond to the type
of line being used as defined by a create line description command.
- SWITCHED(*YES)
- Always specified as *YES for token-ring network connections.
- SWTLINLST(MPLSTRN)
- Specifies the name (MPLSTRN) of the line descriptions (in this case,
a token-ring network line) that this controller can be attached to. In the
example, there is only one line (MPLSTRN). This value must match a name that
is specified by the LIND parameter in a line description.
- RMTNETID(APPN)
- The name of the network in which the remote control point resides is
APPN.
- RMTCPNAME(DISTRIB)
- Specifies that the remote control-point name is DISTRIB. The name specified
here must match the name that is specified at the remote system for the local
control-point name. In the example, the name is specified at the remote system
(DISTRIB) by the LCLCPNAME parameter of the Change Network Attributes (CHGNETA)
command.
- ADPTADR(400000000004)
- Specifies the LAN adapter address of the remote controller. This must
match the value specified at the remote controller (DISTRIB) in the associated
line description.
- MINSWTSTS(*VRYON)
- Specifies that CP-CP sessions are established over this connection only
when the status of the controller is varied on or active. This connection
is to be treated as logically nonswitched for purposes of APPN routing.
- SWTDSC(*NO)
- Specifies that the switched connection will not be disconnected when
the last device is varied off. This must be specified since MINSWTSTS(*VRYON)
is specified.