Create Device Desc (Retail) (CRTDEVRTL)

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

The Create Device Description (Retail) (CRTDEVRTL) command creates a device description for a retail device.

Top

Parameters

Keyword Description Choices Notes
DEVD Device description Name Required, Positional 1
LOCADR Local location address 01-FE Required, Positional 2
RMTLOCNAME Remote location Communications name Required, Positional 3
ONLINE Online at IPL *YES, *NO Optional
CTL Attached controller Name Optional
PACING Pacing value 0-7, 7 Optional
MAXLENRU Maximum length of request unit *CALC, 247, 256, 503, 512, 1015, 1024 Optional
APPTYPE Application type *OTHER, *RCMS, *SBMRTLPGM Optional
DEVCLS Device class *NONE, *SNPT Optional
ACTTMR Activation timer 1-2550, 170 Optional
INACTTMR Inactivity timer 1-30, *NOMAX, *SEC15, *SEC30 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
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 FE.

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

Pacing value (PACING)

Specifies the SNA pacing value used for request/response units (RUs).

7
A value of 7 is used as the RU pacing value.
pacing-value
Specify a value, ranging from 1 through 7.
Top

Maximum length of request unit (MAXLENRU)

Specifies the maximum request unit (RU) length allowed.

*CALC
The system calculates the value to use.
maximum-length-request-unit
Specify 247, 256, 503, 512, 1015, or 1024 bytes as the maximum length for incoming request units.
Top

Application type (APPTYPE)

Specifies the application type used by this device.

*OTHER
This device communicates with either HCP, if 01 is specified for the Local location address (LOCADR) parameter, or an application on the controller. *OTHER should always be specified when 01 is specified for LOCADR parameter. For a 4684 controller, this parameter should not be specified if the LOCADR parameter is any value other than 01.
*RCMS
This device communicates with the remote change management server (RCMS). *RCMS should only be specified for a 4680 or a 4684 controller. For a 4684 controller, *RCMS should be specified if the LOCADR parameter is any value other than 01.
*SBMRTLPGM
This device is used with the Submit Retail Program (SBMRTLPGM) command to start a program on the retail controller using the ADCS SUP (Start User Program) support. This value is valid only when the Retail Point-of-Sale Communications Facility Licensed Program is being used on the controller. *SBMRTLPGM should not be specified for a 4684 controller.
Top

Device class (DEVCLS)

Specifies the device class for this device.

*NONE
This device description will not be using SNA pass-through support.
*SNPT
This device description is for a device station connected to an SNA pass-through advanced program-to-program communications (APPC) controller. SNA pass-through support allows the user to connect this device station with host logical unit (LU) types 0 through 3 applications.
Top

Activation timer (ACTTMR)

Specifies, for switched lines, the amount of time (in seconds) that the SNA pass-through support waits for the device to respond to the activation request from the host iSeries system. If the device does not respond within this time, it is considered not available.

This parameter is valid only when *SNPT is specified for the DEVCLS parameter.

170
Specifies the activate time of 170 seconds.
activate-time
Specify a number ranging from 1 through 2550 indicating the number of seconds before the device is considered not available.
Top

Inactivity timer (INACTTMR)

Specifies, for devices connected using SNA pass-through support, a timeout value that measures the amount of time that the device is not bound to a host application. When the timeout value is exceeded, the session is ended.

Valid values range from 1 through 30 minutes.

*NOMAX
No maximum inactivity time is tracked (no inactivity timer is be enforced).
*SEC15
A 15-second timeout period is used.
*SEC30
A 30-second timeout period is used.
inactivity-timer
Specifies a timeout value in minutes.
Top

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

SNA pass-through group name (SNPTGRP)

Specifies the name configured for a group of host devices in a configuration list. This indicates that this device is tied to 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.
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

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

CRTDEVRTL   DEVD(RTL1)   LOCADR(05)
            RMTLOCNAME(DETROIT)  CTL(CTL4)

This command creates a retail device description named RTL1. The location address of the retail device is X'05'. The remote-location name is Detroit, and the device is attached to the retail controller CTL4.

Top

Error messages

*ESCAPE Messages

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