When you use the name of an MQRecord in a close statement, the WebSphere® MQ command MQCLOSE runs for the message queue that is ASSOCIATED with that record.