CRTDEVRTL (Create Device Description (Retail))
CRTDEVRTL Command syntax diagram
Purpose
The Create Device Description (Retail) (CRTDEVRTL) command creates a device description for a retail device. More information about using this command is in the Communications Configuration book.
Required Parameters
- DEVD
- Specifies the name of the device description being created.
- LOCADR
- Specifies the local location address. Specify a 2-character hexadecimal value ranging from 01 through FE.
- RMTLOCNAME
- Specifies the remote location name of the system with which this object communicates.
Optional Parameters
- ONLINE
- Specifies whether this object is automatically varied on at initial program load (IPL).
*YES: The device is automatically varied on at IPL.
*NO: This device is not automatically varied on at IPL.
- CTL
- Specifies the name of the controller description to which this object is attached.
- PACING
- Specify a value ranging from 0 through 7 to indicate the pacing count used when communicating with this device.
7: Character density is 16.7 characters per inch.
pacing-value: Specify a value ranging from 0 through 7 to indicate the pacing count used for this device.
- MAXLENRU
- Specifies the default maximum request unit (RU) length that can be sent or received by the local systems if the maximum size is not specified in the bind.
Note: If the LOCADR parameter has a value of 01, then the only valid lengths for the maximum request unit is *CALC or 256 bytes. *CALC: The system determines the value to use.
maximum-length-request-unit: Specify either 247, 256, 503, 512, 1015, or 1024 bytes for the maximum length of incoming request units.
- APPTYPE
- Specifies the application type being used.
*OTHER: This device is used to communicate with either the Host Command Processor (HCP) (if LOCADDR = 01) or an application on the controller.
*RCMS: This device communicates with the remote change management server (RCMS).
*SBMRTLPGM: This device is used with the SBMRTLPGM command to start a program on the retail controller using the Advanced Data Communication for Stores (ADCS) SUP (Start User Program) support. This value is meaningful only when the Retail Point-of-Sale Communications Facility Licensed Program is being used on the controller.
- DEVCLS
- Specifies the device class for this device.
*NONE: This device description will not be using SNA Passthrough support.
*SNPT: This device description is for a display station connected to an SNA pass-through advanced program-to-program communications (APPC) controller. SNA pass-through support allows the user to connect this display station with host logical unit (LU) types 0 through 3 applications.
- INACTTMR
- Specifies an inactivity timer (time-out) value. This parameter also specifies what happens when the time-out value is exceeded, dependent on other attributes of the device:
- For devices connected using SNA pass-through (SNPT) support, the user is informed by a message to QSYSOPR and the session is ended when the amount of time that the device is not bound to a host application exceeds the time-out value. The user must reestablish the connection and session.
- For all other attachments, valid values range from 1 through 30 minutes.
Note: This timer is not used by devices allocated to a subsystem (normal interactive use) because the subsystem always has a file open for the device. The timer is used by batch jobs that open and close files for the device. *NOMAX: Maximum inactivity time is not tracked.
*SEC15: A 15-second time-out period is used.
*SEC30: A 30-second time-out period is used.
inactivity-timer: Specify a time-out value.
- 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 400. If the device does not respond within this time, it is considered not available.
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.
- 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.
- SNPTGRP
- Specifies the name configured for a group of host devices in a configuration list. 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.
- AUT
- Specifies the authority given to users who do not have specific authority to the device description, who are not on an authorization list, and whose user group has no specific authority to the device description.
*LIBCRTAUT: The authority for the object is the same as the create authority for QSYS. The create authority for QSYS can be displayed by using the Display Library Description (DSPLIBD) command. If the create authority is changed with the Change Library (CHGLIB) command, the new authority does not affect existing objects.
*CHANGE: The user can perform all operations on the object except those limited to the owner or controlled by object existence authority and object management authority. The user can change and perform basic functions on the object. Change authority provides object operational authority and all data authority.
*ALL: The user can perform all operations except those limited to the owner or controlled by authorization list management 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 device description.
*USE: The user can perform basic operations on the device description, such as running a program or reading a file. The user cannot change the device description. *USE authority provides object operational authority, read authority, and execute authority.
*EXCLUDE: The user cannot access the device description.
authorization-list-name: Specify the name of the authorization list used.
- TEXT
- Specifies the text that briefly describes the device file. More information on this parameter is in Commonly used parameters.
*BLANK: Text is not specified.
'description': Specify no more than 50 characters of text, enclosed in apostrophes.
Example for CRTDEVRTL
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.
Error messages for CRTDEVRTL
*ESCAPE Messages
- CPF261A
- Device description &1 not created due to errors.