Update constants
Improve macro
Add mqseries_stat function