Remove Remote PTF (RMVRMTPTF)

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

The Remove Remote Program Temporary Fix (RMVRMTPTF) command allows a service provider to remotely remove PTFs from a service requester's system. When using the RMVRMTPTF command, you can request an IPL of the service requester's system. The remove PTF and IPL can be scheduled to occur at a later date and time.

Note:

A change request is automatically submitted that can be viewed to determine the status of this command. You can use the Work with Submitted Change Requests (WRKSCMCRQ) command to monitor the results.

Restrictions:

  1. The remove and IPL functions of this command are only supported when the service requester has Managed System Services licensed program installed.
  2. If a NODL value is specified, the node list can only contain entries that have a value of *SNA for the address type.
  3. PTFs are always removed temporarily except VLIC PTFs which are removed permanently.
  4. Dependent PTFs can be removed remotely. PTFs are removed in the order that they are listed on the command.
Top

Parameters

Keyword Description Choices Notes
PTFID PTF description Values (up to 300 repetitions): Element list Required, Positional 1
Element 1: PTF identifier Character value, *ALL
Element 2: Product Character value, *ONLY
Element 3: Release level Character value
DESTSRVRQS Destination service requester Single values: *ALL, *SELECT, *NONE
Other values (up to 50 repetitions): Element list
Optional
Element 1: Network identifier Communications name, *NETATR
Element 2: Control point Communications name
DLYRMV Delayed PTF remove *NO, *YES Optional
NODL Node list name Qualified object name Optional
Qualifier 1: Node list name Name, *NONE
Qualifier 2: Library Name, *LIBL, *CURLIB
IPL IPL remote system *NO, *YES Optional
PWRDWNOPT Power down option *CNTRLD, *IMMED Optional
PWRDWNDLY Power down delay 1-65535, 3600 Optional
RMTRMVTIME Remote remove time Element list Optional
Element 1: Time zone *LCLSYS, *MGDSYS
Element 2: Start after Element list
Element 1: Time Time, *CURRENT
Element 2: Date Date, *CURRENT, *NEXT
RMTIPLTIME Remote IPL time Element list Optional
Element 1: Time zone *LCLSYS, *MGDSYS
Element 2: Start after Element list
Element 1: Time Time, *CURRENT
Element 2: Date Date, *CURRENT, *NEXT
Top

PTF description (PTFID)

Specifies the PTF that is to be removed. A maximum of 300 PTF identifiers can be specified.

The possible PTF identifier values are:

PTF-identifier
A 7-character PTF identifier.
*ALL
Removes all PTFs for the specified product.

The product identifier values are:

*ONLY
Specifies that the PTF identifier is associated with only one product.
product-id
Specify the product of the PTF. The product must be specified when PTF identifiers are not unique across products or the PTF identifier is *ALL.

The release level of product values are:

release (VxRxMx)
Specify the release level of the product. The format is VxRxMx.
Top

Destination service requester (DESTSRVRQS)

Specifies the service requester where this PTF function is to be performed. A single service requester or a list of service requesters can be specified.

The possible network identifier values are:

*SELECT
Shows a list of service requesters. From the list, you can select one or more service requesters. *SELECT is not valid when the command is used in a batch environment.
*ALL
Specifies that this PTF function should occur on all of the service requesters that are defined for this service provider.
*NONE
The service requesters are identified in a node list object.
*NETATR
The remote network identifier of the service requester is the same as the network identifier of this system.
remote-network-identifier
Specify the remote network identifier of the service requester.

The possible control point value is:

This element is not valid when the network identifier is *ALL, *SELECT, or *NODE.

remote-control-point
Specify the remote control point name of the service requester.
Top

Delayed PTF remove (DLYRMV)

Specifies how PTFs are removed. Remove immediate PTFs at the time the activity runs on the specified system, or later during the next IPL.

The possible values are:

*NO
Removes an immediate PTF at the time the activity runs. If the PTF is marked delayed, it is not removed until the next unattended IPL.
*YES
Removes both immediate or delayed PTFs during the next unattended IPL.
Top

Specifies the node list object name that contains a list of service requesters where this PTF function is to be performed.

The possible values are:

*NONE
The service requesters are identified in the DESTSRVRQS parameter.

The possible library values are the following:

*LIBL
Searches all of the libraries in the user and system portions of the job's library list for the node list object.
*CURLIB
Searches for the node list object in the library for the current job.
library-name
Specify the name of the library to be searched.

The possible value for the node list name is:

node-list-name
Specify the node list name which contains the list of service requesters where this PTF function is to be performed.
Top

IPL remote system (IPL)

Specifies if an IPL of the service requester's system should occur.

The possible values are:

*NO
An IPL of the service requester system should not occur.
*YES
An IPL of the service requester system should occur after all the PTFs listed on the command are successfully removed.
Top

Power down option (PWRDWNOPT)

Specifies how to manage the end of active jobs during the IPL processing at the service requester system. This parameter is valid only if IPL(*YES) is specified.

*CNTRLD
All jobs end when the time specified in Power Down Delay (PWRDWDLY) parameter expires. Any current jobs that are running perform end of end of batch processing.
*IMMED
Jobs end immediately.
Top

Power down delay (PWRDWNDLY)

Specifies the amount of time in seconds that the system allows a controlled end to be performed. If the end of job routines are not finished in the specified power down delay, any remaining jobs are ended immediately. This parameter is only valid if IPL(*YES) and if PWRDWNOPT(*CNTRLD) are specified.

3600
The amount of time in which to complete a controlled end of processing is limited to 3600 seconds.
delay-time
Specify the maximum amount of delay time, in seconds, in which a controlled end can be performed. Valid values range from 1 through 65535 (65,535 seconds).
Top

Remote remove time (RMTRMVTIME)

Specifies the date and time when this PTF function can occur on the service requester. The current date and time values and next date are determined, when this PTF function is processed on this system, based on this system's date and time.

The possible time zone values are:

*LCLSYS
Specifies the remote start time in the time zone of this system.
*MGDSYS
Specifies the remote start time in the time zone of the service requester's system.

The possible start after time values are:

*CURRENT
Starts this PTF function on the service requester system at any time on or after this PTF function request is processed on this system.
start-after-time
Specify the time when this PTF function can be started on the service requester. The time can be entered as 4 or 6 digits, such as hhmm or hhmmss where hh = hours, mm = minutes, and ss = seconds. Seconds are optional. The time can be specified with or without a separator. With a time separator, specify a string of 5 or 8 digits (hh:mm or hh:mm:ss).

The possible start after date values are:

*CURRENT
Starts this PTF function on the service requester system on any date on or after the date this PTF function request is processed on this system.
*NEXT
Starts this PTF function on the service requester system on any date after the date this PTF function is processed on this system.
start-after-date
Specify the date when this PTF function can start on the service requester system. The date must be specified in the job date format.

Note:

The special values *CURRENT and *NEXT cannot be specified for the date and time if the time zone value *MGDSYS is specified.

Top

Remote IPL time (RMTIPLTIME)

Specifies the date and time when the IPL can occur on the service requester. The current date and time values and next date are determined, when this IPL request is processed on this system, based on this system's date and time.

The possible time zone values are:

*LCLSYS
Specifies the remote start time in the time zone of this system.
*MGDSYS
Specifies the remote start time in the time zone of the service requester's system.

The possible start after time values are:

*CURRENT
Starts the IPL on the service requester system at any time on or after the IPL request is processed on this system.
start-after-time
Specify the time when the IPL can be started on the service requester. The time can be entered as 4 or 6 digits, such as hhmm or hhmmss where hh = hours, mm = minutes, and ss = seconds. Seconds are optional. The time can be specified with or without a separator. With a time separator, specify a string of 5 or 8 digits (hh:mm or hh:mm:ss).

The possible start after date values are:

*CURRENT
Starts the IPL on the service requester system on any date on or after the date this IPL request is processed on this system.
*NEXT
Starts the IPL on the service requester system on any date after the date this IPL request is processed on this system.
start-after-date
Specify the date when the IPL can start on the service requester system. The date must be specified in the job date format.

Note: The special values *CURRENT and *NEXT cannot be specified for the date and time if the time zone value *MGDSYS is specified.

Top

Examples

Example 1: Removing a PTF

RMVRMTPTF   PTFID((123456 *ONLY V5R2M0))  DESTSRVRQS(*SELECT)

Remove a PTF from one or more selected service requesters.

Example 2: Removing a PTF on a Certain Date

RMVRMTPTF   PTFID((*ALL PRODUCT V5R2M0))
            DESTSRVRQS((*NETATR CHICAGO1) (*NETATR CHICAGO2))
            RMTAPYTIME((*MGDSYS ('10:00:00' '10/31/02'))
            IPL(*YES)
            RMTIPLTIME((*MGDSYS ('01:00:00' '11/01/02'))

This command removes the PTFs on the service requesters starting at 10:00 a.m. on October 31, 2002. If all the PTFs were removed successfully, the service requester's system IPL starts at 1:00 a.m. on November 1, 2002.

Example 3: Doing an IPL After Removing a PTF

RMVRMTPTF   PTFID((987654 *ONLY V5R2M0))
            DESTSRVRQS(*SELECT)'))  IPL(*YES)
            RMTIPLTIME(*LCLSYS (*CURRENT 12/24/2002))
            PWRDWNOPT(*IMMED)

This command removes the PTF on the selected service requesters. If the PTF is removed sucessfully, the IPL on the remote system starts at the current time on December 24, 2002. The times specified are in the time zone of the local system.

Example 4: Removing a PTF with Two Corequisite PTFs and One Prerequisite PTF

RMVRMTPTF   PTFID((SF00001 *ONLY V5R2M0))  DESTSRVRQS(*SELECT)
            RMTRMVTIME(*LCLSYS (*CURRENT *CURRENT))  IPL(*NO)

This command removes PTF number SF00001. This PTF has 2 corequisite PTFs and one prerequisite PTF. PTFs SF00002 and SF00003 are corequisite PTFs for PTF SF00001. PTF SF00004 is a prerequisite for PTF SF00001. The system will remove PTFs SF0001, SF00002, and SF00003. However, the prerequisite PTF will not be removed. The system will determine all corequisite PTFs if they were not specified. No IPL will be performed, and this action applies the PTFs on the service requesters. The times specified are in the time zone of the local system.

Top

Error messages

*ESCAPE Messages

CPF358A
PTF &1-&2 cannot be applied or removed.
Top