Command reference / comm

CHGDEVAPPC

Change Device Description

Updates the description of an advanced program-to-program communications device.

Allowed environments: *ALL. Positional parameters: 1.

Parameters

DEVD Device description

Enter the name of the device description.

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
This device is varied on automatically at IPL.
*NO
This device is not varied on automatically at IPL.

MODE Mode

Sets the names of the modes that define the sessions on this device.

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

Suggested / special values: *NETATR, *SAME

*SAME
Keep the current setting.
*NETATR
The remote network identifier specified in the network attributes is used.
mode-name
Enter the name of mode descriptions used by this device. The mode name cannot be CPSVCMG or SNASVCMG; these mode names are reserved for system use.

MSGQ Message queue

Sets the message queue to which operational messages for this device are sent.

Type
*QUAL
Required
No
Default
*SAME
Case
Uppercase

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

*SAME
Keep the current setting.
*CTLD
Messages are sent to the message queue defined in the attached controller. The message queue is determined when the device is varied on.
*SYSOPR
Messages are sent to the system operator message queue (QSYS/QSYSOPR).
message-queue-name
Enter the name of the message queue to which operational messages are sent.
*LIBL
All libraries in the job's library list are searched until the first match is found.
*CURLIB
Look in the current library, falling back to QGPL.
library-name
Enter the name of the library to be searched.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Part 3-01

Type
*NAME
Required
No
Length
10
Case
Uppercase

Part 3-11

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

LOCADR Local location address

Sets the local location address for this device.

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

Suggested / special values: *SAME

*SAME
Keep the current setting.

SNGSSN Single session

Controls whether a single or multiple sessions are used with remote locations. If single sessions are used, the number of conversations must be specified.

Type
*ELEM
Required
No
Default
*SAME
Case
Uppercase

Suggested / special values: *NO, *SAME

*SAME
Keep the current setting.
*NO
Multiple sessions are used.
*YES
Single sessions are used.
conversations
Enter a valid value that ranges from 1 through 512 for the number of conversations.
Elements in order

Single session capable Single session capable

Type
*CHAR
Required
No
Length
50
Case
Uppercase

Suggested / special values: *YES

Number of conversations Number of conversations

Type
*INT4
Required
No
Range
1 to 512
Case
Uppercase

LCLCTLSSN Locally controlled session

Controls whether the session is a locally controlled session.

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

Allowed values: *NO, *SAME, *YES

*SAME
Keep the current setting.
*NO
The single session is remotely controlled.
*YES
The single session is locally controlled.

PREESTSSN Pre-established session

Controls whether the session is established when the connection with the remote system is established.

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

Allowed values: *NO, *SAME, *YES

*SAME
Keep the current setting.
*NO
The session is not established automatically at connection time.
*YES
The session is established automatically at connection time.

LOCPWD Location password

Sets the password to be used to validate a connection.

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

Suggested / special values: *NONE, *SAME

*SAME
Keep the current setting.
*NONE
There is no password.
location-password
Enter the password as a string of hexadecimal characters.

SECURELOC Secure location

Select how security information is handled for program start requests received from remote systems. The value is sent to the remote system when sessions are established. It is used in determining how allocate or evoke requests should be built. The value only applies to conversations started with the SECURITY(SAME) level of security.

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

Allowed values: *NO, *SAME, *VFYENCPWD, *YES

*SAME
Keep the current setting.
*NO
The remote system is not a secure location. Security validation done by the remote system is not accepted. SECURITY(SAME) conversations are treated as SECURITY(NONE). No security information will be sent with allocate or evoke requests.
*YES
The remote system is a secure location and the local system will accept security validation done by remote systems. For SECURITY(SAME) conversations, the local system allows the remote system to verify user passwords.
*VFYENCPWD
The remote system is not a secure location. For SECURITY(SAME) conversations, the remote system is not allowed to send the already verified indicator. On the remote system, user IDs and passwords are retrieved from the security manager.

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 text (if any).
*BLANK
Leave the description blank.
character-value
Enter no more than 50 characters of text, enclosed in apostrophes.

Examples

CHGDEVAPPC DEVD(APPC1) SNGSSN(*NO)

Changes the device description for communication device APPC1 so it is no longer limited to single sessions.

IBM command documentation

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