Command reference / comm

CRTDEVDSP

Create Device Description (Display)

The Create Device Description (Display) (CRTDEVDSP) command creates a device description for a display device. Notes: Parameters no longer supported as of V7R4M0: MAXLENRU.

Allowed environments: *ALL. Positional parameters: 4.

Restrictions

Parameters

DEVD Device description

Specifies the name of the device description. This is a required parameter.

Type
*NAME
Required
Yes
Length
10
Case
Uppercase

DEVCLS Device class

Specifies the device class for this display station or printer. Note: ASCII devices must be configured with a device class of *LCL (including ASCII devices attached with modems). To use ASCII display stations as virtual devices, create a virtual device description with the device type of the twinaxial display station that the ASCII display station emulates (for example, a virtual device of device type 3196 for an ASCII display station).

Type
*CHAR
Required
Yes
Length
50
Case
Uppercase

Allowed values: *LCL, *RMT, *SNPT, *VRT

*LCL
This device description is for a device connected to a local work station controller.
*RMT
This device description is for a device connected to a remote work station controller.
*VRT
This device description is for a virtual display station. Through a virtual display station, users can access (pass through to) their own system from a remote system. A virtual display station allows the remote system or a personal computer to emulate the interface of the user's own system.
*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.

TYPE Device type

Specifies the type of device this description represents. 3179 3180 3196 3197 3277 3278 3279 3476 3477 3486 3487 5150 (any display station attached by a TDLC link) 5251 5291 5292 5555 (Double-Byte Character Set) *NVT (Network Virtual Terminal) The following type codes are valid for ASCII devices: 3101, 3151, 3161, 3162, 3163, 3164, *CALC. Note: Specifying *CALC allows port sharing for ASCII devices. ASCII port sharing allows different device types, using different physical parameters, to use the same port (at different times) without needing to manually reconfigure the port. If *CALC is specified for this parameter, the system automatically calculates the device types for displays attached to this port. More information on ASCII port sharing is in the Local Device Configuration book, SC41-5121 book or the ASCII Work Station Reference, SA41-3130.

Type
*CHAR
Required
Yes
Length
50
Case
Uppercase

Suggested / special values: *CALC, *NVT

*CALC
Lets different ASCII devices share a port at different times.
*NVT
Network Virtual Terminal.

MODEL Device model

Specifies the model number of the device for this description. This is a required parameter. For ASCII devices only: Device types and their models: TYPE(3179): 2. TYPE(3180): 2. TYPE(3196): A1, A2, B1, B2. TYPE(3197): C1, C2, D1, D2, W1, W2. TYPE(3277): 0, *DHCF. TYPE(3278): 0, 4, 5, *DHCF. TYPE(3279): 0, 5, *DHCF. TYPE(3476): EA, EC. TYPE(3477): FA, FC, FD, FE, FG, FW. TYPE(3486): BA. TYPE(3487): HA, HC, HG, HW. TYPE(5150): 1, 2, 3, 4, A1. TYPE(5251): 11. TYPE(5291): 1, 2. TYPE(5292): 1, 2. TYPE(5555): B01, E01, C01, F01, G01, G02. TYPE(*NVT): 0000. TYPE(3101): 23 (*ASCII). TYPE(3151): 11 (*ASCII), 31, 41. TYPE(3161): 11 (*ASCII), 12. TYPE(3162): 11 (*ASCII), 12, 31, 32. TYPE(3163): 11 (*ASCII), 12. TYPE(3164): 11 (*ASCII), 12. TYPE(*CALC): (*ASCII).

Type
*CHAR
Required
Yes
Length
50
Case
Uppercase

Suggested / special values: *ASCII, *DHCF

*ASCII
Specify this value if the model number cannot be easily determined for this display station. The system will assign a model number (if the device has a model number). The model number assigned by the system may not be the actual model number of your display station; see the following table to determine the model number which will be assigned by using *ASCII. It is recommended that you determine your display station's model number if at all possible, and enter that number.
*DHCF
Available for device types 3277, 3278 and 3279.

EMLDEV Emulated twinaxial device

Specifies the twinaxial device emulation to be used by an IBM 3151 or IBM 3162 display. The available emulations are 3196A2, which permits an 80-column display, and 3197D2, which permits a 132-column display. Note: 3197D2 emulation for an IBM 3151 model 31/41 requires the installation of a "cartridge for expansion" (part number 81X5575) in addition to the appropriate setting of this parameter.

Type
*CHAR
Required
No
Default
*TYPE
Length
50
Case
Uppercase

Suggested / special values: *TYPE

*TYPE
The default value for this parameter is 3196A2.
3196A2
An 80-column display is used.
3197D2
A 132-column display is used.

PORT Port number

Specifies the port number for local devices. For twinaxial devices: Possible values range from 0 through 7. For ASCII devices: Possible values range from 0 through 17 and indicate the port on the ASCII work station controller to which this device is attached. Without the 12-port expansion feature, ports 0 through 5 are valid. With the 12-port expansion feature, ports 6 through 17 are added.

Type
*INT4
Required
No
Range
0 to 17
Case
Uppercase

SWTSET Switch setting

Specifies the switch setting for local twinaxial devices. Valid values range from 0 to 6.

Type
*INT4
Required
No
Range
0 to 6
Case
Uppercase

Suggested / special values: 0, 1, 2, 3, 4, 5, 6

SHRSSNNBR Shared session number

Specifies the shared session number for a twinaxial display station. This parameter is valid only for 3486 and 3487 configured device types. Note: Displays that share session addresses can be attached only to the 2661, 6050, 9146, or the 915A local work station controllers, or to the 5494 remote work station controller.

Type
*INT4
Required
No
Default
0
Range
0 to 3
Case
Uppercase

Suggested / special values: 0, 1, 2, 3

0
The shared session number is 0.
1
The shared session number is 1.
2
The shared session number is 2.
3
The shared session number is 3.

LOCADR Local location address

Specifies the local location address for this device. The possible values range from 00 to FE. The type of controller to which the device is being attached determines which values are valid.

Type
*CHAR
Required
No
Length
50
Case
Uppercase

EMLASCII Emulating ASCII device

Specifies, for ASCII devices, whether the device being configured is emulating a supported ASCII device type (TYPE parameter). When an ASCII device is configured, choices for the following parameters are restricted to the valid range for that device: ATTACH (Physical attachment), LINESPEED (Line speed), WORDLEN (Word length), PARITY (Type of parity), STOPBITS (Stop bits). For ASCII devices emulating supported ASCII device types, these restrictions may not be applicable (the emulating device might have a wider range of choices for these parameters than the emulated ASCII device does). When EMLASCII(*YES) is specified, these parameter restrictions are not enforced; the user is allowed to enter the full range of values for these parameters, but also is responsible for verifying that the values selected are valid for the device being configured.

Type
*CHAR
Required
No
Default
*NO
Length
50
Case
Uppercase

Allowed values: *NO, *YES

*NO
Specifies that the device being configured is one of the supported ASCII device types Device type (TYPE) parameter, and that the device-specific restrictions for the physical attachment, line speed, word length, type of parity, and stop bits parameters are to be enforced.
*YES
Specifies that the device being configured is emulating one of the supported ASCII device types (TYPE parameter), and that the device-specific restrictions for the physical attachment, line speed, word length, type of parity, and stop bits parameters are not enforced.

ATTACH Physical attachment

Specifies, for ASCII display stations, the physical attachment of the display station to the ASCII work station controller.

Type
*CHAR
Required
No
Length
50
Case
Uppercase

Allowed values: *DIRECT, *EIA422, *MODEM, *PTT, *WIRE3, *WIRE4

*EIA422
The EIA-422 attachment (valid only for models 3101, 3151, 3161, 3162, 3163, and 3164) is used.
*DIRECT
Specifies EIA-232 Direct attachment.
*MODEM
Specifies EIA-232 modem attachment.
*PTT
Specifies Post Telephone and Telegraph (PTT) attachment.
*WIRE3
Specifies EIA-232 3-wire attachment.
*WIRE4
Specifies EIA-232 4-wire attachment.

ONLINE Online at IPL

Specifies whether this object is automatically varied on at initial program load (IPL). Note: This parameter is ignored when specified on the console or alternate console description.

Type
*CHAR
Required
No
Default
*YES
Length
50
Case
Uppercase

Allowed values: *NO, *YES

*YES
This device is varied on automatically at IPL.
*NO
This device is not varied on automatically at IPL.

CTL Attached controller

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.

Type
*NAME
Required
No
Length
10
Case
Uppercase

KBDTYPE Keyboard language type

Specifies the country keyboard language identifier for this display station. When DEVCLS(*RMT) is specified and when TYPE(3277), TYPE(3278), or TYPE(3279) is specified, the following values can be specified: *SYSVAL, AGI, ALI, BGB, BLI, CAI, CSB, DMI, FNI, FAI, HNB, IRB, ITI, JPB, MKB, NWI, PLB, PRI, RMB, RUB, SKB, SPI, SQB, SSI, SWI, TRB, USB, USI, or YGI. Otherwise, this parameter is not valid when DEVCLS(*RMT) is specified. When TYPE(3486) or TYPE(3487) is specified, the following values can be specified: *SYSVAL, AGB, AGI, ALI, BGB, BLI, CAB, CAI, CLB, CSB, DMB, DMI, FAB, FAI, FNB, FNI, GNB (or GKB), HNB, ICB, ICI, IRB, ITB, ITI, JPB, KAB, MKB, NCB, NEB, NEI, NWB, PLB, PRB, PRI, RMB, RUB, SFI, SGI, SKB, SPB, SPI, SQB, SSB, SSI, SWB, SWI, TKB, TRB, UKB, UKI, USB, USI, or YGI. This parameter is optional for the combination of DEVCLS(*LCL) and TYPE(5150). The following two tables can be used to confirm the appropriate value for this parameter, or to determine which ASCII display devices can be used with a specified language. The keyboard mapping table shows valid country identifiers, the language represented by each identifier, and the ASCII device groups, if applicable, for each language. The ASCII displays and device groups table shows the valid display devices and their associated ASCII device groups. For example, assume a user wants to create a 3101 display device. The ASCII displays and device groups table shows that a 3101 display supports ASCII device group A. The Keyboard Mapping table shows that the valid language identifiers that can be used with device group A include AGB, AGI, CAB, CAI, FAB, FAI, ITB, ITI, UKB, UKI, USB, and USI. The following keyboards can be specified by ASCII displays only if a customizing object is also used: ALI, BGB, CSB, ESB, HNB, LTB, LVB, MKB, PKB, PLB, RMB, RUB, SKB, SQB, TRB, UAB, and YGI. Note: The GNB code is the current identifier for Greece. The GKB code was used prior to V2R1, and continues to be supported, but provides fewer characters than the recommended GNB code. The following keyboards can be specified by ASCII displays only if a customizing object is also used: ALI, BGB, CSB, ESB, HNB, LTB, LVB, MKB, PKB, PLB, RMB, RUB, SKB, SQB, TRB, UAB, and YGI. Note: The GNB code is the current identifier for Greece. The GKB code was used prior to V2R1, and continues to be supported, but provides fewer characters than the recommended GNB code.

Type
*CHAR
Required
No
Default
*SYSVAL
Length
50
Case
Uppercase

Suggested / special values: *SYSVAL

*SYSVAL
Instructs the system to use the QKBDTYPE system value.
keyboard language-type
Specify the 3-character country identifier (used for EBCDIC and ASCII) for this display station.
ALI
Albania
ALM
Albania Euro Currency
CLB
Arabic X/Basic - D*
CLE
Arabic X/Basic Euro Currency
AGB
Austria/Germany - A, B
AGE
Austria/Germany Euro Currency
AGI
Austria/Germany Multinational - A, B
AGM
Austria/Germany Multinational Euro Currency
BLI
Belgium Multinational - B
BLM
Belgium Multinational Euro Currency
BRB
Brazilian Portuguese
BRE
Brazilian Portuguese Euro Currency
BGB
Bulgaria
BGE
Bulgaria Euro Currency
CAB
Canadian French - A, B
CAE
Canadian French Euro Currency
CAI
Canadian French Multinational - A, B
CAM
Canadian French Multinational Euro Currency
SPB
Spain - B
RCB
Chinese (Simplified)
TAB
Chinese (Traditional)
YGI
Languages of the former Yugoslavia
YGM
Languages of the former Yugoslavia Euro Currency
CYB
Cyrillic
CSB
Czech Republic
CSE
Czech Republic Euro Currency
DMB
Denmark - B
DME
Denmark Euro Currency
DMI
Denmark Multinational - B
DMM
Denmark Multinational Euro Currency
ESB
Estonia
FNB
Finland/Sweden - B
FNE
Finland/Sweden Euro Currency
FNI
Finland/Sweden Multinational - B
FNM
Finland/Sweden Multinational Euro Currency
FAB
France (Azerty) - A, B
FAE
France (Azerty) Euro Currency
FAI
France (Azerty) Multinational - A, B
FAM
France (Azerty) Multinational Euro Currency
FQB
France (Qwerty)
FQI
France (Qwerty) International
GNB
Greek (see note)
GNE
Greek Euro Currency
NCB
Hebrew - D*
NCE
Hebrew Euro Currency
HIB
Hindi
HNB
Hungary
HNE
Hungary Euro Currency
ICB
Iceland
ICE
Iceland Euro Currency
ICI
Iceland Multinational
ICM
Iceland Multinational Euro Currency
INB
International
INI
International Multinational
IRB
Iran (Farsi)
ITB
Italy - A, B
ITE
Italy Euro Currency
ITI
Italy Multinational - A, B
ITM
Italy Multinational Euro Currency
JEB
Japan English
JEI
Japan English Multinational
JKB
Japan Kanji
JPB
Japan Latin Extended
JPE
Japan Latin Extended Euro Currency
JUB
Japan U.S. Basic
KAB
Japan Katakana
KOB
Korea
LAB
Lao People's Democratic Republic
LAE
Lao People's Democratic Republic Euro Currency
ROB
Latin-2/ROECE
ROE
Latin-2/ROECE Euro Currency
LVB
Latvia
LTB
Lithuania
MKB
FYR Macedonia (Former Yugoslav Republic)
MKE
FYR Macedonia Euro Currency
NEB
Netherlands
NEE
Netherlands Euro Currency
NEI
Netherlands Multinational
NEM
Netherlands Multinational Euro Currency
NWB
Norway - B
NWE
Norway Euro Currency
NWI
Norway Multinational - B
NWM
Norway Multinational Euro Currency
PLB
Poland
PLE
Poland Euro Currency
PRB
Portugal - B
PRE
Portugal Euro Currency
PRI
Portugal Multinational - B
PRM
Portugal Multinational Euro Currency
RMB
Romania
RME
Romania Euro Currency
RUB
Russia
RUE
Russia Euro Currency
SQB
Serbia (Cyrillic)
SQE
Serbia (Cyrillic) Euro Currency
SKB
Slovakia
SKE
Slovakia Euro Currency
SPE
Spain Euro Currency
SPI
Spain Multinational - B
SPM
Spain Multinational Euro Currency
SSB
Spanish Speaking - B
SSE
Spanish Speaking Euro Currency
SSI
Spanish Speaking Multinational - B
SSM
Spanish Speaking Multinational Euro Currency
SWB
Sweden - B
SWE
Sweden Euro Currency
SWI
Sweden Multinational - B
SWM
Sweden Multinational Euro Currency
SFI
Switzerland/France Multinational - B
SFM
Switzerland/France Multinational Euro Currency
SGI
Switzerland/Germany Multinational - B
THB
Thailand
THE
Thailand Euro Currency
TKB
Turkey (Qwerty)
TKE
Turkey (Qwerty) Euro Currency
TRB
Turkey (F)
TRE
Turkey (F) Euro Currency
UAB
Ukraine
UAE
Ukraine Euro Currency
UKB
United Kingdom - A, B
UKE
United Kingdom Euro Currency
UKI
United Kingdom Multinational - A, B
UKM
United Kingdom Multinational Euro Currency
USB
United States/Canada - A, B, C
USE
United States/Canada Euro Currency
USI
United States/Canada Multinational - A, B, C
USM
United States/Canada Multinational Euro Currency
PKB
Urdu
PKE
Urdu Euro Currency
VNB
Vietnam
VNE
Vietnam Euro Currency

DROP Drop line at signoff

Specifies, for remote display stations, whether the line is disconnected by the system when all devices on the line are no longer in use. The value specified in the device description can be overridden by a user signing off at the device if the user specifies the Drop line at signoff (DROP) parameter on the SIGNOFF command.

Type
*CHAR
Required
No
Default
*YES
Length
50
Case
Uppercase

Allowed values: *NO, *YES

*YES
The switched line to the controller to which this device is attached is disconnected when this device and all other attached devices are no longer in use.
*NO
The switched line is not disconnected from the controller when all of its attached devices are no longer in use.

ALWBLN Allow blinking cursor

Specifies whether the (program controlled) blinking cursor is suppressed. Note: The value specified for this parameter can be overridden by display stations that have a keyboard setup capability that allows the blinking cursor attribute to be changed.

Type
*CHAR
Required
No
Default
*YES
Length
50
Case
Uppercase

Allowed values: *NO, *YES

*YES
Allows the cursor to blink for the 3179, 3180, 3196, 3197, 3476, 3477, 3486, 3487, 5251, 5291, and 5292 display devices.
*NO
The blinking cursor is suppressed.

AUXDEV Auxiliary device

Specifies the device type and address of an additional device (if any) that is attached to the IEEE-488 port on the 5292 Model 2 device. Up to 31 plotters can be attached to the same IEEE-488 AUXDEV port on the 5292 Model 2, but at different IEEE-488 addresses. The valid additional device types are: 7371 (IBM 7371 Plotter), the 7372 (IBM 7372 Plotter), the 6180 (IBM 6180 Plotter), the 6182 (IBM 6182 Plotter), the 6184 (IBM 6184 Plotter), the 6185 (IBM 6185 Plotter), the 6186M1 (IBM 6186M1 Plotter), and the 6186M2 (IBM 6186M2 Plotter). The valid additional device address is a number from 1 to 31. You can enter multiple values for this parameter.

Type
*ELEM
Required
No
Case
Uppercase
Elements in order

Auxiliary device type Auxiliary device type

Type
*CHAR
Required
No
Length
50
Case
Uppercase

Auxiliary device address Auxiliary device address

Type
*INT4
Required
No
Range
1 to 31
Case
Uppercase

PRINTER Printer

Specifies, for a remote display station, the device name of the printer associated with the display device. The device description of the work station printer named in this parameter must have already been created and must currently exist on the system. Both the printer and the display device must be attached to the same controller.

Type
*NAME
Required
No
Length
10
Case
Uppercase

APPTYPE Application type

Specifies the application type used by this device.

Type
*CHAR
Required
No
Default
*NONE
Length
50
Case
Uppercase

Allowed values: *APPINIT, *CTLSSN, *DEVINIT, *NONE, *NRF

*NONE
The device is not used for any application.
*NRF
The device is used for the Network Routing Facility application.
*CTLSSN
The device controls the sessions with *DEVINIT devices.
*DEVINIT
The device starts (initiates) the session.
*APPINIT
The application program starts (initiates) the session.

ACTTMR Activation timer

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. This parameter is valid only when *SNPT is specified for the DEVCLS parameter.

Type
*INT4
Required
No
Default
170
Range
1 to 2550
Case
Uppercase
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.

INACTTMR Inactivity timer

Specifies an inactivity timer (time-out) value for display devices. This parameter also specifies what happens when the time-out value is exceeded, dependent on other attributes of the device: For display stations attached to an ASCII work station controller, the user's job is canceled when the display station is inactive (no data is sent or received) for a period of time that exceeds the time-out value. The display station is automatically varied off and on again, resulting in a new sign-on display. For display 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 display devices with an application type value of *APPINIT, *DEVINIT, or *NRF, the session is ended when the device is inactive (the file opened against the device is closed and no additional requests to open files are received for the device) for a period of time that exceeds the time-out value. 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. For a connection using SNA pass-through (*SNPT) device class support, the default of *ATTACH maps to *NOMAX. For a device with an application type value of *APPINIT, *CLTSSN, *DEVINIT, or *NRF, the default of *ATTACH maps to 1 minute. For Post Telephone and Telegraph (*PTT) attachment, valid inactivity timer values are *SEC15 (15 seconds), *SEC30 (30 seconds), and 1 to 10 minutes. *ATTACH maps to *SEC30 (30 seconds). For all other attachments, valid inactivity timer values are 1 to 30 minutes and *NOMAX. *ATTACH maps to *NOMAX for these attachments.

Type
*INT4
Required
No
Default
*ATTACH
Range
1 to 30
Case
Uppercase

Suggested / special values: *ATTACH, *NOMAX, *SEC15, *SEC30

*ATTACH
This value varies by the value specified on the Physical attachment (ATTACH) parameter and certain values on the Application type (APPTYPE) parameter and Device class (DEVCLS) parameter.
*NOMAX
No maximum inactivity time is tracked (no inactivity timer is to be enforced).
*SEC15
A 15-second time-out period is used.
*SEC30
A 30-second time-out period is used.
inactivity-timer
Specifies a time-out value in minutes.

SNPTDEV SNA pass-through device desc

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

Type
*NAME
Required
No
Default
*NONE
Length
10
Case
Uppercase

Suggested / special values: *NONE

*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 SNA pass-through group name

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.

Type
*NAME
Required
No
Default
*NONE
Length
10
Case
Uppercase

Suggested / special values: *NONE

*NONE
No name is specified.
group-name
Specify the name configured for a group of host devices that must be associated with this device.

LOGON Host signon/logon command

Specifies the sign-on (logon) text. This parameter is allowed when DEVCLS(*SNPT) or APPTYPE(*NRF) is specified. APPTYPE(*NRF) specifies the logon string that is sent to the host system when a request is made to establish a session. DEVCLS(*SNPT) specifies the sign-on (logon) text that is sent to the host system after starting SNA pass-through support. This parameter also specifies the logon string that is sent to the system services control point (SSCP) on the host network when the file is opened for *NRF.

Type
*CHAR
Required
No
Default
*NONE
Length
50
Case
Uppercase

Suggested / special values: *NONE

*NONE
No text is sent to the host system.
host-logon-command
Specify text that is sent to the host system. The text must be enclosed in apostrophes if it contains blanks or other special characters. All apostrophes within the text must be represented by two apostrophes. A maximum of 256 characters can be specified.

LINESPEED Line speed

Specifies the line speed in bits per second (bps). *TYPE selects 19200 bits per second for all display stations except the 3101 display station for which 9600 bits per second is selected. For a 5150 A1 device or a device type of *CALC, *TYPE selects 1200 bits per second. Note: Specifying *CALC allows port sharing for ASCII devices. ASCII port sharing allows different device types, using different physical parameters, to use the same port (at different times) without needing to manually reconfigure the port. More information on ASCII port sharing is in the Local Device Configuration book, SC41-5121 book or the ASCII Work Station Reference, SA41-3130.

Type
*CHAR
Required
No
Default
*TYPE
Length
50
Case
Uppercase

Suggested / special values: *CALC, *TYPE

*TYPE
The system uses the suggested setting for this device type.
*CALC
The system automatically calculates the line speed for displays attached to this port. If *CALC is specified, it must also be specified on the Type of parity (PARITY) parameter and the Word length (WORDLEN) parameter.
line-speed
Specify the line speed. Valid values are: 150, 300, 600, 1200, 1800, 2400, 3600, 4800, 7200, 9600, 19200, or 38400.

WORDLEN Word length

Specifies, for ASCII devices, the word length (bits per character) used to communicate over the attachment between the ASCII work station controller and the device. For modem and Post Telephone and Telegraph (PTT) attachments, the word length must be the same as the word length selected for the modem. For auxiliary printers connected to the auxiliary port of a display station, the word length must be the same as the word length specified for the display's device description. Some devices do not support all word lengths; verify that your device supports the word length you intend to use. More information on ASCII port sharing is in the Local Device Configuration book, SC41-5121 book or the ASCII Work Station Reference, SA41-3130.

Type
*INT4
Required
No
Default
*TYPE
Range
7 to 8
Case
Uppercase

Suggested / special values: 7, 8, *CALC, *TYPE

7
Specifies 7-bit word lengths.
8
Specifies 8-bit word lengths.
*TYPE
The system uses the suggested setting for this device type. *TYPE selects 8 bit word lengths for all display stations except the 3101 and D220 display stations which select 7 bit word lengths.
*CALC
Specifies port sharing. If *CALC is specified, the system automatically calculates the word lengths for displays attached to this port.

PARITY Type of parity

Specifies, for ASCII devices, the type of parity used to communicate over the attachment between the ASCII work station controller and the device. For modem and Post Telephone and Telegraph (PTT) attachments, the type of parity must be the same as the type of parity selected for the modem. For auxiliary printers connected to the auxiliary port of a display station, the type of parity must be the same as the type of parity specified for the display's device description. Some devices do not support all types of parity; verify that your device supports the type of parity you intend to use. *TYPE selects *EVEN (Even parity) for all display stations except for the D220 which selects *MARK. For a 5150 A1 device, *TYPE selects *NONE for an 8 bit word length and *EVEN for a 7 bit word length. If *CALC is specified for the Device type (TYPE) parameter, *TYPE selects *NONE. More information on ASCII port sharing is in the Local Device Configuration book, SC41-5121 book and the ASCII Work Station Reference, SA41-3130.

Type
*CHAR
Required
No
Default
*TYPE
Length
50
Case
Uppercase

Allowed values: *CALC, *EVEN, *MARK, *NONE, *ODD, *SPACE, *TYPE

*TYPE
The system uses the suggested setting for this device type.
*CALC
Specifies port sharing. If *CALC is specified, the system automatically calculates the parity for displays attached to this port.
*EVEN
Specifies Even parity.
*ODD
Specifies Odd parity.
*NONE
Specifies that no parity bit is used.
*MARK
Specifies Mark parity (1 is used for the parity).
*SPACE
Specifies Space parity (0 is used for the parity).

STOPBITS Stop bits

Specifies, for ASCII devices, the number of stop bits used to communicate over the attachment between the ASCII work station controller and the device. For modem and Post Telephone and Telegraph (PTT) attachments, the number of stop bits must be the same as the number of stop bits selected for the modem. For auxiliary printers connected to the auxiliary port of a display station, the number of stop bits must be the same as the number of stop bits specified for the display's device description. Some devices do not support all numbers of stop bits; verify that your device supports the number of stop bits you intend to use. *TYPE selects 1 stop bit for all displays except the DEC VT-100 display station, for which a setting of 2 stop bits is selected.

Type
*INT4
Required
No
Default
*TYPE
Range
1 to 2
Case
Uppercase

Suggested / special values: 1, 2, *TYPE

1
Specifies 1 stop bit.
2
Specifies 2 stop bits.
*TYPE
The system uses the suggested setting for this device type.

MAXOUT Maximum outstanding frames

Specifies the maximum number of frames that are sent sequentially to a remote system before the remote system (the 5150 work station) must respond. The maximum number of frames must be between 1 and 7. This parameter is valid only if 5150 is specified for the Device type (TYPE) parameter and A1 is specified for the Device model (MODEL) parameter or if ASCII port sharing is being used.

Type
*INT4
Required
No
Default
7
Range
1 to 7
Case
Uppercase
7
The default number of frames sent is 7.
maximum-outstanding-frames
Specify a value from 1 to 7 for the number of frames.

IDLTMR Idle timer

Specifies the time (in 0.1 second intervals) that the system waits for a response. If no response is received in the specified amount of time, then error recovery procedures are started. This parameter is valid only if the number is between 10 and 250, and if 5150 is specified for the Device type (TYPE) parameter and A1 is specified for the Device model (MODEL) parameter, or if ASCII port sharing is being used.

Type
*INT4
Required
No
Default
40
Range
10 to 250
Case
Uppercase
40
The default is 4.0 seconds.
idle-timer
Specify a value from 10 to 250 in 0.1 second intervals.

NRMPOLLTMR NRM poll timer

Specifies the interval (in 0.1 second intervals) for polling this device when it is in normal response mode (NRM). This parameter is valid only if 5150 is specified for the Device type (TYPE) parameter and A1 is specified for the Device model (MODEL) parameter or if ASCII port sharing is being used.

Type
*INT4
Required
No
Default
3
Range
2 to 100
Case
Uppercase
3
The default is 0.3 seconds.
NRM-poll-timer
Specify a value from 2 to 100 in 0.1 second intervals.

FRAMERTY Frame retry

Specifies the number of retries for an unanswered command frame or unacknowledged information frame. This parameter is valid only if 5150 is specified for the Device type (TYPE) parameter and A1 is specified for the Device model (MODEL) parameter or if ASCII port sharing is being used.

Type
*INT4
Required
No
Default
15
Range
5 to 64
Case
Uppercase
15
The default value is 15 retries.
frame-retry
Specify a value from 5 to 64 for the number of retries.

RMTLOCNAME Remote location

Specifies the remote location name of the system with which this object communicates. Note: This parameter is required for APPTYPE(*APPINIT) devices. The remote location name for APPTYPE(*APPINIT) devices is the VTAM/NCP (Virtual Telecommunications Access Method/Network Control Program) name of the physical device.

Type
*CHAR
Required
No
Length
50
Case
Uppercase

LCLLOCNAME Local location

Specifies the local location name. When this parameter is specified with APPTYPE(*CTLSSN) or APPTYPE(*APPINIT), the remote location name is the name of the independent logical unit (LU) in the network control program (NCP).

Type
*CHAR
Required
No
Default
*NETATR
Length
50
Case
Uppercase

Suggested / special values: *NETATR

*NETATR
The LCLLOCNAME value specified in the system network attributes is used.
local-location-name
Specify the local location name.

RMTNETID Remote network identifier

Specifies the name of the remote network identifier (ID). This parameter can be specified for APPTYPE(*APPINIT) devices.

Type
*CHAR
Required
No
Default
*NETATR
Length
50
Case
Uppercase

Suggested / special values: *NETATR, *NONE

*NETATR
The remote network identifier specified in the network attributes is used.
*NONE
No remote network identifier (ID) is used.
remote-network-ID
Specify the ID of the remote network.

IGCFEAT DBCS feature

Specifies which double-byte character set (DBCS) table is used in DBCS feature code format expressing device features and the last code point value. The table at the end of this parameter description shows valid device features and last code point values for DBCS-capable devices. Note: This parameter is valid for DBCS-capable devices only.

Type
*ELEM
Required
No
Case
Uppercase
device-features
Specify the device character resolution, language, and relative buffer size device features using the format SSSSLR, where: SSSS = The resolution (number of matrix points used to create) of the character. For example, 2424 would be 24 matrix points of height and 24 matrix points of width available to formulate the character. L = The language code. The 4 language codes currently supported are: J = Japanese K = Korean C = Traditional Chinese S = Simplified Chinese R = The relative buffer size. The valid values are: 0, 1, 2, and 4.
last-code-point
Specify the 4-digit code point of the last double-byte character. This value can be blank.
Elements in order

Device features Device features

Type
*CHAR
Required
No
Length
50
Case
Uppercase

Last code point Last code point

Type
*CHAR
Required
No
Length
50
Case
Uppercase

TEXT Text 'description'

Specifies the text that briefly describes the object.

Type
*CHAR
Required
No
Default
*BLANK
Length
50
Case
Uppercase

Suggested / special values: *BLANK

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

DEPLOCNAME Dependent location name

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.

Type
*CHAR
Required
No
Default
*NONE
Length
50
Case
Uppercase

Suggested / special values: *NONE

*NONE
No location name is defined.
dependent-location-name
Specify the dependent location name used for DLUR applications.

CHRID Character identifier

Specifies the character identifier (graphic character set and code page) that a work station display device supports.

Type
*ELEM
Required
No
Default
*KBDTYPE
Case
Uppercase

Suggested / special values: *SYSVAL, *KBDTYPE

*KBDTYPE
The system determines the graphic character set and code page value that corresponds to the country keyboard language identifier value specified for the Keyboard language type (KBDTYPE) parameter.
*SYSVAL
The system determines the graphic character set and code page values for the command parameters from the QCHRID system value.
graphic-character-set code-page
Specify the graphic character set and code page values that match the attributes of this display device. The graphic character set and code page values must be numbers in the range of 1 through 32767.
Elements in order

Graphic character set Graphic character set

Type
*INT4
Required
No
Range
1 to 32767
Case
Uppercase

Code page Code page

Type
*INT4
Required
No
Range
1 to 32767
Case
Uppercase

PRTDEV Print device

Specifies the name of the default printer device for this workstation. If the printer file being used to create the output specifies to spool the file, the spooled file is placed on the device's output queue, which is named the same as the device. Note: This assumes the defaults are specified on the OUTQ parameter for the printer file, job description, user profile and workstation.

Type
*NAME
Required
No
Default
*SYSVAL
Length
10
Case
Uppercase

Suggested / special values: *SYSVAL

*SYSVAL
The default system printer specified in the system value QPRTDEV is used.
printer-device-name
Specify the name of a printer that is used to print the output.

OUTQ Output queue

Specifies the output queue (*OUTQ) object. The possible output queue name values are: Note: This assumes the defaults were specified on the OUTQ parameter for the printer file, job description, user profile, and workstation. The possible library values are:

Type
*QUAL
Required
No
Default
*DEV
Case
Uppercase

Suggested / special values: *DEV

*DEV
The output queue associated with the printer specified on the DEV parameter of the printer file is used. The output queue has the same name as the printer. (The printer file DEV parameter is determined by the CRTPRTF, CHGPRTF, or the OVRPRTF command).
output-queue-name
Specify the name of the output queue.
*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library is used to locate the output queue. If no current library entry exists in the library list, QGPL is used.
library-name
Specify the name of the library where the output queue is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Part 40-01

Type
*NAME
Required
No
Length
10
Case
Uppercase

Part 40-11

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

PRTFILE Printer file

Specifies an alternative printer device file to be used for processing the Print key on this display station. The printer file is specified by its qualified name (library-name/print-file-name). The possible library values are:

Type
*QUAL
Required
No
Case
Uppercase
*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.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Part 41-01

Type
*NAME
Required
No
Length
10
Case
Uppercase

Part 41-11

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

WSCST Workstation customizing object

Specifies the qualified name of a work station customizing object. Note: If a work station customizing object is specified for the WSCST parameter, all country keyboard identifiers are valid for ASCII devices except for the following: FQB, FQI, INB, INI, JEB, JEI, JKB, JUB, KAB, KOB, RCB, and TAB. The possible library values are:

Type
*QUAL
Required
No
Default
*NONE
Case
Uppercase

Suggested / special values: *NONE

*NONE
No work station customizing object is specified.
work-station-customizing-object
Specify the work station customizing object.
*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.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Part 42-01

Type
*NAME
Required
No
Length
10
Case
Uppercase

Part 42-11

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB

AUT Authority

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.

Type
*NAME
Required
No
Default
*CHANGE
Length
10
Case
Uppercase

Suggested / special values: *ALL, *CHANGE, *EXCLUDE, *LIBCRTAUT, *USE

*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

CRTDEVDSP DEVD(DSP4) TYPE(3180) MODEL(2) DEVCLS(*LCL) PORT(0) SWTSET(4) CTL(CTL01) KBDTYPE(USB)

This command creates a 3180 Model 2 local device description called DSP4. The display station is located on port 0 of the local work station controller CTL01. The device has an address of 4, with a United States/Canadian keyboard.

IBM command documentation

Generated from os/cl/catalog/CRTDEVDSP.json and os/cl/help/CRTDEVDSP.json.