Midrange News for the IBM i Community

Posted by: Bob Cozzi
Rogue Programmer
Cozzi Productions, Inc.
Changing the CACHE Battery on iSeries 170
has no ratings.
Published: 20 Dec 2011
Revised: 23 Jan 2013 - 2551 days ago
Last viewed on: 18 Jan 2020 (5192 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.

Changing the CACHE Battery on iSeries 170 Published by: Bob Cozzi on 20 Dec 2011 view comments(3)

Tonight I'm changing the CACHE battery on an IBM iSeries model 170.

Step 1: Cause an Error on the Cache batter using SST.

Step 2: Backup the entire system.

Good news/bad news:

The people that setup the backup actually think doing a save to save files is backing up.

The bad news is, I now have to do a full save to tape and since everything is also in a save file, I effectively have double the time a normal savlib *NONSYS would take.

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


(Sign in to Post a Comment)
Posted by: BrianR
Premium member *
Green Bay, WI
Comment on: Changing the CACHE Battery on iSeries 170
Posted: 8 years 26 days 23 hours 27 minutes ago
Edited: Thu, 22 Dec, 2011 at 12:59:35 (2949 days ago)

Hi Bob,

There's a parameter on the SAVLIB command that will let you skip saving the contents of save files (SAVFDTA(*NO)).  I'm pretty sure it will work with a SAVLIB *NONSYS.

Sorry I didn't see this until today, but maybe it'll help for next time.

Posted by: DaleB
Premium member *
Reading, PA
Comment on: Changing the CACHE Battery on iSeries 170
Posted: 8 years 26 days 23 hours 11 minutes ago

Hmm... SAVFDTA(*NO) would be OK only if all save files are "backups". If all of the "backups" save files are in the same library, you could OMITLIB() that library. If they're in different libraries, you could omit individual objects, which is feasible but obviously a lot more work.

You might need a combination of techniques. If "backups" save files are all in one library, but with other objects, omit that (entire) library from SAVLIB *NONSYS, then save that library individually with SAVFDTA(*NO), so that the other objects get saved. Just need to document that there's a separate library save after the *NONSYS in case you need the tape for recovery.

Posted by: bobcozzi
Site Admin ****
Comment on: Changing the CACHE Battery on iSeries 170
Posted: 8 years 26 days 23 hours 1 minutes ago

Right, we had to save everything including the contents of the savf's.

Sadly, they don't backup much of their system because the previous IT consultant thought save files were good enough--of course their system burned up in a fire in June so they lost the system, and therefore virtually everything else.