ADDRESS HWS - syntax of entity keyword
search cancel

ADDRESS HWS - syntax of entity keyword

book

Article ID: 279152

calendar_today

Updated On: 02-12-2024

Products

OPS/MVS Event Management & Automation

Issue/Introduction

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.

Resolution

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