Library creation by defining a maximum size

5 pts.
Tags:
AS/ 400 System - Disk capacity
AS/400 Disk Space
I need to create a library in the AS/400 system by defining the maximum size. This is done to control the system disk capacity / ASP. 

Software/Hardware used:
Hardware
ASKED: May 18, 2010  10:11 AM
UPDATED: May 20, 2010  3:04 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    I'm not aware of anything that controls the aggregate sizes of all of the objects in a library. Sizes are controlled in multiple ways. For example, you might create a profile that is the owner of the objects in a library. You can control the maximum space used by a user profile with the MAXSTG() attribute of the profile. Or you might assign thresholds to your ASPs. The system will send messages when objects use space in that ASP that causes the size threshold to be crossed. But I don't think you can automatically limit a 'library size'. At least, I don't recall ever seeing anything like that. You can, of course, write a program that retrieves the size of all objects in a library. Your program would do whatever you chose when the sum of the sizes was too high. Tom
    125,585 pointsBadges:
    report
  • PSMurray
    Sugandhika, The size of the Library is the size of all the links within that library. Not the size of all the data within the Library. Do the math. When you do a WRKOBJ on the library vs. a WRKOBJ on the objects within the library. ASP are disk related. They are not library related. Unless you stipulate that every time a library is created.
    530 pointsBadges:
    report
  • TomLiotta
    The size of the Library is the size of all the links within that library. Not the size of all the data within the Library. True. However, the system does make the aggregate size available to you. The Retrieve Library Description (QLIRLIBD) API can return attribute key 6, "Library size information", which is described as "Library size information. Information about the size of the library, which includes the size of the objects in the library plus the size of the library object itself." When a value is directly available through an API call, it's plausible to expect that the system might be able to react to it. But I don't think this is one that works. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following