Create the controller description (Minneapolis to Payroll, 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(PAYROLL)
The name assigned to the controller description is PAYROLL.
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 local area 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.
ADPTADR(400000000005)
Specifies the LAN adapter address of the remote controller. This must match the value that is specified at the remote controller (PAYROLL) in the associated line description.
RMTNETID(*NONE)
The PAYROLL controller is a low entry networking node and does not use a network ID.
RMTCPNAME(PAYROLL)
Specifies that the remote control-point name is PAYROLL. 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 (PAYROLL) by the LCLCPNAME parameter on the Change Network Attributes (CHGNETA) command.
NODETYPE(*LENNODE)
Specifies that the remote location (PAYROLL) is a low-entry networking node in an APPN network.