45 pts.
 PTF for AS400
what is the difference between APYPTF and INSPTF command

Software/Hardware used:
ASKED: February 25, 2009  2:24 PM
UPDATED: May 10, 2012  11:17 PM

Answer Wiki:
Hi, The APYPTF (apply PTF) applies PTF's that are already loaded on the system (using the LODPTF command). The INSPTF (install PTF) command loads and applies PTF's in one step. Loading the PTF's and later applying them can save you time - you can load the PTF's while the system is being used through the week and later apply them when the system is not being used (in the evening or on the weekend for example). Otherwise you would need to use INSPTF to load and apply the PTF's when the system is not in use. Regards, Martin Gilbert.
Last Wiki Answer Submitted:  February 25, 2009  2:52 pm  by  Gilly400   23,625 pts.
All Answer Wiki Contributors:  Gilly400   23,625 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

You don’t necessairly have to wait until no one is using the system to INSPTF (APYPTF). Many of them are immediate PTFs and can be put on immediately.

 925 pts.

 

HI

How can I get list of all Libraries that their objected changer during any PTF process?

 50 pts.

 

hi

How can I get list of all libraries that thier objects changed during any PTF proccess?

Thjanks

Alex

 50 pts.

 

HI

How can I get list of all Libraries that their objected changer during any PTF process

 50 pts.

 

How can I get list of all libraries that thier objects changed during any PTF proccess?

Well, I suppose you’d first create a list (a table) of all PTF IDs that were in the “process” that you wanted to check. You might do that by running DSPPTF to an outfile with LICPGM(*ALL) SELECT(*ALL). Then delete all of the entries that didn’t have the status date of your process.

Once you had the PTFs you were interested in, I suppose you could run DSPOBJD *ALL/*ALL OBJTYPE(*ALL) with DETAIL(*SERVICE) to another outfile.

With those two tables, you could join on the PTF ID column and report the matches.

Alternatively, you might call the List Program Temporary Fixes (QpzListPTF) API to build your list of PTFs. Then either use this list or use the list from DSPPTF to call the Retrieve Program Temporary Fix Information (QPZRTVFX) API with format PTFR0400 for each PTF.

It doesn’t make much sense to do it, but I suppose it can be done.

Be aware that a RMVPTF “process” is likely to give misleading results.

Be aware that PTFs may make some changes that won’t be recorded by either way. PTF exit programs can run any function that the user profile is authorized to perform. Attributes such as ownership/authority might be changed on objects for example, or rows might be inserted, deleted or updated in tables (or other data objects). Objects that are deleted won’t be around to check.

Tom

 108,360 pts.