Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Apply Remote Program Temporary Fix (APYRMTPTF) command allows a service provider to remotely apply PTFs on the service requester's system. When using the APYRMTPTF command, you can request an IPL of the service requester's system. The apply 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 Request (WRKSBMCRQ) command to monitor the status.
Restrictions:
Top |
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 | ||
APY | Extent of change | *TEMP, *PERM | Optional |
DLYAPY | Delayed PTF apply | *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 |
RMTAPYTIME | Remote apply 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 |
Specifies the PTF that is to be applied. A maximum of 300 PTF identifiers can be specified.
The possible PTF identifier values are:
The possible product identifier values are:
The possible release level of product value is:
Top |
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:
The possible control point value is:
This element is not valid when the network identifier is *ALL, *SELECT, or *NONE.
Top |
Specifies the extent of the change when the PTFs are applied.
The possible values are:
Top |
Specifies how PTFs are applied. Apply immediate PTFs at the time the activity runs on the specified system or later during the next 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 value is:
The possible library values are:
The possible node list name value is:
Top |
Specifies if an IPL of the service requester's system should occur.
The possible values are:
Top |
Specifies how to manage the end of active jobs during the IPL processing at service requester system. This parameter is valid only if IPL(*YES) is specified.
Top |
This parameter is valid only if IPL(*YES) and if PWRDWNOPT(*CNTRLD) are specified. 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.
Top |
Specifies the date and the time when this PTF function can occur on the service requester. The current date and time values and the 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:
The possible start after time values are:
The possible start after date values are:
Note: The special values *CURRENT and *NEXT cannot be specified for the date and time if the time zone value *MGDSYS is specified.
Top |
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:
The possible start after time values are:
The possible start after date values are:
Note: The special values *CURRENT and *NEXT cannot be specified for the date and time if the time zone value *MGDSYS is specified.
Top |
Example 1: Applying a Temporary PTF
APYRMTPTF PTFID((123456 *ONLY V5R2M0)) DESTSRVRQS(*SELECT) NODL(SRVPVDLIB/SRVRQSLIST)
Apply a PTF temporarily on the selected service requesters system.
Example 2: Applying Permanent PTFs
APYRMTPTF PTFID((*ALL PRODUCT1 V5R2M0)) DESTSRVRQS(*NONE) NODL(SRVPVDLIB/SRVRQSLIST) APY(*PERM) RMTAPYTIME((*MGDSYS (10:00:00 10/31/02)) IPL(*YES) RMTIPLTIME((*MGDSYS (01:00:00 11/01/02))
Apply all PTFs permanently for a specified product, and schedule when the apply and IPL should occur for all of the service requesters in the node list object.
This example applies the PTFs on the service requesters starting at 10:00 a.m. on October 31, 2002. If the PTFs applied successfully, the IPL on the remote system starts at 1:00 a.m. on November 1, 2002. The times specified are in the time zone of the remote system.
Example 3: Applying a Delayed PTF
APYRMTPTF PTFID((987654 *ONLY V5R2M0)) DESTSRVRQS(*SELECT) NODL(SRVPVDLIB/SRVRQSLIST) DLYAPY(*YES) RMTAPYTIME((*MGDSYS (8:00:00 *CURRENT))
Apply a delayed PTF temporarily on the selected service requesters system, and schedule when the apply should occur for all of the service requesters in the node list object.
This example applies the PTFs on the service requester systems starting at 8:00 am on the current date. The time specified is in the time zone of the remote system.
Example 4: Doing an IPL after Applying a PTF
APYRMTPTF PTFID((*ALL *ONLY V5R2M0)) DESTSRVRQS(*SELECT) NODL(SRVPVDLIB/SRVRQSLIST) IPL(*YES) RMTIPLTIME((*LCLSYS (*CURRENT 12/24/02)) PWRDWNOPT(*CNTRLD) PWRDWNDLY(1800)
Apply all PTFs temporarily for a specified product, and schedule when the IPL should occur for all of the service requesters in the node list object.
This example applies the PTFs on the service requester systems. If the PTFs are applied successfully, 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 locl system.
Example 5: Applying a PTF with two Corequisite PTFs and one Prerequisite PTF
APYRMTPTF PTFID((SF00001 *ONLY V5R2M0)) DESTSRVRQS(*SELECT) RMTAPYTIME(*LCLSYS (*CURRENT *CURRENT)) IPL(*NO)
Apply PTF SF00001. This PTF has two 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 SF00001, SF00002, SF00003, and SF00004. 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.
This example applies the PTFs on the service requesters system starting at 8:00 am on the current date. The time specified is in the time zone of the remote system.
Top |
Top |