I just tried the same two changes that you did and it worked. Are you
sure that you pointed to correct directory of "your" program.  Try
changing the two
printf("Sample AMQSGET0 start\n"); statements to something else for a
test.

HTH.

-----Original Message-----
From: MQSeries List [mailto:[EMAIL PROTECTED]] On Behalf Of Wesley
Shaw
Sent: Monday, December 30, 2002 11:44 AM
To: [EMAIL PROTECTED]
Subject: Sample amqsget (adding gmo accept truncated msg)


I copied the sampleC program amqsget and added the following to the
gmo's:

 + MQGMO_ACCEPT_TRUNCATED_MSG

In an attempt to then process all messages, I commented out:

 if (Reason == MQRC_TRUNCATED_MSG_FAILED) {
       /*  CompCode = MQCC_FAILED;*/ }

The program still only gets one message ?  I have tried to follow the
logic but can't see why its not getting all messages.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to