|
Required Parameter Group:
|
The Copy Program Temporary Fix to Save File (QPZCPYSV) API allows you to copy a program temporary fix (PTF) for the selected product from the media and store it in *SERVICE. The PTF can then be displayed, loaded, or copied using the PTF commands.
A save file is created in library QGPL for each PTF that is copied. You can use the Retrieve Program Temporary Fix Information (QPZRTVFX) API to obtain the name of the save file.
If the PTF already exists in *SERVICE, the PTF is not copied.
Cover letters are copied to file QAPZCOVER in library QGPL.
Lock conflicts may occur if this API is called while another PTF operation is in progress.
The information needed to put the PTF into the *SERVICE device.
The name of the format that describes the product information. The only format name supported is:
The name of the
optical
device or tape device that contains the PTFs
to be copied.
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
The following table describes the format for the product
information parameter. The format identifies the product
of the PTFs to be copied. For detailed descriptions of the
fields, see Field Descriptions.
| Offset | Type | Field | |
|---|---|---|---|
| Dec | Hex | ||
| 0 | 0 | BINARY(4) | Length of product information |
| 4 | 4 | CHAR(7) | Product ID |
| 11 | B | CHAR(6) | Release |
| 17 | 11 | CHAR(1) | Automatically support product |
Automatically support product. Indicates that when a PTF for a product currently not supported or installed on the system is found on the media, the product automatically will be marked as supported and the PTF will be copied. If the PTF affects a National Language Version, only the primary language of the system will be supported automatically. You can use the Add or Remove Product Support (QSZSPTPR) API to add support for additional languages.
This field is ignored when *SUPPTD is specified in the product ID field.
Length of product information. The length of data in the product information format, including this field.
Product ID. The name of the licensed products for which PTFs are to be copied. You can use the following special values for the product ID:
Caution should be used when specifying this value and indicating automatic support for the product. PTF media frequently contains PTFs for all products available from your service provider. If you specify these values together, all PTFs from the media are copied on to your system.
Release. The version, release, and modification of the product. The release must be in the format VxRyMz. Valid values for x and y are 0 through 9. Valid values for z are 0 through 9 or A through Z. You can use the following special value for the release:
|
Top
| Software Product APIs-
Software Product API list | APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |