RPG invocation

     C*..1....:....2....:....3....:....4....:....5....:....6....:....7..
     C                     CALLP     MQGET(HCONN : HOBJ : MSGDSC : GMO :
     C                                     BUFLEN : BUFFER : DATLEN :
     C                                     CMPCOD : REASON)

The prototype definition for the call is:

     D*..1....:....2....:....3....:....4....:....5....:....6....:....7..
     DMQGET            PR                  EXTPROC('MQGET')
     D* Connection handle
     D HCONN                         10I 0 VALUE
     D* Object handle
     D HOBJ                          10I 0 VALUE
     D* Message descriptor
     D MSGDSC                       364A
     D* Options that control the action of MQGET
     D GMO                          100A
     D* Length in bytes of the BUFFER area
     D BUFLEN                        10I 0 VALUE
     D* Area to contain the message data
     D BUFFER                          *   VALUE
     D* Length of the message
     D DATLEN                        10I 0
     D* Completion code
     D CMPCOD                        10I 0
     D* Reason code qualifying CMPCOD
     D REASON                        10I 0