Create Device Desc (SNPT) (CRTDEVSNPT)

The Create Device Description (SNA Pass-Through) (CRTDEVSNPT) command creates a device description for an SNA pass-through (SNPT) device.

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

Parameters

Keyword Description Choices Notes
DEVD Device description Name Required, Positional 1
LOCADR Local location address 00-FE Required, Positional 2
SNPTCLS SNA pass-through class *UP, *DOWN Required, Positional 3
ONLINE Online at IPL *YES, *NO Optional, Positional 4
CTL Attached controller Name Optional
ACTTMR Activation timer 1-2550, 170 Optional
SNPTDEV SNA pass-through device desc Name, *NONE Optional
SNPTGRP SNA pass-through group name Name, *NONE Optional
TEXT Text 'description' Character value, *BLANK Optional
DEPLOCNAME Dependent location name Communications name, *NONE Optional
AUT Authority Name, *CHANGE, *ALL, *USE, *EXCLUDE, *LIBCRTAUT Optional

Device description (DEVD)

Specifies the name of the device description.

Local location address (LOCADR)

Specifies the local location address for this device.

Valid values range from 01 to FF.

SNA pass-through class (SNPTCLS)

Specifies whether this device is attached to a SNA pass-through host controller or to a SNA pass-through downstream (APPC) controller.

*UP

Specifies device to be attached to a SNA pass-through host controller.

*DOWN

Specifies device to be attached to a SNA pass-through downstream (APPC) controller.

Online at IPL (ONLINE)

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

*YES

This device is varied on automatically at IPL.

*NO

This device is not varied on automatically at IPL.

Attached controller (CTL)

Specifies the name of the controller description to which this object is attached.

Activation timer (ACTTMR)

Specifies the amount of time (in seconds) to wait for the device to respond to the activation request from the host IBM i. If the device does not respond within this time, it is considered not available.

Note: This parameter is valid only on switched lines and when *SNPT is specified for the DEVCLS parameter.

170

Specifies the activate time of 170 seconds.

activation-timer

Specify a number ranging from 1 through 2550 indicating the number of seconds before the device is considered not available.

SNA pass-through device desc (SNPTDEV)

Specifies the name of the associated SNA pass-through device that is attached to a host or advanced program-to-program communications (APPC) controller.

*NONE

No name is specified.

associated-device-name

Specify the name of a device that is attached to a host or an APPC controller that is associated with this device.

SNA pass-through group name (SNPTGRP)

Specifies the name configured for a group of host devices in a configuration list (see CRTCFGL command). This indicates that this device is associated with any one of the devices in that group which is available.

*NONE

No name is specified.

group-name

Specify the name configured for a group of host devices that must be associated with this device.

Text 'description' (TEXT)

Specifies the text that briefly describes the object.

*BLANK
No text is specified.
character-value
Specify no more than 50 characters of text, enclosed in apostrophes.

Dependent location name (DEPLOCNAME)

Specifies the dependent local location name used for Dependent LU Requester (DLUR), providing additional security for the connection. If this name is filled in, an activation request (SNA ACTLU) from a Dependent LU Server (DLUS) node must reference this name or it is rejected.

Remote DLUS nodes may optionally accept unsolicited reply PSIDs (Product Set IDs) from the IBM i for auto-definition of LUs at the DLUS node. If so, then this name will be sent to the DLUS node in the reply PSID and it will be returned on the ACTLU request.

If unsolicited reply PSIDs are not supported by the DLUS node, then there will have to be close coordination of the PU name definitions on both systems.

*NONE

No location name is defined.

dependent-location-name

Specify the dependent location name used for DLUR applications.

Authority (AUT)

Specifies the authority you are giving to users who do not have specific authority for the object, who are not on an authorization list, and whose group profile or supplemental group profiles do not have specific authority for the object.

*CHANGE
The user can perform all operations on the object except those limited to the owner or controlled by object existence (*OBJEXIST) and object management (*OBJMGT) authorities. The user can change and perform basic functions on the object. *CHANGE authority provides object operational (*OBJOPR) authority and all data authority. If the object is an authorization list, the user cannot add, change, or remove users.
*ALL
The user can perform all operations except those limited to the owner or controlled by authorization list management (*AUTLMGT) authority. The user can control the object's existence, specify the security for the object, change the object, and perform basic functions on the object. The user also can change ownership of the object.
*USE
The user can perform basic operations on the object, such as running a program or reading a file. The user cannot change the object. Use (*USE) authority provides object operational (*OBJOPR), read (*READ), and execute (*EXECUTE) authorities.
*EXCLUDE
The user cannot access the object.
*LIBCRTAUT
The system determines the authority for the object by using the value specified for the Create authority (CRTAUT) parameter on the Create Library (CRTLIB) command for the library containing the object to be created. If the value specified for the CRTAUT parameter is changed, the new value will not affect any existing objects.
name
Specify the name of an authorization list to be used for authority to the object. Users included in the authorization list are granted authority to the object as specified in the list. The authorization list must exist when the object is created.

Examples

CRTDEVSNPT   DEVD(SNPTDEV1)  LOCADR(05) SNPTCLS(*UP)
             CTL(MYCTL)  SNPTDEV(DOWNDEV1)

This command creates a SNA pass-through device description named SNPTDEV1. The location address of the device is X'05'. The device is attached to controller MYCTL. The SNA pass-through class is *UP and the device name associated with this device is DOWNDEV1.

Error messages

*ESCAPE Messages

CPF261A
Device description &1 not created due to errors.
CPF2654
Device description &1 created but possibly not usable.