File Name: emruwmq.c File Size: 8 kb Release Date: 1/18/2005 4:32:31 PM Author will answer questions and consider enhancment requests on a time available basis. // email: Robert.Hahn@ncr.com with any questions, suggestions, or feedback. // // Contents: // // Parms: // qmgr, qnm, channel, varchar message. // // Comments--To Do: // Add varbyte overload. // Accept identity args and open w/MQOO_ALTERNATE_USER_AUTHORITY // for varchar, set md.Encoding and md.CodedCharSetId so that mq will convert e.g. to ebcdic // Use snprintf, strncpy (had some problem with snprintf). // // Documentation: // MQConnect/MQOpen then MQPUT the varchar argument. // This can be used for single puts or parallel controlled by a where clause. // This should be run in protected mode since it causes mallocs. // Note: Update defaults for qmgr, qnm, envmq etc. // // Requirements: // For MPRAS, this requires that the IBM MQ Client for MPRAS is installed on all nodes: // Obtain from here: http://www-1.ibm.com/support/docview.wss?uid=swg24000067 // Similar for Windows--available as part of any Websphere MQ Server distribution //
|
|
|
|