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
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.
In the Cmd column, next to the library required, enter any single character.
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. For Natural command processor sources, the
current setting of LFILE 190 is used.
To list and select multiple libraries
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.
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. For
Natural command processor sources, the current setting of LFILE 190 is
used.
Note that DBID and FNR are read-only fields when the Select Library window has been invoked from an Exceptions screen.
Choose ENTER.
The Select Library window now lists all libraries of the specified range.
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.
Note:
If Natural command processor sources (which are stored
in Adabas files) are to be unloaded, the libraries are searched on the Adabas
file specified by DBID and FNR. If no values (or 0
) are specified
for DBID and FNR, the current setting of LFILE 190 is used.