Create Device Desc (SNUF) (CRTDEVSNUF)

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

The Create Device Description (SNUF) (CRTDEVSNUF) command creates a device description for a Systems Network Architecture Upline Facility (SNUF) device.

Top

Parameters

Keyword Description Choices Notes
DEVD Device description Name Required, Positional 1
LOCADR Local location address 01-FF Required, Positional 2
RMTLOCNAME Remote location Communications name Required, Positional 3
ONLINE Online at IPL *YES, *NO Optional
CTL Attached controller Name Optional
PGMSTRRQS Program start request capable *NO, *YES Optional
SPCHOSTAPP Special host application *NONE, *FLASH Optional
APPID Application identifier Name Optional
HOST Host type *CICS, *IMS, *IMSRTR, *ADCS Optional
RCDLEN Record length 1-32767, 512 Optional
BLKLEN Block length 1-32767, 512 Optional
DFTPGM Default program Qualified object name Optional
Qualifier 1: Default program Name
Qualifier 2: Library Name, *LIBL, *CURLIB
HCPEML HCP emulation Character value, *STRUSRPGM, 3651, 3684, 4680, 4684 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
Top

Device description (DEVD)

Specifies the name of the device description.

This is a required parameter.

Top

Local location address (LOCADR)

Specifies the local location address for this device.

Valid values range from 01 to FF.

Top

Remote location (RMTLOCNAME)

Specifies the name of the remote location with which your program communicates.

Top

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

Attached controller (CTL)

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

Note: To use this device for communicating with a remote location that resides on the same system as the local location, specify a controller description that was created with LINKTYPE (*LOCAL) specified.

Top

Program start request capable (PGMSTRRQS)

Specifies whether this device is reserved for host system call through a Program Start Request (PSR).

*NO
This device is not reserved for a PSR request.
*YES
This device is reserved for a PSR request.
Top

Special host application (SPCHOSTAPP)

Specifies whether SNUF customizes support for special host applications outside the Customer Information Control System for Virtual Storage (CICS/VS) or Information Management System for Virtual Storage (IMS/VS) application layer.

*NONE
SNUF does not customize support for special host applications.
*FLASH
SNUF customizes support for the Federal Reserve Flash application.
Top

Application identifier (APPID)

Specifies the VTAM Application Identifier sent with the log-on message.

Top

Host type (HOST)

Specifies the type of host system with which the device will communicate.

*CICS
The host system type is CICS/VS.
*IMS
The host system type is IMS/VS.
*IMSRTR
The Information Management System is the host system. RTR (return-to-ready) commands will be used in communicating with the host system.
*ADCS
The Advanced Data Communications for Stores is the host system.
Top

Record length (RCDLEN)

Specifies the maximum record length allowed when communicating with this device.

Valid values range from 1 to 32767.

The value must be at least the size of the largest record to be sent, but must not exceed the buffer size specified on the line description (MAXBUFFER parameter) to which this device is attached.

Top

Block length (BLKLEN)

Specifies the maximum block length allowed when communicating with this device.

The possible values are from 1 to 32767.

The value must be at least the size of the largest record to be sent, but must not exceed the buffer size specified on the line description (MAXBUFFER parameter) to which this device is attached.

Top

Default program (DFTPGM)

Specifies the name of the program called if a program start request is received and no program is specified.

The program is specified by its qualified name (library-name/program-name).

The possible library values are:

*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the thread is searched. If no library is specified as the current library for the thread, the QGPL library is searched.
library-name
Specify the library where the object is located.
Top

HCP emulation (HCPEML)

Specifies the Host Command Processor (HCP) emulation to be performed.

3651
The host is running ADCS and will use this device description for a 3651 HCP emulated session.
3684
The host is running ADCS and will use this device description for a 3684 HCP emulated session.
4680
The host is running ADCS and will use this device description for a 4680 HCP emulated session.
4684
The host is running ADCS and will use this device description for a 4684 HCP emulated session.
*STRUSRPGM
The host is running ADCS and will use this device description for the Start User Program (SUP) emulated session.
Top

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

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 iSeries 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.
Top

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

Examples

CRTDEVSNUF   DEVD(SNUFDEV02)  LOCADR(FE)  RMTLOCNAME(DETROIT)
             CTL(SNUFCTL01)  PGMSTRRQS(*YES)  DFTPGM(PAYROLL)

This command creates a device description for a SNUF communications device named SNUFDEV02. The device is attached to the communications controller SNUFCTL01 in Detroit, and is at location address X'FE'. The device will be program start request-capable and the default program is PAYROLL.

Top

Error messages

*ESCAPE Messages

CPF261A
Device description &1 not created due to errors.
Top