SNDPRD (Send Product)
Note: To use this command, have the 5722-SM1 (System Manager for iSeries) licensed program installed.
Purpose
The Send Product (SNDPRD) command provides the capability to send a product, packaged with the OS/400 packaging support, from the central site system to one or more managed systems.
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
- This command is shipped with public authority of *EXCLUDE.
- Because this command calls the PKGPRDDST and ADDPRDCRQA commands, be authorized to use these commands. You must have *ALL authority to folders.
- If a NODL value is specified, the node list can contain only entries that have a value of *SNA for the address type.
- The Managed System Services licensed program and the OS/400 licensed program cannot be specified.
Notes
- This command packages the product for distribution if it is not already packaged.
- If the product was packaged for distribution before but the PKGPRDDST(*REPLACE) parameter was specified, this command packages the product for distribution again. It replaces the previous packaged product.
- When it is requested to send the license key of the product, a record with the license key information must exist in the central site license repository by the time this activity runs.
- All the existing records in the central site license repository containing the license key information for the specified product will be sent to the specified managed system or systems, but only those that match the system serial number are added to the managed system license repository.
Required Parameters
- PRDID
- Specifies the 7-character identifier of the product to be sent.
product-ID: Specify the 7-character product ID that is used in the activity.
Optional Parameters
- RLS
- Specifies which version, release, and modification level of the product is used.
*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, where Rx is the release number, and My is the modification number. Valid values for x range from 0 through 9. Valid values for y range from 0 through 9 and the letters A through Z.
- OPTION
- Specifies which of the optional parts of the product given in the PRDID parameter are used.
*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 are from 1 through 99.
- LODTYPE
- Specifies the product load objects being used.
*ALL: Code and language objects specified on the LODID parameter are used.
*CODE: The program objects associated with this product load are used.
*LNG: The objects associated with the NLV identified on the LODID parameter are used.
- LODID
- Specifies the load identifier used.
*ALL: All languages for this product option are saved.
*CODE: The code load is to be used.
product-load-ID: Specify the load ID of the product when LODTYPE(*LNG) or LODTYPE(*ALL) is used. The load ID must be one of the valid IBM national language versions and be specified in the form 29xx. The value for x can be from 0 through 9.
- TGTRLS
- Specifies the release of the operating system on which you intend to use the product.
*CURRENT: The product is to be used on the release of the operating system currently running on your system.
*PRV: The product is to be used on the previous release.
release-level: Specify the release level in the format VxRxMx. The product can be 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 can change with each new release.
- NODL
- Specify the node list object name that contains a list of systems that are the destinations for the request. Node list name cannot be specified if a value is specified for the control point name (CPNAME) parameter.
*NONE: The systems on which this activity is to be performed are not identified by a node list. Individual control point names must be specified.
The possible library values are:
*LIBL: All of the libraries in the user and system portions of the job's library list are searched for the node list object.
*CURLIB: The current library for the job is used to locate the node list object.
library-name: Specify that only the library named in this parameter is searched.
node-list-name: Specify the node list object name that contains the list of systems on which the command is to be performed.
- CPNAME
- Specifies the APPN control point names of the managed systems on which this request is to be performed. Control point names cannot be specified if the node list (NODL) parameter is specified.
*NONE: The systems on which this activity is to be performed 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. It is an 8-character field.
control-point-name: Specify the APPN control point name of the managed system on which the activity is to be performed.
- INSTALL
- Specifies that the product is installed on the managed system when it arrives.
*NO: The product is not installed.
*YES: The product is installed.
- KEEPCLGE
- Specifies if the catalog entry and associated save file corresponding to the product is kept on the specified system or systems. This is only valid if INSTALL(*YES) was specified.
*NO: The catalog entry and associated save file are not kept.
*YES: The catalog entry and associated save file are kept.
- SNDLICKEY
- Specifies if the license key is to be sent with the product.
*YES: The license key is sent with the product.
*NO: The license key is not sent with the product.
- PKGPRDDST
- Specifies that the product is packaged for distribution before it is sent. This parameter specifies whether to replace the packaged product if it already exists in the distribution repository.
*NOREPLACE: Specify that the existing packaged product is not replaced.
*REPLACE: Specify that the existing packaged product is replaced.
Examples for SNDPRD
Example 1: Sending a Product
SNDPRD PRDID(1ACCOUN) RLS(V5R2M0) OPTION(*BASE) LODTYPE(*ALL) LODID(*ALL) CPNAME((*NETATR SYS1)) INSTALL(*YES) SNDLICKEY(*YES)Send 1ACCOUN product with base option release V5R2M0 for both the program and the language parts, and install it on the iSeries server SYS1. The license key for this product is also sent and is added to the managed system license repository.
Example 2: Sending but Not Installing an Option
SNDPRD PRDID(1CHECKS) RLS(V5R2M0) OPTION(0010) LODTYPE(*ALL) LODID(*ALL) CPNAME((*NETATR SYS2)) SNDLICKEY(*YES)For both the program and the language parts, send but do not install the option 10 of the 1CHECKS product, release V5R2M0, on the iSeries server SYS2. The license key for this product is also sent and is added to the managed system license repository.
Error messages for SNDPRD
*ESCAPE Messages
None