CRTDEVDKT (Create Device Description (Diskette))
CRTDEVDKT Command syntax diagram
Purpose
The Create Device Description (Diskette) (CRTDEVDKT) command creates a device description for a diskette device. More information about using this command is in the Local Device Configuration book.
Required Parameters
- DEVD
- Specifies the name of the device description being created.
- TYPE
- Specifies the type of device this description represents.
6131: The device type is 6131.
6132: The device type is 6132.
6133: The device type is 6133.
9331: The device type is 9331.
- MODEL
- Specifies the model number of the device for this description.
0000: This model number is for a 6131, 6132, or 6133 device type.
0001: This model number is for a 9331 device type only.
0002: This model number is for a 9331 device type only.
0011: This model number is for a 9331 device type only.
0012: This model number is for a 9331 device type only.
- RSRCNAME
- Specifies the resource name that describes the automatic call unit port.
Note: Use the Work with Hardware Resources (WRKHDWRSC) command with *STG specified on the TYPE parameter to determine the resource name.
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.
- 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 CRTDEVDKT
CRTDEVDKT DEVD(DKT01) TYPE(9331) MODEL(0002) RSRCNAME(DKT01)This command creates a device description for a 9331 Model 0002 diskette drive. The system resources manager (SRM) has assigned a resource name of DKT01.
Error messages for CRTDEVDKT
*ESCAPE Messages
- CPF261A
- Device description &1 not created due to errors.