APIs that check the system status
You can use these APIs to check the system status.
- Is CPM present?
You can use the GetCPMPresent API to find out if the continuously powered main storage (CPM) is present on the system (use the uppercase and lowercase characters as shown).
- Is CPM enabled?
You can use the GetCPMEnabled API (use the uppercase and lowercase characters as shown) to find out if the system has continuously powered main storage (CPM) enabled.
- Is the key inserted?
To find out if the system has a keystick inserted, you can use the GetKeyInserted API (use the uppercase and lowercase shown).
- Is the system turned on?
To find out whether you have the system powered on, you can use the GetPowerOn API (use the uppercase and lowercase shown).
- Is the attention light lit?
To find out if the attention light is on, you can use the GetAttentionLight API (use the uppercase and lowercase shown).
- Is SPCN present?
You can use the GetSPCNPresent API (use the uppercase and lowercase characters as shown) to find out if the system powered control network (SPCN) is present on the system.
- Getting the IPL mode
To find out the system initial program load (IPL) mode, you can use the GetIPLMode API (use the uppercase and lowercase shown).
- Getting the IPL type
To find out the system IPL type, you can use the GetIPLType API (use the uppercase and lowercase shown).
- Getting the IPL speed
To find out the system initial program load (IPL) speed, you can use the GetIPLSpeed API (use the uppercase and lowercase shown).
- Getting type and model information
To find out the system type and model numbers, you can use the GetType&Model API (use the uppercase and lowercase shown).
- Getting the SPCN system reference code
To return the system powered control network (SPCN) system reference code (SRC), if available, you can use the GetSPCNSRC API (use the uppercase and lowercase characters as shown).
- Getting all system reference codes 1 - 9
To return all the system reference codes (SRCs) 1 through 9, if available, you can use the GetSRCs API (use the uppercase and lowercase characters as shown).
Parent topic:
Using remote control panel APIs