BAROC Disconnect


brcDisconnect

brcDisconnect (user, cell)

Disconnects from the cell given the user name and cell name. The brcConnect call must have been called first to establish a connection.

Parameters:

user - The user id to use for the connection.

cell - The name of the cell as defined in BAROC Connections.

Returns:

Example

status = brcConnect('user', 'BMC1')
if status == false then
error = brcGetLastError()
trace('Error connecting to BMC1: ' & error, RED)
else status = brcSendEvent('BMC1', message, 'CRITICAL', 'ZOS1')
if status == false then
error = brcGetLastError()
trace('Error sending message to BMC1: ' & error, RED)
else
brcDisconnect('user', 'BMC1')
endif
endif

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*