Change Device Desc (APPC) (CHGDEVAPPC)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Change Device Description (APPC) (CHGDEVAPPC) command changes a device description for an Advanced Program-to-Program Communications (APPC) device.

Restriction: You must have input/output system configuration (*IOSYSCFG) special authority to use this command.

Top

Parameters

Keyword Description Choices Notes
DEVD Device description Name Required, Key, Positional 1
ONLINE Online at IPL *SAME, *YES, *NO Optional
MODE Mode Single values: *SAME
Other values (up to 14 repetitions): Communications name, *NETATR
Optional
MSGQ Message queue Single values: *SAME, *CTLD, *SYSOPR
Other values: Qualified object name
Optional
Qualifier 1: Message queue Name, QSYSOPR
Qualifier 2: Library Name, *LIBL, *CURLIB
LOCADR Local location address Character value, *SAME Optional
SNGSSN Single session Single values: *SAME, *NO
Other values: Element list
Optional
Element 1: Single session capable *YES
Element 2: Number of conversations 1-512
LCLCTLSSN Locally controlled session *SAME, *YES, *NO Optional
PREESTSSN Pre-established session *SAME, *YES, *NO Optional
LOCPWD Location password Character value, *SAME, *NONE Optional
SECURELOC Secure location *SAME, *YES, *NO, *VFYENCPWD Optional
TEXT Text 'description' Character value, *SAME, *BLANK Optional
Top

Device description (DEVD)

Specifies the name of the device description.

This is a required parameter.

Top

Online at IPL (ONLINE)

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

*SAME
The value does not change.
*YES

This device is varied on automatically at IPL.

*NO

This device is not varied on automatically at IPL.

Top

Mode (MODE)

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

You can enter multiple values for this parameter.

*SAME
The value does not change.
*NETATR
The remote network identifier specified in the network attributes is used.
mode-name

Specify 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.

Specify up to 14 mode names.

Top

Message queue (MSGQ)

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

*SAME
The value does not change.
*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

Specify 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

The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.

library-name

Specify the name of the library to be searched.

Top

Local location address (LOCADR)

Specifies the local location address for this device.

The possible values are 00 to FF.

*SAME
The value does not change.
Top

Single session (SNGSSN)

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

Single values

*SAME
The value does not change.
*NO

Multiple sessions are used.

Element 1: Single session capable

*YES

Single sessions are used.

Element 2: Number of conversations

conversations

Specify a valid value that ranges from 1 through 512 for the number of conversations.

Top

Locally controlled session (LCLCTLSSN)

Specifies whether the session is a locally controlled session.

*SAME
The value does not change.
*NO

The single session is remotely controlled.

*YES

The single session is locally controlled.

Top

Pre-established session (PREESTSSN)

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

*SAME
The value does not change.
*NO

The session is not established automatically at connection time.

*YES

The session is established automatically at connection time.

Top

Location password (LOCPWD)

Specifies the password to be used to validate a connection.

*SAME
The value does not change.
*NONE

There is no password.

location-password

Specify the password as a string of hexadecimal characters.

Top

Secure location (SECURELOC)

Specifies 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.

*SAME
The value does not change.
*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. On the remote system, user IDs are retrieved from the security manager. The user IDs are then sent with an already verified indicator in the allocate or evoke requests.

*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. Passwords are then encrypted and sent with the user IDs in the allocate or evoke requests, to be verified by the local system. This value should only be used if the remote system is using V3R2M0 operating system or later. If the remote system does not support password protection then session establishment will not be allowed. For remote systems that support password protection, but do not support verification of encrypted passwords (VFYENCPWD), conversations will be treated as SECURITY(NONE).

Top

Text 'description' (TEXT)

Specifies the text that briefly describes the object.

*SAME
The text (if any) does not change.
*BLANK
No text is specified.
character-value
Specify no more than 50 characters of text, enclosed in apostrophes.
Top

Examples

CHGDEVAPPC   DEVD(APPC1)  SNGSSN(*NO)

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

Top

Error messages

*ESCAPE Messages

CPF2618
Device description &1 not changed.
Top