Create the controller description (Minneapolis 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 following attributes are defined by the example command:

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 on the Change Network Attributes (CHGNETA) command.
ADPTADR(400000000004)
Specifies the LAN adapter address of the remote controller. This must match the value that is 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 is not disconnected when the last session is unbound. This must be specified because MINSWTSTS(*VRYON) is specified.