Retrieve Image Catalog Details (QVOIRCLD) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Retrieve Image Catalog Details (QVOIRCLD) API retrieves the contents of an image catalog. The QVOIRCLD API places the information in the receiver variable.


Authorities and Locks

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

Required Parameter Group

Receiver variable
OUTPUT; CHAR(*)

The receiver variable that is to receive the catalog information. 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 catalog entries to list. You can use one of the following format names:


Qualified image catalog name
INPUT; CHAR(20)

The image catalog about which to list information, and the library in which it is located. The first 10 characters contain the object name, and the second 10 characters contain the library name.

Error code
I/O; CHAR(*)

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


Format RCLD0100

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

Format RCLD0200

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

Format RCLD0300

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

Field Descriptions

Access information. The type of access allowed to this image catalog entry. The possible values are:

Allocated volume size. The current allocated size of this virtual volume in megabytes.

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.

CCSID of image catalog directory. The CCSID of the image catalog directory returned.

Current number of bytes available. The current number of bytes available by this virtual volume.

Current number of bytes used by volume. The current number of bytes being used by this virtual volume.

Density. The density associated with this image catalog entry.

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

First file sequence number in the virtual volume. The sequence number associated with the first file in this virtual volume. The possible values are:

Image catalog directory. The Integrated File System (IFS) directory associated with the image catalog.

Image catalog entry index. The index number of this image catalog entry. An image catalog entry index is a number between 1 and 256.

Image catalog entry status. The status of this image catalog entry. The possible values are:

Image catalog entry text. The text associated with this image catalog entry. This text will be returned in UTF-16, coded character set identifier (CCSID) 1200.

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

Image catalog status. The current status of the image catalog. The status indicates whether the image catalog is loaded into a virtual optical device or not. The possible values are:

Image catalog text. The text description associated with the image catalog.

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

Image file name. The Integrated File System name of this image catalog entry. The image catalog entry name returned will be represented in UTF-16.

Image size. The size of the optical image file in MB. The possible values are:

Last file sequence number in the virtual volume. The sequence number associated with the last file in this image. The possible values are:

Length of image catalog directory. The length, in bytes, of the image catalog directory that is associated with the image catalog.

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

Length of image file name. The length, in bytes, of the image file name.

Maximum volume size. The maximum size allowed for this virtual volume in megabytes.

Start of changeMedia type. The media type of this image catalog entry. The possible values are:

Next tape volume. Because no volume is currently mounted, this volume will be the one used by VOL(*MOUNTED). The following special value may be returned:

Next volume indicator. Indicates if the volume is the one that will be used by VOL(*MOUNTED) because no volume is currently mounted. The possible values are:

Number of image catalog directories. The number of image catalog directories associated with this image catalog.

Number of image catalog entries. The number of image catalog entries in the image catalog.

Number of image catalog entries returned. The number of image catalog entries returned. When format RCLD0100 is specified, this field will be zero.

Offset to first image catalog entry. The offset to the first image catalog entry. When format RCLD0100 is specified, this field will be zero.

Offset to image catalog directory. The offset to the image catalog directory name.

Percent used (units in tenths). The percentage of this virtual volume that has been used.

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.

Type of volume. The type associated with this image catalog entry. The possible values are:

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

Volume name. The volume name of this virtual volume.

Write protect status. An indicator of whether this image file is write protected or not. 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 ]