Handle CD-ROM Premastering State (QLPCDRST, QlpHandleCdState) API


  Required Parameter Group:


  Default Public Authority: *EXCLUDE

  Service Program: QLPCDROM

  Threadsafe: No

The Handle CD-ROM Premastering State (OPM, QLPCDRST; ILE, QlpHandleCdState) 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 value is allowed for the user space 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:


Current CD-ROM premastering state
OUTPUT; BINARY(4)

The variable that receives the current CD-ROM premastering state.

The possible values follow:


Distribution set map identifier used
OUTPUT; CHAR(10)

The variable that receives the distribution set map identifier for the set of tapes currently being premastered.

Requested CD-ROM premastering state
INPUT; BINARY(4)

The CD-ROM premastering state that the job should be set to.

The possible values follow:


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 parameter must be blank when the requested CD-ROM premastering state parameter is not 1.

Option
INPUT; BINARY(4)

Whether to create new information about this particular set of CD-ROMs or to add information to a set of CD-ROMs. This parameter must be 0 when the requested CD-ROM premastering state parameter is not 1.

The possible values follow:


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 the following:

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



TPFL0100 List Data Section



Field Descriptions

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.

Option. The option that was passed to this API on the call in the option parameter.

Requested CD-ROM premastering state. The requested CD-ROM premastering state that was specified in the call to the API.

Tape file label. The name of the tape 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 ]