ENTITY(type(name) [type(name)] ...)
Inquring for Entity Syntax to query IAP Profile to extract as example
Entity(cpc('IBM390PS.CPCxxx') PROFILES ??? PROFILE.IAP(xxx))'
Looking to extract MBCSTG value
PROFILES
This type currently only acts as a parent for the next three entity types. The parent of this entity type is CPC.
RAP
Specifies a specific Reset Activation Profile. The parent of this entity type is PROFILES.
IAP
Specifies a specific Image Activation Profile. The parent of this entity type is PROFILES.
LAP
Specifies a specific Load Activation Profile. The parent of this entity type is PROFILES.
The PROFILE keyword is not required when targeting profiles. For example, to retrieve the number of ZIIP processors defined to an Image Activation profile you would code it as follows:
/* REXX */
XATRDTYP='NUMRESZIIP'
ADDRESS HWS
"GETATTR ATTR('"XATRDTYP"')",
"ENTITY(CPC('IBM390PS.MFXX') IAP('IPXX'))",
"DEBUG(YES) TIMEOUT(30)"
SAY 'RESPONSE='HWS.XATRDTYP
RETURN