Create the controller description (Purchasing to Minneapolis, 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(MPLS)
The name assigned to the controller description is MPLS.
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 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(MPLS)
Specifies that the remote control-point name is MPLS. 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 (MPLS) by the LCLCPNAME parameter on the Change Network Attributes (CHGNETA) command.
ADPTADR(400000000002)
Specifies the LAN adapter address of the remote controller. This must match the value that is specified at the remote controller (MPLS) 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.
NODETYPE(*NETNODE)
Specifies that the remote location (MPLS) is an APPN networking node.