z/OS MVS Programming: Callable Services for High-Level Languages
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


REXX programming considerations for the HWIQUERY service

z/OS MVS Programming: Callable Services for High-Level Languages
SA23-1377-02

Start of change
All information for the HWIQUERY service applies for REXX requests except:
  • A query parameter stem variable (for example, QueryParm) replaces QueryParm_Ptr.
    • QueryParm.0 replaces NumOfAttributes. QueryParm.0 is required to specify the number of attributes to be queried. The maximum number of attributes allowed is 64.
    • QueryParm.n.ATTRIBUTEIDENTIFIER must contain the n-th attribute identifier to be returned.
    • QueryParm.n.ATTRIBUTEVALUE will contain the n-th attribute value on return.
  • AttributeValue_Ptr is replaced with AttributeValue.
  • AttributeValueLen is not used.
  • AttributeValueLenReturned is not used.
  • For the PSW (HWI_PSWS) attribute:
    • QueryParm.n.ATTRIBUTEVALUE.0 will contain the number of PSWs returned (j).
    • QueryParm.n.ATTRIBUTEVALUE.m.CPUID will contain the m-th CPU identifier.
    • QueryParm.n.ATTRIBUTEVALUE.m.PSW will contain the m-th PSW.
  • For the supported processor power savings mode (HWI_SUPPPPOWERMODE) attribute:
    • QueryParm.n.ATTRIBUTEVALUE.0 will contain the number of supported power savings modes returned (m).
    • QueryParm.n.ATTRIBUTEVALUE.m.PSMODE will contain the m-th supported power savings mode.
  • For the list of IP addresses (HWI_LIST_IP_ADDRESSES) attribute:
    • QueryParm.n.ATTRIBUTEVALUE.0 will contain the number of IP addresses returned (j).
    • QueryParm.n.ATTRIBUTEVALUE.m.IPADDR will contain the m-th IP address.
End of change

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014