Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

Programmatically obtaining the LPAR

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Programmatically obtaining the LPAR

    Yes. One approach would be using the Retrieve Partition Information (dlpar_get_info) API. This API can be found in the Information Center under Programming/APIs/APIs by category/Configuration/General Configuration APIs. I've attached a sample CL program showing how to call this API (as this is the CL forum) though I would not recommend using CL as this API returns quite a few 8-byte binary values which CL doesn't directly support. Languages such as RPG or C would be better choices. Bruce Vining
    Code

  • #2
    Programmatically obtaining the LPAR

    Is there a way to programmatically obtain LPAR information?

    Comment


    • #3
      Programmatically obtaining the LPAR

      You could also try MI API Materialize Machine Attributes (MATMATR). Select the "Partitioning information" attribute, and off you go. Kurt Thomas CCSS

      Comment

      Working...
      X