× 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.




On Thu, 2 Oct 2003, James Lowary wrote:

> Has anyone worked with the API "QYHCHCOP"  -  Perform Hardware
> Configuration Operation?  I've looked in the archives and only found one
> message with no responses.  I'm puzzled at it's Parm Group.  Most API's
> make you tell them first the amount of data to expect, but this one has
> the "request" then the length of the request, and the "receiver" and the
> length of the receiver.

The "request" is an XML-formatted string that explains to the API what
you want to do.  "request length" is the length of that string.

The "receiver" is where the results are returned to you.  The "receiver
length" is the maximum amount of data that it can return into that
variable, and the "bytes of return data" are the amount of data that
was returned by the API.

Does that answer your question?   If not, then I'm not clear on what
you mean by "Most APIs make you tell them the first amount of data to
expect"

> http://www-1.ibm.com/servers/eserver/iseries/lpar/qyhchcop.htm
>
> Which seem to be "Bass AckWards", but it's been awhile since I've done
> much API work so maybe I've just got my head "Up and Locked".

I'm not clear on what you think is backwards...  You send the API a
request, and it sends back a response.

The hard part is that you first have to learn the "LPAR markup language"
and/or the "Disk Management Markup Language."  And then, when you try it
it complains that it can't "connect to service."  Then you read the docs,
and see that it needs access to the as-sts service -- which you quickly
find out isn't even listed in the service table.

But that doesn't appear to be the part you're having trouble with?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.