Select Library

#### Search Results

Search

# Select Library

You can select the library to be used for the unload function from a list.

The selection list is produced with the Select library (or Select) function, which is provided on the object specification screen of the unload function when performed in advanced-user mode.

The instructions below are examples of selecting single or multiple libraries when unloading Natural library objects.

To select a single library from a list

1. On the Unload Natural Library Objects screen, choose Select library or PF4 (SeLib).

   The Select Library window appears with a list of all libraries and the database IDs (DBID) and file numbers (FNR) of the system file where the libraries are stored.

2. In the Cmd column, next to the library required, enter any single character.

3. Choose ENTER.

   The Library field and the DBID/FNR fields of the Unload Natural Library Objects screen are filled with the specified name and numbers respectively. If no values (or `0`) are entered in the DBID/FNR fields, the current FUSER and FNAT system files are selected.

To list and select multiple libraries

1. On the Unload Natural Library Objects screen, choose Select library or PF4 (SeLib).

   The Select Library window appears with a list of all libraries and the database IDs (DBID) and file numbers (FNR) of the system file where the libraries are stored.

2. In the Library field, enter a name or a range of names to filter the libraries you want to select. If you enter a single library name, the list will start with this library. For valid name ranges, see Name in the section Name, Date and Time Specification.

   Or:
   In the DBID and FNR fields, enter the database ID and file number of the system file that contains the libraries you want to select. If no values (or `0`) are entered, the current FUSER and FNAT system files are used.

   Note that DBID and FNR are read-only fields when the Select Library window has been invoked from an Exceptions screen.

3. Choose ENTER.

   The Select Library window now lists all libraries of the specified range.

4. Choose PF4 (Se Rng).

   The Library field and the DBID/FNR fields of the Unload Natural Library Objects screen are filled with the specified name (or range) and numbers respectively. If no values (or `0`) are entered in the DBID/FNR fields, the current FUSER and FNAT system files are selected.