Retrieve Product (RTVPRD)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Retrieve Product (RTVPRD) command provides the capability to retrieve a product, packaged with the iSeries product packaging support, from a managed system.

Note:

A change request is automatically submitted which can be viewed to determine the status of this command. A message is returned identifying the name of the change request.

Restrictions:

  1. This command is shipped with public *EXCLUDE authority.
  2. The Managed System Services licensed program and the i5/OS product cannot be specified.
  3. A product can only be retrieved from a single managed system.
Top

Parameters

Keyword Description Choices Notes
PRDID Product ID Character value Required, Positional 1
RLS Release level Character value, *ONLY Optional
OPTION Product option 1-99, *BASE Optional
LODTYPE Product load type *ALL, *CODE, *LNG Optional
LODID Load ID 2900-2999, *ALL, *CODE Optional
TGTRLS Target release *CURRENT, *PRV, V5R2M0, V5R3M0, V5R4M0 Optional
CPNAME Managed system node names Element list Optional
Element 1: Network identifier Communications name, *NETATR
Element 2: Control point Communications name
Top

Product ID (PRDID)

Specifies the 7-character identifier of the product to be retrieved.

product-ID
Specify the 7-character product ID that is used in the activity.
Top

Release level (RLS)

Specifies which version, release, and modification level of the product is used.

The possible values are:

*ONLY
Only one version, release, and modification level is used for the product option.
release-level
Specify the release level in the format VxRxMy, where Vx is the version number, and My is the modification number. Valid values for x are the numbers 0 through 9. Valid values for y are the numbers 0 through 9 and the letters A through Z.
Top

Product option (OPTION)

Specifies which of the optional parts of the product given in the PRDID parameter are used.

The possible values are:

*BASE
Only the base part of the product is used.
product-option-number
Specify the option number for the product load being saved. Valid values range from 1 through 99.
Top

Product load type (LODTYPE)

Specifies the product load objects being used.

The possible values are:

*ALL
Code and language objects specified on the LODID parameter are used.
*CODE
The program objects associated with this product load are used.
*LNG
Specify the objects associated with the NLV identified on the LODID parameter are used.
Top

Load ID (LODID)

Specifies the load identifier used.

The possible values are:

*ALL
All languages for this product option are saved.
*CODE
The code load is used.
product-load-ID
Specify when LODTYPE(*LNG) or LODTYPE(*ALL) is used, the load ID must be one of the valid IBM national language versions and must be specified in the form 29xx. The value of x can be 0 through 9.
Top

Target release (TGTRLS)

Specifies the release of the operating system on which you intend to use the object. This parameter is ignored for objects with global names that are in the SystemView distribution repository or for actions other than send or retrieve.

*CURRENT
The object is used on the release of the operating system currently running on your system. If V5R4M0 is running on your system, *CURRENT means that you intend to use the object on a system with V5R4M0 installed. The object can also be used on a system with any later release of the operating system installed.
*PRV
The object is intended for a system which is at the previous release level compared to the local system.

Note: Modification levels are not supported. To specify a previous release with a modification level other than 0, such as V5R3M4, specify the value for the release rather than the special value *PRV.

release-level
Specify the release level in the VxRxMx format. The object is used on a system with the specified release or with any later release of the operating system installed.

Valid values depend on the current version, release, and modification level, and they change with each new release.

Top

Managed system node names (CPNAME)

Specifies the APPN control point names of the managed systems on which this activity is to be performed. Control point names cannot be specified if the node list (NODL) is specified.

The possible values are:

*NONE
Specify the systems on which this activity is to be performed. They are not identified individually. A node list must be specified.
*NETATR
The network ID of the local system is used. This is useful when the node being specified is in the same network as the local system.
network-identifier
Specify the APPN network identifier of the managed system on which the activity is to be performed.

The possible control point name value is:

control-point-name
Specify the APPN control point name of the managed system on which the activity is to be performed.
Top

Examples

Example 1: Retrieving the Program and Language Parts

RTVPRD   PRDID(1ACCOUN)  RLS(V5R2M0)  OPTION(*BASE)
         LODTYPE(*ALL)  LODID(*ALL)  CPNAME((*NETATR SYS1))

This command retrieves the program and language parts for the base option of product 1ACCOUN with release V5R2M0 from iSeries server SYS1.

Example 2: Retrieving an Option

RTVPRD   PRDID(1CHECKS)  RLS(V5R2M0)  OPTION(10)
         LODTYPE(*ALL)  LODID(*ALL)  CPNAME((*NETATR SYS2))

This command retrieves the option 10 of the 1CHECKS product, release V5R2M0, for both the program and the language parts from the iSeries server SYS2.

Top

Error messages

None

Top