Retrieve Image Catalogs (QVOIRCLG) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Retrieve Image Catalogs (QVOIRCLG) API retrieves the list of image catalog names based on the image catalog type parameter.


Authorities and Locks

Image Catalog Authority
*USE
Image Catalog Library Authority
*EXECUTE
Image Catalog Lock
None

Required Parameter Group

Receiver variable
OUTPUT; CHAR(*)

The receiver variable that receives the information requested. You can specify the size of the area to be smaller than the format requested as long as you specify the length parameter correctly. As a result, the API returns only the data that the area can hold.

Length of receiver variable
INPUT; BINARY(4)

The length of the receiver variable provided. The length of the receiver variable parameter may be specified up to the size of the receiver variable specified in the user program. If the length of the receiver variable parameter specified is larger than the allocated size of the receiver variable specified in the user program, the results are not predictable. The minimum length is 8 bytes.

Format name
INPUT; CHAR(8)

The format of image catalogs to retrieve. You can use one of the following format names:


Image catalog type
INPUT; CHAR(1)

The type of image catalogs to include in the list. You can specify one of the following types:


Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Format RCLG0100

For detailed descriptions of the fields in this table, see Field Descriptions.

Image Catalog List Entry

For detailed descriptions of the fields in this table, see Field Descriptions.

Field Descriptions

Bytes available. The number of bytes of data available to be returned. All available data is returned if enough space is provided.

Bytes returned. The number of bytes of data returned.

Dependent image catalog indicator. An indicator of whether this image catalog is a dependent image catalog. The possible values are:

Image catalog library name. The name of the library containing the image catalog.

Image catalog list. The list of image catalogs and information.

Start of changeImage catalog mode. The current mode for a loaded optical image catalog. The possible values are:

Image catalog name. The name of the image catalog from which the information was retrieved.

Image catalog status. The current status of the image catalog. The possible values are:

Image catalog text. The text associated with this image catalog.

Image catalog type. The type of this image catalog. The possible values are:

Length of image catalog list entry. The length of each image catalog entry in the list.

Number of image catalogs. The number of image catalogs on the system of the type specified.

Number of image catalogs returned. The number of image catalogs returned.

Offset to first image catalog in list. The offset to the first image catalog in the list.

Reference image catalog indicator. An indicator of whether a dependent image catalog was created, with this catalog as the reference image catalog. The possible values are:

Reference image catalog library name. The library containing the image catalog that was named as the reference catalog when this catalog was created. If this image catalog is not a dependent image catalog, this field will be blank.

Reference image catalog name. The image catalog named as the reference catalog when this catalog was created. If this image catalog is not a dependent image catalog, this field will be blank.

Reserved. Space included for alignment.

Virtual device name. The name of the virtual device associated with the image catalog. A blank virtual device name indicates that the catalog is not associated with a virtual device.

Virtual device status. The current status of the virtual device. The possible values are:



Error Messages

The following messages may be sent from this function:




API introduced: V5R4

[ Back to top | Object APIs | APIs by category ]