To have your program set the system IPL type to B, use the API SetIPLTypeB (use the uppercase and lowercase shown).
To use this command:
This API returns the following information:
Bytes 0 and 1 | Bytes 2 and 3 | Bytes 4 through 4+N |
---|---|---|
16-bit return code 0 => Command successful 1 => Command unsuccessful 2 => Key not inserted 4 => Not in Manual mode |
16-bit additional data length N = 0 | Not applicable |