Command reference / comm

CHGCTLAPPC

Change Controller Description

Updates the description of an advanced program-to-program communications controller. Controllers created with LINKTYPE(*LOCAL) have a restricted set of changeable fields.

Allowed environments: *ALL. Positional parameters: 1.

Parameters

CTLD Controller description

Enter the name of the APPC controller description to change.

Type
*NAME
Required
Yes
Length
10
Case
Uppercase

ONLINE Online at IPL

Controls whether this object is automatically varied on at initial program load (IPL).

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Allowed values: *NO, *SAME, *YES

*SAME
Keep the current setting.
*YES
The controller is automatically varied on at IPL.
*NO
The controller is not automatically varied on at IPL.

RMTINTNETA Remote internet address

Sets the TCP/IP host name or internet address to which the controller will respond. Note: This parameter is valid only when *HPRIP is specified for the Link type (LINKTYPE) parameter.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current setting.
host-name
Valid host name or a domain qualified host name associated with an internet address. A name must be between 1 and 255 characters in length.
host-internet-address
The internet address can be specified in either IPv4, IPv6 or IPv4 mapped to IPv6 form.

LCLINTNETA Local internet address

Sets the TCP/IP interface to be used to communicate with the remote system. Note: This parameter is valid only when *HPRIP is specified for the Link type (LINKTYPE) parameter.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME, *SYS

*SAME
Keep the current setting.
*SYS
The system will select the local internet address to use.
internet-address
The internet address can be specified in either IPv4, IPv6 or IPv4 mapped to IPv6 form.
Alias-name
The alias name is the same value that is specified on the ADDTCPIFC and CHGTCPIFC commands Alias name (ALIASNAME) parameter.

LDLCTMR LDLC timers

Sets LDLC (Logical Data Link Control) timers and retry count. The LDLC retry count and LDLC retry timer are used in conjunction. The LDLC retry count and LDLC retry timer are initialized when a command or request is first transmitted over the link.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME

*SAME (ldlc retry count)
Keep the current setting.
retry-count
Enter the LDLC retry counter. Valid values range from 0 to 255.
*SAME (ldlc retry timer)
Keep the current setting.
retry-timer
Enter the LDLC retry timer interval. Valid values range from 0 to 65535 seconds.
*SAME (ldlc liveness timer)
Keep the current setting.
liveness-timer
Enter the LDLC liveness timer. Valid values range from 0 to 65535 seconds.
Elements in order

LDLC retry count LDLC retry count

Type
*INT4
Required
No
Default
*SAME
Range
0 to 255
Case
Uppercase

Suggested / special values: *SAME

LDLC retry timer LDLC retry timer

Type
*INT4
Required
No
Default
*SAME
Range
0 to 65535
Case
Uppercase

Suggested / special values: *SAME

LDLC liveness timer LDLC liveness timer

Type
*INT4
Required
No
Default
*SAME
Range
0 to 65535
Case
Uppercase

Suggested / special values: *SAME

LDLCLNKSPD LDLC link speed

Sets the LDLC (Logical Data Link Control) link speed in bits per second.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *CAMPUS, *MAX, *MIN, *SAME, *WAN

*SAME
Keep the current setting.
*CAMPUS
Sets a set of default APPN link characteristics for a campus environment be used.
*WAN
Sets a set of default APPN link characteristics for a wide-area network environment be used.
4M
The link speed is 4 million bits per second.
10M
The link speed is 10 million bits per second.
16M
The link speed is 16 million bits per second.
100M
The link speed is 100 million bits per second.
*MIN
A link speed of less than 1200 bits per second is used.
*MAX
A link speed greater than 100 million bits per second is used.
LDLC-link-speed
Enter the LDLC link speed. Specify a value from 1200 to 603979776000 bits per second.

LDLCTMSGRP LDLC transmission group

Sets the LDLC (Logical Data Link Control) transmission group characteristics of Cost/connect time, Cost/byte, Security and Propagation delay.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME

*SAME (cost/connect time)
Keep the current setting.
cost-connection-time
Enter the cost per connect time. Valid values range from 0 to 255.
*SAME (cost/byte)
Keep the current setting.
cost-byte
Enter the cost per byte. Valid values range from 0 to 255.
*SAME (security)
Keep the current setting.
*NONSECURE
There is no security over the link.
*PKTSWTNET (security)
Packet-switched network, so the link is secure in the sense that the data does not always use the same path through the network.
*UNDGRDCBL
Underground cable secure conduit.
*SECURECND
Secured conduit but not guarded.
*GUARDCND
The link is a guarded conduit and protected against physical tapping.
*ENCRYPTED
Data flow is to be encrypted.
*MAX (security)
Guarded conduit, protected against physical and radiation tapping.
*SAME (propagation delay)
Keep the current setting.
*LAN
Sets a local area network delay (less than 0.48 milliseconds).
*MIN
Sets the minimum delay.
*TELEPHONE
Sets a telephone network with a delay from .48 milliseconds through 49.152 milliseconds.
*PKTSWTNET (propagation delay)
Sets a packet-switched network with the delay from 49.152 through 245.76 milliseconds.
*SATELLITE
Sets satellite delay (greater than 245.76 milliseconds).
*MAX (propagation delay)
Sets the maximum delay.
Elements in order

Cost/connect time Cost/connect time

Type
*INT4
Required
No
Default
*SAME
Range
0 to 255
Case
Uppercase

Suggested / special values: *SAME

Cost/byte Cost/byte

Type
*INT4
Required
No
Default
*SAME
Range
0 to 255
Case
Uppercase

Suggested / special values: *SAME

Security Security

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME, *NONSECURE, *PKTSWTNET, *UNDGRDCBL, *SECURECND, *GUARDCND, *ENCRYPTED, *MAX

Propagation delay Propagation delay

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME, *LAN, *MIN, *TELEPHONE, *PKTSWTNET, *SATELLITE, *MAX

CODE Character code

Controls whether the extended binary-coded decimal interchange code (*EBCDIC) or the American National Standard Code for Information Interchange (*ASCII) character code is used on the line.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Allowed values: *ASCII, *EBCDIC, *SAME

*SAME
Keep the current setting.
*EBCDIC
The extended binary-coded decimal interchange code (EBCDIC) character code is used.
*ASCII
The ASCII character code is used.

MAXFRAME Maximum frame size

Sets the maximum frame (path information unit (PIU)) size the controller can send or receive. This value is used to calculate the request unit (RU) sizes. Since the maximum PIU size that the controller can send or receive is negotiated at exchange identifier time, the maximum PIU size used at run time may be different.

Type
*INT4
Required
No
Default
*SAME
Range
265 to 16393
Case
Uppercase

Suggested / special values: *LINKTYPE, *SAME

*SAME
Keep the current setting.
*LINKTYPE
The following values are used for the various types:
maximum-frame-size
Enter the frame size for the controller. The frame size that can be used depends on the type of line being used. Valid frame sizes for each line type are:

RMTNETID Remote network identifier

Enter the name of the remote network in which the adjacent control point resides.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *ANY, *NETATR, *NONE, *SAME

*SAME
Keep the current setting.
*NETATR
The LCLNETID value specified in the system network attributes is used.
*NONE
No remote network identifier (ID) is used.
*ANY
The system determines which remote network identifier is used.
remote-network-identifier
Enter the remote network identifier.

RMTCPNAME Remote control point

Sets the control point name of the remote system.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *ANY, *NONE, *SAME

*SAME
Keep the current setting.
*NONE
Sets no remote control point name is used.
*ANY
The system determines the name of the remote control point used.
remote-control-point-name
Enter the remote control point NAME.

RMTSYSNAME Remote system name

Enter the name of the remote system to which there is an OptiConnect bus connection. The current system NAME of the remote system can be found by using the DSPNETA command on that system. Note: This parameter is valid only when LINKTYPE(*OPC) is specified.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current setting.

SSCPID SSCP identifier

Sets the system service control point identifier of the host system.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
Leave system service control point identifier unspecified.
system-service-control-point-identifier
Enter the system service control point identifier as a 12-digit hexadecimal value.

INLCNN Initial connection

Sets the method used to establish a connection with this controller.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Allowed values: *ANS, *DIAL, *SAME

*SAME
Keep the current setting.
*DIAL
The system initiates outgoing calls and answers incoming calls.
*ANS
The connection is made by the IBM i system when it answers an incoming call from this controller. If a call is received from the remote controller and all necessary conditions are met, the incoming call is answered by the system.

DIALINIT Dial initiation

Sets the method used to make the initial dial on a switched line between the system and the remote controller.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Allowed values: *DELAY, *IMMED, *LINKTYPE, *SAME

*SAME
Keep the current setting.
*LINKTYPE
The type of dial connection initiated is specified on the LINKTYPE parameter. For all other link types, the default is to delay dialing.
*IMMED
The dial connection is initiated as soon as the controller description is varied on.
*DELAY
The dial connection is delayed until a job is initiated that requests the use of the remote controller resources.

SWTDSC Switched disconnect

Controls whether the switched connection to this controller is dropped when the last device is varied off.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Allowed values: *NO, *SAME, *YES

*SAME
Keep the current setting.
*NO
The switched connection is not dropped when the last device is varied off.
*YES
The switched connection is varied off when the last device is varied off.

DSCTMR Disconnect timer

Sets options for controlling the time (in seconds) before a connection without activity is dropped, or the amount of time to delay the automatic disconnection. If the user does not want the line to drop, specify *NO for the SWTDSC parameter.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME

*SAME (minimum connect timer)
Keep the current setting.
disconnect-timer
Enter a time to wait before disconnecting. Valid values range from 0 through 65535 seconds.
*SAME (disconnect delay timer)
Keep the current setting.
disconnect-delay-timer
Enter a value to delay link take down after the last session on the controller is stopped. Valid values range from 0 through 65535 seconds.
Elements in order

Minimum connect timer Minimum connect timer

Type
*INT4
Required
No
Range
0 to 65535
Case
Uppercase

Disconnection delay timer Disconnection delay timer

Type
*INT4
Required
No
Default
*SAME
Range
0 to 65535
Case
Uppercase

Suggested / special values: *SAME

DSAP LAN DSAP

Sets the destination service access point (DSAP). This is the logical address this system will send to when it communicates with the remote controller. This address allows the controller to properly route the data that comes from this system. The default value for the destination service access point is 04.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current setting.
destination-service-access-point
Enter a hexadecimal value ranging from 04 through 9C, in increments of 4 (for example, 04, 08, 0C, 10) to represent the destination service access point.

SSAP LAN SSAP

Sets the source service access point (SSAP). This is the logical address the local system uses when it sends data to the remote controller. This address allows the controller to properly route the data that comes from the local system. The default value for the source service access point is 04.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *SAME

*SAME
Keep the current setting.
source-service-access-point
Enter a hexadecimal value ranging from 04 through 9C, in increments of 4 (for example, 04, 08, 0C, 10) to represent the source service access point.

CPSSN APPN CP session support

Controls whether this controller supports sessions between control points.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Allowed values: *NO, *SAME, *YES

*SAME
Keep the current setting.
*YES
This controller supports sessions between control points.
*NO
This controller does not support sessions between control points.

NODETYPE Remote APPN node type

Sets the type of APPN node which this controller represents.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Allowed values: *CALC, *ENDNODE, *LENNODE, *NETNODE, *SAME

*SAME
Keep the current setting.
*ENDNODE
This node is an end node in an APPN network.
*NETNODE
This node is a network node in an APPN network.
*LENNODE
This node is a low-entry networking node in an APPN network.
*CALC
The system determines the type of node this controller represents.

BEXROLE Branch extender role

Sets the role of the local system in an APPN network for the remote controller being configured. This parameter is only used when the local system has enabled the branch extender function via the NODETYPE parameter in the network attributes being set to *BEXNODE.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Allowed values: *ENDNODE, *NETNODE, *SAME

*SAME
Keep the current setting.
*NETNODE
The local system takes the role of a network node for the remote controller.
*ENDNODE
The local system takes the role of an end node for the remote controller.

HPRPTHSWT HPR path switching

Controls whether an attempt is made to switch paths of HPR connections associated with this controller at the time the controller is varied off. If a path switch is not attempted or if there are no other available paths, jobs associated with the HPR connections will be ended.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Allowed values: *NO, *SAME, *YES

*SAME
Keep the current setting.
*NO
When this controller is varied off path switching will not be done for HPR connections associated with this controller. Jobs associated with HPR connections will be ended.
*YES
When this controller is varied off an attempt to switch paths of HPR connections associated with this controller will be made.

TMSGRPNBR APPN transmission group number

Sets the transmission group number for this controller.

Type
*INT4
Required
No
Default
*SAME
Range
1 to 20
Case
Uppercase

Suggested / special values: *CALC, *SAME

*SAME
Keep the current setting.
*CALC
The system specifies the value for the transmission group number.
transmission-group-number
Enter a value from 1 to 20 for the transmission group number.

MINSWTSTS APPN minimum switched status

Sets the minimum status of the switched connection so that APPN will consider it as a controller that is available for routing.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Allowed values: *SAME, *VRYON, *VRYONPND

*SAME
Keep the current setting.
*VRYONPND
APPN will consider the controller available for routing if the status is vary on pending, varied on, or active.
*VRYON
APPN will consider the controller available for routing only if the status is varied on or active.

AUTOCRTDEV Autocreate device

Controls whether device descriptions can be automatically created for this controller description. Note: This parameter does not apply to the automatic creation of APPC devices. This parameter only applies to dependent devices on this controller.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Allowed values: *ALL, *NONE, *SAME

*SAME
Keep the current setting.
*ALL
All dependent devices than can be automatically created for this controller, except APPC devices, are automatically created.
*NONE
Dependent devices on this controller are not automatically created.

AUTODLTDEV Autodelete device

Sets the number of minutes an automatically created device can remain in an idle state (when there are no active conversations on that device). When the time expires, the system automatically varies off and deletes the device description.

Type
*INT4
Required
No
Default
*SAME
Range
1 to 31680
Case
Uppercase

Suggested / special values: *NO, *SAME

*SAME
Keep the current setting.
*NO
The system will not automatically vary off and delete the automatically-configured idle device descriptions.
1-31680
Enter the number of minutes to wait before deleting the automatically-configured idle device descriptions for this controller. Valid values range from 1 to 31680 minutes (22 days).

USRDFN1 User-defined 1

Set the first user-defined value in the controller description.

Type
*INT4
Required
No
Default
*SAME
Range
0 to 255
Case
Uppercase

Suggested / special values: *LIND, *SAME

*SAME
Keep the current setting.
*LIND
The user-defined value specified in the line description is used.
user-defined
Enter a value ranging from 0 through 255.

USRDFN2 User-defined 2

Set the second user-defined value in the controller description.

Type
*INT4
Required
No
Default
*SAME
Range
0 to 255
Case
Uppercase

Suggested / special values: *LIND, *SAME

*SAME
Keep the current setting.
*LIND
The user-defined value specified in the line description is used.
user-defined
Enter a value ranging from 0 through 255.

USRDFN3 User-defined 3

Set the third user-defined value in the controller description.

Type
*INT4
Required
No
Default
*SAME
Range
0 to 255
Case
Uppercase

Suggested / special values: *LIND, *SAME

*SAME
Keep the current setting.
*LIND
The user-defined value specified in the line description is used.
user-defined
Enter a value ranging from 0 through 255.

CMNRCYLMT Recovery limits

Sets the number of recovery attempts made by the system before an inquiry message is sent to the system operator. Also specifies the time (in minutes) that must elapse before the system sends an inquiry message to the system operator indicating that the recovery attempt count limit is reached.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *SYSVAL

*SAME
Keep the current setting.
*SYSVAL
The value in the QCMNRCYLMT system value is used.
count limit
Enter the number of second-level recovery attempts to be made. Valid values range from 0 through 99.
time-interval
Enter the time interval (in minutes) at which the specified number of second-level recoveries are attempted. Valid values range from 0 through 120. If the value specified for count-limit is not 0, the value 0 specifies infinite recovery.
Elements in order

Count limit Count limit

Type
*INT4
Required
No
Range
0 to 99
Case
Uppercase

Time interval Time interval

Type
*INT4
Required
No
Range
0 to 120
Case
Uppercase

MSGQ Message queue

Sets the message queue to which operational messages are sent.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *SAME, *SYSOPR, *SYSVAL

*SAME
Keep the current setting.
*SYSVAL
Messages are sent to the message queue defined in the QCFGMSGQ system value.
*SYSOPR
Messages are sent to the system operator message queue (QSYS/QSYSOPR).
name (message queue)
Enter the name of the message queue to which operational messages are sent.
name (library)
Enter the name of the library where the message queue is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Part 31-01

Type
*NAME
Required
No
Length
10
Case
Uppercase

Part 31-11

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

CTLOWN Control owner

Controls whether the user is allowed to change the controller description. If the user is the current owner, ownership cannot be transferred back to the system.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Allowed values: *SAME, *USER

*SAME
Keep the current setting.
*USER
The user can make changes to the controller description.

TEXT Text 'description'

Sets the text that briefly describes the object.

Type
*CHAR
Required
No
Default
*SAME
Length
50
Case
Uppercase

Suggested / special values: *BLANK, *SAME

*SAME
Keep the current setting.
*BLANK
Leave the description blank.
character-value
Enter no more than 50 characters of text, enclosed in apostrophes.

Examples

CHGCTLAPPC CTLD(CHICAGO) ONLINE(*YES) TEXT('Controller in Chicago')

Changes the APPC controller named CHICAGO to be varied on at IPL and a new text description is specified.

CHGCTLAPPC CTLD(CJG) LCLINTNETA('9.5.5.1') LDLCLNKSPD(*WAN)

Changes the APPC controller named CJG to local internet address 9.5.5.1 and LDLC (Logical Data Link Control) link speed to *WAN.

IBM command documentation

Generated from os/cl/catalog/CHGCTLAPPC.json and os/cl/help/CHGCTLAPPC.json.