December 07, 2016
New with the 7.3 release is the ability to automatically download PTF groups to your IBM i partition. The PTFs are downloaded in save files and stored on your system, ready to be installed. This enhancement was requested by requirements received through the COMMON Americas and COMMON Europe Advisory Councils.
In order to use this new feature, you need to be able to connect to IBM to download PTFs. I assume all of you have done that already; a SNDSRVRQS *TEST is a simple way to determine if you can connect to IBM.
To enable the automatic download of PTFs, you have to change the service attributes. There are two new parameters on the Change Service Attributes
- Order PTFs Automatically (ORDPTFAUTO): This is a simple *YES / *NO parameter that simple tells the system that you do (or do not) want to order PTFs automatically. The default is *NO, so you must change this parameter to have the system automatically download PTFs for you.
- Order PTF Groups (ORDPTFGRP): This parameter allows you to specify which PTF groups you want to automatically download.
Once you change your service attributes, you will find a scheduled job that will automatically order the PTF groups for you. This job is scheduled to run on the first on the month, but you can modify the job schedule entry to change that. The scheduled job will run and automatically download the PTF groups as specified in the service attributes.
Display Job Schedule Entry Details
Job: QORDPTFGRP Entry number: 000001 Status: SCD
Last attempted submission:
Status . . . . . . . . . . . : Job not previously submitted.
Schedule date . . . . . . . . : *MONTHSTR
Schedule time . . . . . . . . : 00:01:00
Frequency . . . . . . . . . . : *MONTHLY
Recovery action . . . . . . . : *SBMRLS
Next submit date . . . . . . . : 12/01/16
Command . . . . . . . . . . . : QSYS/CALL PGM(QSYS/QESORDPT)
After the scheduled job has run and the PTF groups have been downloaded, you will see the uninstalled groups when you work with your PTF groups. You can then install the groups when you are ready to do so.
Work with PTF Groups
Type options, press Enter. System: DMI2
1=Order 4=Delete 5=Display 6=Print 8=Display special handling PTFs
9=Display related PTF groups 10=Display PTF apply information
Opt PTF Group Level Status
SF99876 1 Installed
SF99876 3 Not installed
SF99875 2 Installed
SF99875 3 Not installed
SF99859 1 Related group
SF99731 7 Not installed
SF99730 16085 Installed
SF99729 3 Installed
SF99729 18 Not installed
SF99728 2 Installed
SF99728 9 Not installed
SF99725 1 Installed
SF99725 3 Not installed
The Power Down System
(PWRDWNSYS) command was also enhanced with a Install PTF device (INSPTFDEV) parameter. This allows PTFs to be installed delayed before powering down the partition. This parameter defaults to *NONE; *SERVICE or a device name (which could be a virtual device with an image catalog loaded with PTF image files) can be specified.
You can also review and install your PTFs with Navigator for i. The nice thing about the Navigator interface is that you don’t have to use F11 to see the description of the various groups.
Posted December 07, 2016 | Permalink