?
Solved

Viewing the overall size of a library on a tape

Posted on 2012-03-29
5
Medium Priority
?
335 Views
Last Modified: 2013-08-01
I have a tape with an ERP environment on it. The env. consists of say 6 libraries. I want to know the size of each library on the tape before I restore, to make sure the env. does not max my as400 disk out.

I currently use a 3rd party command called Display Save Tape (DSPSAVTAP). It shows sizes, but only for each object within the library. I don't have enough time to go through all objects in all 6 libraries and add them up. I need a commnad that shows me the six library sizes OR the overall tape size.

Thanks.
0
Comment
Question by:MichaelKilroy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 16

Accepted Solution

by:
theo kouwenhoven earned 672 total points
ID: 37787406
Hi  MichaelKilroy,

Afaik there is no command that show you the librsize of a saved library,

But you mentioned : "It shows sizes, but only for each object within the library"
So store this info in a table and use SQL to give you the total (or paste it to Excel)
0
 
LVL 27

Assisted Solution

by:tliotta
tliotta earned 664 total points
ID: 37788980
In many cases, there will be many elements stored on tape for a library that will not be restored. For example, when objects are saved, ownership and authority info are also saved. If there were many 'private' authorities, that can take a lot of time and space to put on tape.

OTOH, logical files might be saved as objects, but the access paths might not be saved. I've seen access paths that took more space than the physical files they were built over. There is no rational way to determine what size would result.

Other elements can increase or decrease computed values in significant ways.

Simply put, the restored size of a library can't be determined by examining a tape. It's just a fact of backup/restore.

Tom
0
 
LVL 35

Assisted Solution

by:Gary Patterson
Gary Patterson earned 664 total points
ID: 37874076
Tom, of course, is right.  

Safest thing to do is to either perform the restore to another system that has plenty of space, or have a friendly IBM business partner do it for you and check the lib size after index rebuilds.  Ask you IBM rep or BP for help, and if they can't or won't post back here asking for a BP referral that can help you.

Another alternative is to just restore a few objects at a time, but if you don't have time to dump the object list to a spreadsheet and add up the object sizes, you probably don't have time to do your restore in tiny bits.

- Gary Patterson
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

November 2009 Recently, a question came up in the DB2 forum regarding the date format in DB2 UDB for AS/400.  Apparently in UDB LUW (Linux/Unix/Windows), the date format is a system-wide setting, and is not controlled at the session level.  I'm n…
Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question