You must issue dsmBindMC before dsmSendObj.
The system returns to the calling procedure.
Modify your program.