Midrange News for the IBM i Community


Posted by: John Dowling
PTF Save Files
has no ratings.
Published: 31 Jan 2014
Revised: 05 Feb 2014 - 1387 days ago
Last viewed on: 23 Nov 2017 (2972 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

PTF Save Files Published by: John Dowling on 31 Jan 2014 view comments(4)

I have a lot of save files (QMFxxxxx / QSIxxxxx) in QGPL.  they look like save files from PTF's (2010,2011,2012,2013).  I am looking to clean up the system.  My question is that I should be able to delete these save fle, Right.  

Thanks for your input.

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: DaleB
Premium member *
Reading, PA
Comment on: PTF Save Files
Posted: 3 years 9 months 23 days 6 hours 29 minutes ago
Edited: Fri, 31 Jan, 2014 at 09:28:29 (1392 days ago)

You should use the DLTPTF command, if possible. It makes sure the PTF index is updated, and it also takes care of associated cover letters (which are members in file QAPZCOVER).

You can't use DLTPTF PTF(*ALL) LICPGM(*ALL), but the number of licensed programs is relatively small compared to the number of PTFs. Typically I'd do DLTPTF PTF(*ALL) LICPGM(xxxx) for each licensed program. Or, of course, you can name a specific PTF(xxx). I normally let RLS() default to *ALL, but if you have System Manager (SM1) you might need to be more careful with that.

I think there's also a cleanup function in Management Central in the Navigator, but I don't think I've ever done it from there.

Posted by: john-d1
Premium member *
Comment on: PTF Save Files
Posted: 3 years 9 months 23 days 5 hours 23 minutes ago

Thanks Dale.  I picked up 2% on my disk space.

 

Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: PTF Save Files
Posted: 3 years 9 months 23 days 2 hours 46 minutes ago

John, you may want to run the DSPLIBSIZE command to see which libraries have the largest sizes on your system.

You only need the runtime version of COZTOOLS (which is free) to use that command.

Posted by: RalphAMiller
Premium member *
Franklin, TN
Comment on: PTF Save Files
Posted: 3 years 9 months 18 days 3 hours 10 minutes ago

John - do you pwrdwn/up on occasion? If not, consider doing it. I often see 5% or more increase in disk space as a result.