icDaemonName | input | character | |
icType | input | character | Type of the component to be returned: possible values are "Master", "Processor" or "Queue". |
case icDaemonName: when {&XMLDAEMON} then assign vcComponentName = (if icType = {&DAEMONMAPTYPE-PROCESSOR} then "bxmldaemonprocessor" else if icType = {&DAEMONMAPTYPE-QUEUE} then "bxmldaemonqueue" else "bxmldaemon"). when {&EVENTDAEMON} then assign vcComponentName = (if icType = {&DAEMONMAPTYPE-PROCESSOR} then "beventdaemonprocessor" else if icType = {&DAEMONMAPTYPE-QUEUE} then "beventdaemonqueue" else "beventdaemon"). when {&REPORTDAEMON} then assign vcComponentName = (if icType = {&DAEMONMAPTYPE-PROCESSOR} then "breportdaemonprocessor" else if icType = {&DAEMONMAPTYPE-QUEUE} then "breportdaemonqueue" else "breportdaemon"). when {&SCANDAEMON} then assign vcComponentName = (if icType = {&DAEMONMAPTYPE-PROCESSOR} then "bscandaemonprocessor" else if icType = {&DAEMONMAPTYPE-QUEUE} then "bscandaemonqueue" else "bscandaemon"). when {&TIMEOUTDAEMON} then assign vcComponentName = (if icType = {&DAEMONMAPTYPE-PROCESSOR} then "btimeoutdaemonprocessor" else if icType = {&DAEMONMAPTYPE-QUEUE} then "btimeoutdaemonqueue" else "btimeoutdaemon"). end case. return vcComponentName.