Create Ctl Desc (Local WS) (CRTCTLLWS)

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

The Create Controller Description (Local Work Station) (CRTCTLLWS) command creates a controller description for a local work station controller.

Note: Extended wireless controller configuration data is contained in the source file and member specified by the INZFILE and INZMBR parameters, respectively. When the controller is varied on, this configuration data is downloaded to the wireless adapter. It is recommended that INZPGM(QZXCINZ) and INZFILE(QEWCSRC) be used, and that a valid value be specified for the INZMBR parameter. For more information about downloading extended wireless controller configuration data, see the LAN, Frame-Relay and ATM Support book, SC41-5404 book.

More information about using this command is in the Local Device Configuration book, SC41-5121 book.

Restriction: You must have *IOSYSCFG special authority to use this command.

Top

Parameters

Keyword Description Choices Notes
CTLD Controller description Name Required, Positional 1
TYPE Controller type Character value Required, Positional 2
MODEL Controller model Character value, 1, 0001, 2, 0002 Required, Positional 3
RSRCNAME Resource name Name Required, Positional 4
ONLINE Online at IPL *YES, *NO Optional
INZFILE Initialization source file Qualified object name Optional
Qualifier 1: Initialization source file Name, *NONE
Qualifier 2: Library Name, *LIBL, *CURLIB
INZMBR Initialization source member Name, *NONE Optional
INZPGM Initialization program Qualified object name Optional
Qualifier 1: Initialization program Name, *NONE
Qualifier 2: Library Name, *LIBL, *CURLIB
TEXT Text 'description' Character value, *BLANK Optional
DEV Attached devices Values (up to 120 repetitions): Name Optional
DEVWAITTMR Device wait timer 2-600, 10 Optional
AUTOCFG Auto-configuration controller *NO, *YES Optional
AUT Authority Name, *CHANGE, *ALL, *USE, *EXCLUDE, *LIBCRTAUT Optional
MSGQ Message queue Single values: *SYSVAL, *SYSOPR
Other values: Qualified object name
Optional
Qualifier 1: Message queue Name
Qualifier 2: Library Name
Top

Controller description (CTLD)

This is a required parameter.

Specifies the name of the controller description.

Top

Controller type (TYPE)

This is a required parameter.

Specifies the type of controller for this description.

2637

The ASCII local work station controller on a 9402 system.

2638

The twinaxial local work station controller on a 9402 system.

2661

The twinaxial local work station controller on a 9402 system.

266A

The local work station controller for wireless devices is used.

266C

Local work station controller.

2722

Local work station controller.

2746

Twinaxial work station controller.

2747

Twinaxial work station controller.

6040

The twinaxial local work station controller on a 9406 system.

6041

The ASCII local work station controller on a 9406 system.

6050

The twinaxial local work station controller on a 9402, 9404, or a 9406 system.

6054

The twinaxial local work station controller on a 9402, 9404, or a 9406 system.

6055

The twinaxial local work station controller on a 9402, 9404, or a 9406 system.

6056

The twinaxial local work station controller on a 9402, 9404, or a 9406 system.

6140

The twinaxial local work station controller on a 9404 system.

6141

The ASCII local work station controller on a 9404 system.

6180

Local work station controller.

6A58

The local work station controller on a 9401, 9402, 9404, or 9406 system.

6A59

The local work station controller on a 9401, 9402, 9404, or 9406 system.

915A

The local work station controller for the 9406-3XX system is used.

916A

The local work station controller for the 9406-3XX system is used.

9173

The LocalTalk work station adapter for the 9402-2xx system is used.

Top

Controller model (MODEL)

This is a required parameter.

Specifies the model of the work station controller. For controller types 6A58 and 6A59, model 0001 is for the local work station controller and model 0002 is for the operations console. All other controller types use only model 0001.

Top

Resource name (RSRCNAME)

Specifies the resource name that identifies the hardware this description represents. Use the WRKHDWRSC command to determine the resource name.

This is a required parameter.

Top

Online at IPL (ONLINE)

Specifies whether this object is automatically varied on at initial program load (IPL).

*YES

The controller is automatically varied on at IPL.

*NO

The controller is not automatically varied on at IPL.

Top

Initialization source file (INZFILE)

Specifies the NAME of a source file containing configuration initialization data.

Note: The INZFILE and INZMBR parameters are required when downloading extended wireless controller configuration data to the wireless adapter as discussed at the beginning of this command description.

*NONE

No initialization file name is specified.

The NAME of the initialization file NAME can be qualified by one of the following library values:

*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 job is searched. If no library is specified as the current library for the job, the QGPL library is used.

library-name

Specify the name of the library to be searched.

initialization-file-NAME

Specify the name of a source file containing the initialization data. A value of *NONE is accepted for this parameter. If a source file name has not been added prior to varying on this controller description then the current IOP defaults are used for initializaion.

Top

Initialization source member (INZMBR)

Specifies the NAME of a source file member containing configuration initialization data (for a type 266A controller only).

Note: The INZFILE and INZMBR parameters are required when downloading extended wireless controller configuration data to the wireless adapter as discussed at the beginning of this command description.

*NONE

No source file member is specified.

initialization-member-name

Specify the name of a source file member containing the initialization data. A value of *NONE is accepted for this parameter. If a source member name has not been added prior to varying on this controller description, then the current IOP defaults are used.

Top

Initialization program (INZPGM)

Specifies the name of a program to manage configuration initialization data.

Note: For 2663 wireless adapters, it is recommended that INZPGM(QZXCINZ) be specified. This results in the values of INZFILE and INZMBR being passed to the Change Extended Wireless Line Member (CHGEWLM) command when the line is varied on.

*NONE

No initialization program name is specified.

The NAME of the initialization program NAME can be qualified by one of the following library values:

*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 job is searched. If no library is specified as the current library for the job, the QGPL library is used.

library-name

Specify the name of the library to be searched.

initialization-program-name

Specify the name of a program to manage configuration initialization data. If a program name is specified, it is called when this controller description is created. The name of the source file and member containing configuration initialization data are passed to this program as parameters.

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

Attached devices (DEV)

Specifies the names of the devices that are attached to this controller. The device descriptions must already exist.

The following list shows the maximum number of device descriptions that can be attached to each controller and the number of devices that can be active for each controller.

Controller
Device Descriptions/Active Devices
2661
120/40
266A
56/56
2637
24/24
2638
56/24
6040
56/40
6041
36/18
6050
120/40
6054
56/56
6055
56/56
6056
56/56
6140
56/40
6141
36/18
6A58
1/1
6A59
1/1
915A
56/40
916A
56/40
Top

Device wait timer (DEVWAITTMR)

Specifies the device wait timeout value. This is used to limit the amount of time that a subsystem takes for the work station input/output to complete. The timeout value that is used for each device is obtained from the controller that it is attached to at vary on time. A change in this parameter value takes effect for attached devices when they are next varied on.

10

For local controllers, the subsystem waits a maximum of 10 seconds for the completion of the input/output of each work station attached to this controller.

device-wait-timer

Specify a value ranging from 2 through 600 that specifies the maximum number of seconds that the subsystem waits for work station input/output to complete for all work stations attached to this controller.

When selecting a value for this parameter, the types of devices attached to the controller should be taken into account. Locally attached work stations should have a low value for this parameter (10 seconds or less).

Top

Auto-configuration controller (AUTOCFG)

Specifies whether this controller description is the one which should have devices attached when they are automatically configured. Although there can be more than one controller description for each controller, only one description can be an automatic configuration controller. When new devices are automatically configured on that controller, they are attached to the automatic configuration controller description.

*NO

This is not an automatic configuration controller.

*YES

This is an automatic configuration controller.

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

Message queue (MSGQ)

Specifies the message queue to which operational messages are sent.

*SYSVAL
Messages are sent to the message queue defined in the QCFGMSGQ system value.
*SYSOPR
Messages are sent to the system operator message queue (QSYS/QSYSOPR).

Qualifier 1: Message queue

name
Specify the name of the message queue to which operational messages are sent.

Qualifier 2: Library

name
Specify the name of the library where the message queue is located.

For more information about using this command, see the Communcations Management book, SC41-5406.

Top

Examples

CRTCTLLWS   CTLD(MYCTLR)  TYPE(6050)  MODEL(1)  RSRCNAME(CTL02)
            INZFILE(*LIBL/MYFILE)  INZMBR(MBR2)

This command creates a 6050 Model 1 local work station controller description with the name MYCTLR, and a resource name of CTL02. The source member MBR2, in source file MYFILE, will contain configuration initialization data.

Top

Error messages

*ESCAPE Messages

CPD2761
Model not valid for controller type.
CPD2787
Too many devices attached for controller type.
CPF26BB
Extended wireless controller member not changed.
CPF26BC
Extended wireless controller member not displayed.
CPF26BD
Entry for barcode group not removed from extended wireless controller member.
CPF26BE
Entry for PTC group not removed from extended wireless controller member.
CPF26BF
Program QZXCINZ terminated abnormally. See previous messages.
CPF26B3
Extended wireless line member not added.
CPF26B4
Extended wireless line member not changed.
CPF26B5
Extended wireless line member not displayed.
CPF26B8
Extended wireless controller member not added.
CPF2716
Controller description &1 not created.
Top