SAP ABAP Function Module GET_CURRENT_HOST_TYPE_DB2 (Get current host type: Primary or standby)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DB-DB2 (Application Component) DB2 for z/OS
     STU2 (Package) CCMS for DB2 for OS/390
Basic Data
Function Module GET_CURRENT_HOST_TYPE_DB2 Get current host type: Primary or standby  
Function Group HIGHAV_DB2   Test function group  
Program Name SAPLHIGHAV_DB2    
INCLUDE Name LHIGHAV_DB2U01    
Parameters
Type Parameter Name Typing Associated Type Default value Optional Pass Value Short text
Exporting HOST_TYPE TYPE DB2HOSTTYP Host type: Primary or standby
Exporting ERROR_MSG TYPE C Error message; filled if COMMUNICATION_FAILURE or SYSTEM_FAILURE is raised
Exception COMMUNICATION_FAILURE TYPE
Exception SYSTEM_FAILURE TYPE
Exception HOST_TYPE_UNKOWN TYPE The current host type (primary or standby) could not be determined
Exception READING_PRIMARY_HOST_FAILED TYPE The primary DB host could not be read from the profile
Exception INTERNAL_ERROR TYPE
               
Processing Type
Normal Function Module  
Remote-Enabled Module BaseXML supported
Update Module Start immediately
Immediate Start, No Restart
Start Delayed
Coll.run
JAVA Module Callable from ABAP  
Remote-Enabled JAVA Module  
Module Callable from JAVA  
History
Last changed by/on SAP  20001009 
SAP Release Created in 620