This documentation supports the 9.1 to 9.1 Service Pack 3 version and its patches of BMC Atrium Core. The documentation for version 9.1.04 and its patches is available here.

To view the latest version, select the version from the Product version menu.

CMDBSetServerPort function

CMDBSetServerPort function sets the TCP and RPC port number information for the BMC Atrium CMDB server.


#include "ar.h"
#include "arextern.h"
#include "cmdb.h"

int CMDBSetServerPort(
      ARControlStruct *control,
      int *tcpPort,
      int *rpcPort,
      ARStatusList *status)

Input arguments

Input argument



The control record for the operation, which contains information about the user requesting the operation and the server on which the operation is to be performed.


The TCP port number that your program will use to communicate with the BMC Remedy AR System server. If you do not specify this parameter or provide 0 for the port number, your program will use the port number supplied by the portmapper. This parameter is overridden by the ARTCPPORT environment variable.


The RPC port number for the BMC Atrium Core server. Specify 390697 to use the admin thread. The default RPC port number is 390696.

Return value

Return value



A list of zero or more notes, warnings, or errors generated from a call of this function.

Was this page helpful? Yes No Submitting... Thank you