I wrote service program in RPG/ILE to do the put and get into the User
Queues. So much simpler. I did it in C also but what a job.

What is the language you are using?

On Tue, Aug 25, 2009 at 5:35 PM, Simon Coulter <shc@xxxxxxxxxxxxxxxxx>wrote:

On 26/08/2009, at 9:07 AM, James H. H. Lampert wrote:

I suspect that what's happening is that the dequeue in the first
is peeling off the message before the second can get it (and I've got
some ideas on how to deal with that), but what's up with the MCH0602s?

Given that the only APIs to user queues are the Create and Delete
functions you are using MI instructions (or built-ins) to ENQ and DEQ.
MI instruction require the structures passed in to be properly
aligned. Check your parameters.

Also, are you trying to pass a pointer WITHIN the queue message? If so
the entire message must be on a 16-byte boundary.

Simon Coulter.
FlyByNight Software OS/400, i5/OS Technical Specialists

Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
ASCII Ribbon campaign against HTML E-Mail / \

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].