Midrange News for the IBM i Community

Posted by: Bob Cozzi
Rogue Programmer
Cozzi Productions, Inc.
has no ratings.
Published: 08 Mar 2013
Revised: 16 Mar 2013 - 2406 days ago
Last viewed on: 16 Oct 2019 (4896 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.

QSRSAVO API User Space Published by: Bob Cozzi on 08 Mar 2013 view comments(2)

Wow, this one was perplexing.

I had a requirement to create a nightly backup that was effectively static, and included LIB(*ALLUSR).  However, as more development libraries are created, they wanted the ability to omit these unnecessary development libraries from the backup.

I've been looking at QSRSAVO for a day or so because on the SAVLIB and SAVOBJ commands there is a new parameter CMDUSRSPC (Command User Space) that may include the omit list. However formatting it is a be daunting.

But after a few hours, I managed to get it working and all is well. The side effect is that I also lost my Virtual Tape cherry which was good.

I'll be including this feature in COZTOOLS free RT library in the next point release. But right now it only sets the omit list (no way to change it, just replace it). Once I create ADDSAVLE/RMVSAVLE  (Add/Remove Save List Entry) in addition to the CRTSAVL that I've already built, I'll feel better about publishing it.

Let me know if this is something people are interested in utilizing.



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