Solved

Command in AS400 to display the total size of the library

Posted on 2008-06-19
8
4,895 Views
Last Modified: 2012-05-05
Command to find the total size of the library in AS400. I am using the command DSPLIB OUTPUT(*PRINT),but this is going to print almost 600 pages to display the total size of the library.
0
Comment
Question by:kirankumarvoona
  • 4
  • 2
  • 2
8 Comments
 
LVL 16

Expert Comment

by:theo kouwenhoven
Comment Utility
Hi kirankumarvoona,

The total size is mentioned at the end of the printout when you use:

                    DSPLIB LIB(MyLibrary) OUTPUT(*PRINT)

Regards,
Murph
0
 

Author Comment

by:kirankumarvoona
Comment Utility
Is it possible to display the total size of the Library without using Print Command.
0
 
LVL 3

Accepted Solution

by:
WaldenL earned 500 total points
Comment Utility
dspobjd <lib>/*all objtype(*all) output(*outfile) outfile(qtemp/x)
strsql
select sum(odobsz) from qtemp/x

this is from memory, so parms may not be exact, but hit f4 and you'll get there.

Remember though, if you don't have rights to an object you won't see it in the display, so do this as someone w/correct authority.

-Walden
0
 

Author Closing Comment

by:kirankumarvoona
Comment Utility
That was very helpful, thanks a million, Is there any good website you can suggest for getting familiarity with AS400 commands.
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 3

Expert Comment

by:WaldenL
Comment Utility
Infocenter on the ibm site is the definitive reference. But I'd check out midrange.com too. Great mailing lists to ask questions like these.
0
 

Author Comment

by:kirankumarvoona
Comment Utility
Can you please confirm with me whether the size in AS400 is calculated in Kb?
0
 
LVL 16

Expert Comment

by:theo kouwenhoven
Comment Utility
in bytes, if you looked to the spoolfile, it will tell you :p
0
 

Author Comment

by:kirankumarvoona
Comment Utility
Thank you very much for your help.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now