Create WSCST (CRTWSCST)
The Create Work Station Customizing Object (CRTWSCST) command allows the user to create a work station customizing object in a library.
Keyword |
Description |
Choices |
Notes |
WSCST |
Workstation customizing object |
Qualified object name |
Required, Positional 1 |
Qualifier 1: Workstation customizing object |
Name |
Qualifier 2: Library |
Name, *CURLIB |
SRCMBR |
Source member |
Name, *WSCST |
Optional, Positional 3 |
TEXT |
Text 'description' |
Character value, *BLANK, *SRCMBRTXT |
Optional |
SRCFILE |
Source file |
Qualified object name |
Optional, Positional 2 |
Qualifier 1: Source file |
Name, QTXTSRC |
Qualifier 2: Library |
Name, *CURLIB |
AUT |
Authority |
Name, *LIBCRTAUT, *CHANGE, *ALL, *USE, *EXCLUDE |
Optional |
REPLACE |
Replace object |
*YES, *NO |
Optional |
Workstation customizing object (WSCST)
Specifies the name of a work station customizing object to be created.
The possible library values are:
- *CURLIB
- The work station customizing object is created in the current library for the job. 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 where the work station customizing object is created.
The possible values are:
- object-name
- Specify the name of the object that is created.
Source member (SRCMBR)
Specifies the name of the source file member containing the table attributes.
The possible values are:
- *WSCST
- Specifies that the work station customizing object name is used as the source member name.
- source-file-member-name
- Specify the name of the member in the source file specified on the SRCFILE parameter that is used to create the work station customizing object.
Text 'description' (TEXT)
Specifies text that briefly describes the object. More information on this parameter is in "Appendix A, Expanded Parameter Descriptions" in the CL Reference.
The possible values are:
- *SRCMBRTXT
- The text is taken from the source file member used to create the work station customizing object.
- *BLANK
- Text is not specified.
- 'description'
- Specify a description of the object.
Source file (SRCFILE)
Specifies the name of the source file in which a source file member containing the customizing table attributes resides. If the source file does not exist, an error message is displayed. The coded character set identifier for the source file should be *HEX.
The possible library values are:
- *CURLIB
- The current library for the job is used to locate the source file. 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 where the source file is located.
The possible values are:
- QTXTSRC
- The IBM-supplied source file QTXTSRC is used.
- source-file-name
- Specify the name of the source file.
Authority (AUT)
Specifies the authority given to users who do not have specific authority to the object, who are not on the authorization list, and whose user group has no specific authority to the object.
The possible values are:
- *LIBCRTAUT
- The public authority for the object is taken from the CRTAUT value of the target library (the library that is to contain the object). This value is determined when the object is created. If the CRTAUT value for the library changes after the object is created, the new value does not affect any 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 file's existence, specify the security for the file, change the file, and perform basic functions on the file. The user can transfer ownership of the file.
- *USE
- The user can perform basic operations, such as run a program or read a file. The user is prevented from changing the object. *USE authority provides object operational authority, read authority and execute authority.
- *EXCLUDE
- The user is prevented from accessing the object.
Replace object (REPLACE)
Indicates whether an existing object is replaced.
The possible values are:
- *YES
- Replace the existing work station customizing object.
- *NO
- Do not replace the existing work station customizing object.
CRTWSCST WSCST(MYLIB/MYWSCOBJ)
This command creates a work station customizing object named MYWSCOBJ in library MYLIB.