Create the controller description (Payroll to 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 (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(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.
APPN(*NO)
Specifies that this link does not use APPN networking support. All the devices must be specifically defined to the local system using the CRTDEVAPPC command.