# -*-c-*-
#
# $Id: 50MQCRTMH-v7,v 33.3 2011/01/03 15:04:42 anbrown Exp $
#
# (c) 2009-2011 Morgan Stanley & Co. Incorporated
# See ..../src/LICENSE for terms of distribution.
#

MQHMSG
MQCRTMH(Hconn,CrtMsgHOpts,CompCode,Reason)
        MQHCONN         Hconn
        MQCMHO          CrtMsgHOpts
        MQLONG          CompCode = NO_INIT
        MQLONG          Reason = NO_INIT

    CODE:
        MQCRTMH(Hconn,&CrtMsgHOpts,&RETVAL,&CompCode,&Reason);
    OUTPUT:
        RETVAL
        CompCode
        Reason
