RPG invocation
C*..1....:....2....:....3....:....4....:....5....:....6....:....7.. C CALLP MQCLOSE(HCONN : HOBJ : OPTS : C CMPCOD : REASON)The prototype definition for the call is:
D*..1....:....2....:....3....:....4....:....5....:....6....:....7.. DMQCLOSE PR EXTPROC('MQCLOSE') D* Connection handle D HCONN 10I 0 VALUE D* Object handle D HOBJ 10I 0 D* Options that control the action of MQCLOSE D OPTS 10I 0 VALUE D* Completion code D CMPCOD 10I 0 D* Reason code qualifying CMPCOD D REASON 10I 0