MQSeries interoperates with D3 at the API level. MQSeries implements a set of function calls to perform all of the tasks necessary to work with numerous MQSeries objects. D3 integrates foreign functions and libraries into the monitor. By adding MQSeries % calls, the FlashBASIC programmer can access all of the MQSeries functions and data structures.
Various structures and arrays are passed to and from the MQSeries API calls. These structures must be pre-sized appropriately before the % function is called. Therefore, the programmer interface to the MQSeries functions are called by FlashBASIC subroutines. These subroutines ensure that all of the variables are sized appropriately before calling the % function call allowing segmentation faults within FlashBASIC code to be avoided.