|
Close, but remember that just because a library is in ASP 3 does not mean that all of its objects are in ASP 3. Look at QRPLOBJ for a great example. Anyway, adding a loop to look at each object in the libraries, and then accounting for overflow should get you closer, but it's still not perfect. I looked in the new hardware APIs that are in V4R1 and I can't even find anything there. The best bet may be to do a dspdsksts to a printfile and just read the print file. -Walden -----Original Message----- From: Vern Hamberg <hambergv@goldengate.net> To: MIDRANGE-L@midrange.com <MIDRANGE-L@midrange.com> Date: Tuesday, November 25, 1997 12:50 PM Subject: Re: ASP 2-16 % used question >Kirk > >At 12:44 PM 11/24/97 PST, you wrote: >> >>We track DAILY the percent used in all 3 of our ASPs on all 6 cpu's by hand. >>Currently someone goes to the wrksyssts screen and gets system asp % used >>and the perm and temp address used %.(I've found the API for this part). >>Then we do a STRSST and take options 3 then 4 to get to the ASP Threshold >>screen which gives you the % used for the other ASPs. >> >>I want to automate this whole process. Like I said above I've found the API >>to collect the data given by wrksyssts, but I have found(yet) where to get >>the info on the other asp's. I could do a wrkdsksts to a spoolfile and >>calculate it from there but that seems messy. I bet there's a tool, api or >>?? that will get me this data a whole lot easier. >> >>Anyone know what that tool or api is? BTW we're still running 3.1.0 > >I think the following may give you what you want: > >>>>> > >The Retrieve Library Description (QLIRLIBD) API lets you retrieve attributes for a specific library. > > <<<< > >It returns a number of values, which you can select: > >>>>> > >Keys > > The following table lists the valid key identifiers that can be > specified in the attributes to retrieve parameter. See the > “Field Descriptions” for the descriptions of the valid key > fields. > > Key ID Type Field > 1 CHAR(1) Type of library > 2 BINARY(4) ASP > 3 CHAR(10) Create authority > 4 CHAR(10) Create object auditing > 5 CHAR(50) Text description > 6 CHAR(12) Library size information > 7 BINARY(4) Number of objects in library > > <<<< > >Calling this for each item in a list of library objects could get the info you need. > >HTH > > >Vernon Hamberg >Systems Software Programmer >Old Republic National Title Insurance Company >400 Second Avenue South >Minneapolis, MN 55401 >(612) 371-1111 x480 > > >+--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- uucp > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.