Create Device Desc (Network) (CRTDEVNET)

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

The Create Device Description (Network) (CRTDEVNET) command creates a device description for a network device.

Restriction: You must have input/output system configuration (*IOSYSCFG) special authority to use this command.

Top

Parameters

Keyword Description Choices Notes
DEVD Device description Name Required, Positional 1
TYPE Device type *TCPIP, *USRDFN 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

Device type (TYPE)

Specifies the type of device this description represents.

*TCPIP

*TCPIP - Transmission Control Protocol/Internet Protocol

*USRDFN

This device is attached to a network that is supported by a program using the user-defined communications Application Program Interface.

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 object is attached.

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

CRTDEVNET   DEVD(NETDEV02)  TYPE(*TCPIP)

This command creates a device description for a network device named NETDEV02.

Top

Error messages

*ESCAPE Messages

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