Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Create Data Dictionary (CRTDTADCT) command creates a data dictionary. A data dictionary must be created before the user can use the Interactive Data Definition Utility (IDDU) to describe and create database files. The user can create a data dictionary with IDDU or with the CRTDTADCT command. More information is in the IDDU Use book, SC41-5704.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
DTADCT | Data dictionary | Name | Required, Positional 1 |
TEXT | Text 'description' | Character value, *BLANK | Optional |
AUT | Authority | Name, *LIBCRTAUT, *CHANGE, *ALL, *USE, *EXCLUDE | Optional |
Top |
Specifies the name that the data dictionary is assigned when it is created. The dictionary name must be the same as the library name where it is created. The library must already exist.
This is a required parameter.
Top |
Specifies the text that briefly describes the object.
The possible values are:
Top |
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.
The possible values are:
Top |
Example 1: Creating a Data Dictionary and Granting USE Authority
CRTDTADCT DTADCT(DEPT547) AUT(*USE) TEXT('dept547 dictionary')
This command creates a data dictionary named DEPT547 in library DEPT547. The authority given for the dictionary to other users is *USE.
Example 2: Creating a Restricted Data Dictionary
CRTDTADCT DTADCT(DEPT245) AUT(MYLIST) TEXT('restricted dictionary')
This command creates a restricted data dictionary named DEPT245 in library DEPT245. The authority given for the dictionary to the users comes from the authorization list named MYLIST.
Top |
*ESCAPE Messages
Top |