Create Binding Directory (CRTBNDDIR)

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

The Create Binding Directory (CRTBNDDIR) command creates a binding directory object in the specified library.

Restrictions:

Top

Parameters

Keyword Description Choices Notes
BNDDIR Binding directory Qualified object name Required, Positional 1
Qualifier 1: Binding directory Name
Qualifier 2: Library Name, *CURLIB
AUT Authority Name, *LIBCRTAUT, *CHANGE, *ALL, *USE, *EXCLUDE Optional
TEXT Text 'description' Character value, *BLANK Optional
Top

Binding directory (BNDDIR)

Specifies the binding directory to be created.

This is a required parameter.

Qualifier 1: Binding directory

name
Specify the name of the binding directory to be created.

Qualifier 2: Library

*CURLIB
The binding directory 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.
name
Specify the name of the library where the binding directory is to be created.
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.

*LIBCRTAUT
The system determines the authority for the object by using the value specified for the Create authority (CRTAUT) parameter on the Create Library command (CRTLIB) 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.
*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.
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

Text 'description' (TEXT)

Specifies text that briefly describes the binding directory object.

*BLANK
Text is not specified.
character-value
Specify no more than 50 characters of text, enclosed in apostrophes.
Top

Examples

CRTBNDDIR   BNDDIR(*CURLIB/DISPLAYS)

This command creates the binding directory named DISPLAYS in the job's current library, or QGPL library if there is no current library for the job.

Top

Error messages

*ESCAPE Messages

CPF5D0B
Binding directory &1 was not created
Top