Question on cmdType from BCPii event

book

Article ID: 145602

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

I am having trouble finding the correct IBM doc on how to map api.cmdType.  When I did a SENDCMD with TEMPCAP, I received a HWSCMDRESP API event and the value of api.cmdType was 26.  I wanted to convert these to meaningful values but having trouble finding the right IBM doc.  The OPS manual does not give a chart or ref. any IBM doc. that I can see.  I did try the callable services manual but not successful.

Environment

Release : 13.5 and above

Component : OPS/MVS

Resolution

The command types are defined in the HWICIASM member in SYS1.MACLIB. As of February 2020, they are as denoted below. (Please note that this list could change so it is best to consult the HWICIASM member.)


HWIENF68_UNKNOWN_COMMAND            EQU 0     
HWIENF68_ACTIVATE_COMMAND           EQU 1     
HWIENF68_DEACTIVATE_COMMAND         EQU 2     
HWIENF68_SEND_OPSYS_COMMAND         EQU 3     
HWIENF68_RESETNORMAL_COMMAND        EQU 4     
HWIENF68_START_COMMAND              EQU 5     
HWIENF68_STOP_COMMAND               EQU 6     
HWIENF68_PSWRESTART_COMMAND         EQU 7     
HWIENF68_INITIALIZE_API             EQU 8     
HWIENF68_TERMINATE_API              EQU 9     
HWIENF68_LOAD_COMMAND               EQU 10    
HWIENF68_HW_MESSAGE_REFRESH_COMMAND EQU 11  
HWIENF68_RESETCLEAR_COMMAND         EQU 12
HWIENF68_HW_MESSAGE_DELETE_COMMAND  EQU 13
HWIENF68_ACTIVATE_CBU_COMMAND       EQU 14
HWIENF68_UNDO_CBU_COMMAND           EQU 15
HWIENF68_IMPORT_PROFILE_COMMAND     EQU 16
HWIENF68_EXPORT_PROFILE_COMMAND     EQU 17
HWIENF68_RESERVE_COMMAND            EQU 18
HWIENF68_EXTERNAL_INTERRUPT_COMMAND EQU 19
HWIENF68_SCSI_LOAD_COMMAND          EQU 20
HWIENF68_SCSI_DUMP_COMMAND          EQU 21
HWIENF68_SHUTDOWN_RESTART_COMMAND   EQU 22
HWIENF68_ACTIVATE_OOCOD_COMMAND     EQU 23
HWIENF68_UNDO_OOCOD_COMMAND         EQU 24
HWIENF68_ADD_CAPACITY_COMMAND       EQU 25
HWIENF68_REMOVE_CAPACITY_COMMAND    EQU 26