×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
If you have an *OUTFILE option for a command, it's very useful. But things
like you want are unstructured and do notlend themselves well to an outfile.
There are some RTVxxx commands, and they usually have parameters where you
put a CL variable to get a value. RTVJOBA is an example. But these do not
have that.
Then you get to look at APIs. There is an API for retrieving system status
- Retrieve System Status (QWCRSSTS) API - you can use the API Finder in
recent InfoCenters to find more info. I did not find anything for disk
status. We tend to use the MI commands that are surfaced for use in HLLs.
The MATRMD (Materialize Resource Management Data) is the actual engine that
supports a lot of these commands we use. Lots of options, ugly as sin to
use, very fast.
QWCRSSTS should get the ASP% for you.
HTH
Vern
At 04:13 PM 7/28/2004, you wrote:
What is the preferred method for getting a single item from out from a
command such as WRKSYSSTS or WRKDSKSTS?
For example, if I want to just get the %ASP used from WRKSYSSTS & then send
it out in a mail message in a CL PROGRAM?
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.