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 - 1325 days ago
Last viewed on: 22 Sep 2017 (2840 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)

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 7 months 21 days 21 hours 11 minutes ago
Edited: Fri, 31 Jan, 2014 at 09:28:29 (1330 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 7 months 21 days 20 hours 5 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 7 months 21 days 17 hours 27 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 7 months 16 days 17 hours 52 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.