You use below command to check  what version of MQ is running

# dspmqver