Create Container Volumes (QMOCRTCV) API

  Required Parameter Group:



  Optional Parameter Group:



  Default Public Authority: *USE

  Threadsafe: No

The Create Container Volumes (QMOCRTCV) API creates optical image catalog entries and an associated VOLUME_LIST file that are contained on physical optical media within a physical optical device. The created optical volumes are not initialized and will be assigned default system generated volume names based on date/time format.

The QMOCRTCV API currently supports the following device types:


Authorities and Locks

Device Description Authority
*USE
Retrieve Device Description (QDCRDEVD) API
*USE

Required Parameter Group

Device name
INPUT; CHAR(10)

The name of the physical optical RDX or flash drive device that will contain the optical image catalog entries. The media within the RDX or flash drive must be pre-initialized as container media before this API can be used.

File name prefix.
INPUT; CHAR(6)

A prefix up to 6 characters to be used as the first characters of the IFS file names for the created container volumes. A incrementing numeric value starting at 001 will be appended to the prefix by the system.

Valid values are:

Volume count
INPUT; CHAR(8)

The number of image catalog entries to be created.

Valid values are:

Volume size
INPUT; CHAR(8)

The size of the created image catalog entries in MB.

Valid values are:


Optional Parameter Group

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter. If this parameter is omitted, diagnostic and escape messages are issued to the application.


Examples

The following are examples of calls to the API from command entry:


Error Messages



API introduced: V7R2

[ Back to top | Backup and Recovery APIs | APIs by category ]