Remove Binding Directory Entry (RMVBNDDIRE)

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

The Remove Binding Directory Entry (RMVBNDDIRE) command removes an entry from the binding directory.

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, *LIBL, *CURLIB, *USRLIBL
OBJ Object specifications Values (up to 50 repetitions): Element list Optional, Positional 2
Element 1: Object Qualified object name
Qualifier 1: Object Generic name, name, *ALL
Qualifier 2: Library Name, *LIBL
Element 2: Object type *SRVPGM, *MODULE
Top

Binding directory (BNDDIR)

Specifies the binding directory from which an entry is removed.

This is a required parameter.

Qualifier 1: Binding directory

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

Qualifier 2: Library

*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.
*USRLIBL
Only the libraries in the user portion of the job's library list are searched.
name
Specify the name of the library to be searched.
Top

Object specifications (OBJ)

Specifies one or more object names to be removed from the binding directory.

You can specify 50 values for this parameter.

Element 1: Object

Qualifier 1: Object

*ALL
All objects with the specified type are removed from the specified library.
generic-name
Specify the generic name of the objects to be removed. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. A generic name specifies all objects with names that begin with the generic prefix, for which the user has authority. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete object name. If the complete object name is specified, and multiple libraries are searched, multiple objects can be removed, only if *ALL or *ALLUSR library values can be specified for the name.
name
Specify the name of the object to remove.

Qualifier 2: Library

*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
name
Specify the name of the library to be searched.

Element 2: Object type

*SRVPGM
Indicates the object being removed is a service program.
*MODULE
Indicates the object being removed is a module.
Top

Examples

RMVBNDDIRE   BNDDIR(SOURCE)  OBJ(LIST)

This command allows you to remove the object LIST from the binding directory SOURCE.

Top

Error messages

*ESCAPE Messages

CPF5D01
Binding directory &1 in library &2 is not usable.
CPF5D09
Object &2/&1 type &3 was not found in binding directory &4 in library &5.
CPF980F
Binding directory &1 in library &2 not found.
CPF9801
Object &2 in library &3 not found.
CPF9802
Not authorized to object &2 in &3.
CPF9803
Cannot allocate object &2 in library &3.
CPF9807
One or more libraries in library list deleted.
CPF9808
Cannot allocate one or more libraries on library list.
CPF9810
Library &1 not found.
CPF9820
Not authorized to use library &1.
CPF9830
Cannot assign library &1.
Top