Create Device Desc (Async) (CRTDEVASC)

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

The Create Device Description Asynchronous (CRTDEVASC) command creates a device description for an asynchronous (ASYNC) device.

Top

Parameters

Keyword Description Choices Notes
DEVD Device description Name Required, Positional 1
RMTLOCNAME Remote location Communications name, *NONE Required, Positional 2
ONLINE Online at IPL *YES, *NO Optional
CTL Attached controller Name 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

Remote location (RMTLOCNAME)

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

*NONE
There is no remote location name. This device can represent any remote location.
remote-location-name
Specify the name of the remote location.
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

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

CRTDEVASC   DEVD(ASC001)  RMTLOCNAME(NYC)  CTL(CTLASCNYC)

This command creates an asynchronous communications device. The device is located in New York City and is attached to controller CTLASCNYC.

Top

Error messages

*ESCAPE Messages

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