Delete Product Definition (QSZDLTPD) API

Required Parameter Group:


1
Qualified product definition name
Input
Char(20)
2
Error code
I/O
Char(*)


Threadsafe: No

The Delete Product Definition (QSZDLTPD) API deletes a single product definition object.

Authorities and Locks

Library Authority
*USE

Library Lock
*SHRUPD

Object Lock
*EXCL

Product Definition Authority
*OBJEXIST

Required Parameter Group

Qualified product definition name
INPUT; CHAR(20)

The first 10 characters contain the product definition object name. The second 10 characters contain the name of the library where the product definition object is located.

Error code
I/O; CHAR(*)

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

Error Messages

CPF0C4B E
Product availability object &2/&1 recovery required.
CPF0C52 E
Product definition &3 in library &4 not deleted.
CPF2105 E
Object &1 in &2 type *&3 not found.
CPF2110 E
Library &1 not found.
CPF2113 E
Cannot allocate library &1.
CPF2114 E
Cannot allocate object &1 in &2 type *&3.
CPF2125 E
No objects deleted.
CPF2176 E
Library &1 damaged.
CPF2182 E
Not authorized to library &1.
CPF2189 E
Not authorized to object &1 in &2 type *&3.
CPF24B4 E
Severe error while addressing parameter list.
CPF3CF1 E
Error code parameter not valid.
CPF3C29 E
Object name &1 is not valid.
CPF3C90 E
Literal value cannot be changed.
CPF9872 E
Program or service program &1 in library &2 ended. Reason code &3.


Top | Software Product APIs
Software Product API list | APIs by category

[ Information Center Home Page ] [ Legal | AS/400 Glossary ]