1 | Image catalog name | Input | Char(10) |
2 | Type of files to add | Input | Char(10) |
3 | Error code | I/O | Char(*) |
The Fill Image Catalog (QVOIFIMG) API finds multiple files within an image catalog directory and adds them to the specified image catalog.
The specified image catalog needs to be empty. If an image catalog is specified that is not empty, any image catalog index entries that exist in the catalog will be removed before adding the files found within the image catalog directory. Note that the file itself will not be deleted, just the index in the catalog.
As an image catalog can only contain 256 image catalog entries, only the first 256 files found that match the criteria will be added to the image catalog.
A typical use of the QVOIFIMG API follows:
The image catalog name.
Specifies which files found within the image catalog directory should be added to the specified image catalog.
The valid values are:
A value of *ISO will only work with an optical image catalog. If a value of *ISO is specified along with a tape image catalog, the catalog will not be changed.
For tape image catalogs, only valid tape image files will be added to the catalog.
For optical image catalogs, tape image files will not be added to the catalog.
The structure in which to return error information. For the format of the structure, see Error code parameter.
Message ID | Error Message Text |
---|---|
CPF3C4B E | Value not valid for field *. |
CPF24B4 E | Severe error while addressing parameter list. |
CPF3CF1 E | Error code parameter not valid. |
CPF9802 E | Not authorized to object &2 in &3. |
CPF9803 E | Cannot allocate object &2 in library &3. |
CPF9804 E | Object &2 in library &3 damaged. |
CPFBC28 E | Image catalog entry not added to image catalog &1. |
CPFBC45 E | Image catalog &1 not found. |
CPFBC4B E | Image catalog &1 in use. |
CPF9872 E | Program or service program &1 in library &2 ended. Reason code &3. |
[ Back to top | Object APIs | APIs by category ]