Generate CD-ROM Premastering Information (QLPCDINF, QlpGenCdPremasteringInfo) API


  Required Parameter Group:


  Default Public Authority: *USE

  Service Program: QLPCDROM

  Threadsafe: No

The Generate CD-ROM Premastering Information (OPM, QLPCDINF; ILE, QlpGenCdPremasteringInfo) API allows you to do the following:


Authorities and Locks

API Public Authority
*EXCLUDE
QSYS Library Authority
*CHANGE
User Space Authority
*CHANGE
User Space Library Authority
*USE
User Space Lock
*EXCLRD

Required Parameter Group

Qualified user space name
INPUT; CHAR(20)

The user space that receives the generated list and the library in which it is located. The first 10 characters contain the user space name, and the second 10 characters contain the library name.

The following special values are allowed for the library name:


Format name
INPUT; CHAR(8)

The content and format of the information returned.

The possible format name follows:


Distribution set map identifier
INPUT; CHAR(10)

The distribution set map identifier that uniquely establishes this set of CD-ROMs being premastered.

This name can only include the following characters:

  • Uppercase characters (A-Z)
  • Numeric characters (0-9)
  • Underscore character (_)

This identifier should be the same as that specified on the Handle CD-ROM Premastering State API.

CD-ROM size
INPUT; BINARY(4)

The size of the CD-ROM in megabytes that is used during mastering. This information is needed to accurately calculate where the tape files reside on CD-ROM.

CD-ROM volume identifier prefix
INPUT; CHAR(30)

The prefix of the volume identifier for the CD-ROM volumes. Each CD-ROM will be assigned a unique volume identifier starting with these 30 characters. A 2-digit numeric suffix is added to this prefix and then incremented for each CD-ROM volume in the set. For example, the volume identifiers for a 3-volume CD-ROM set when a prefix of MYCDS is used would be MYCDS01, MYCDS02, and MYCDS03.

Error code
I/O; CHAR(*)

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


Format of the Generated List

The file member list consists of:

For details about the user area and generic header, see User spaces. For details about the remaining items, see the following sections. For detailed descriptions of the fields in the list returned, see Field Descriptions.

When you retrieve list entry information from a user space, you must use the entry size returned in the generic header. The size of each entry may be padded at the end. If you do not use the entry size, the result may not be valid. For examples of how to process lists, see Examples: APIs and exit programs.


Input Parameter Section



Header Section



PCDL0100 List Data Section



Field Descriptions

CD-ROM file name. The name of the file as it will be on CD-ROM.

CD-ROM size. The size of the CD-ROM in megabytes that is used during mastering.

CD-ROM volume identifier. The CD-ROM volume identifier for the CD-ROM volume that this file will be on.

CD-ROM volume identifier prefix. The 30-character prefix of the volume identifier for the CD-ROM volumes that was specified in the call to the API.

CD-ROM volume serial position. The position in a set of CD-ROMs that this CD-ROM volume is in.

Distribution set map identifier. The distribution set map identifier that was specified in the call to the API.

Format name specified. The format name that was passed to this API on the call in the format name parameter.

Reserved. An ignored field.

Tape file label. The name of the file that was saved to tape.

User space library name specified. The name of the user space library as specified on the call to the API.

User space library name used. The actual name of the library where this user space was found.

User space name specified. The name of the user space as specified on the call to the API.

User space name used. The actual name of the user space used to store the data listed.


Error Messages



API introduced: V3R6

[ Back to top | Software Product APIs | APIs by category ]