Alan Campin wrote:
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?

ILE C. And I lifted most of the code out of my own server code that uses a *USRQ in the handoff between server and child-server jobs.

The messages being enqueued are simple C strings, and at the proof-of-concept stage, they're being passed as literals. They are being dequeued into simple C strings. And with the dequeue in the submitting program disabled, the test message arrives just fine at the submitted program.

The _ENQ_Msg_Prefix_T and _DEQ_Msg_Prefix_T are both declared inside the main (making them automatic storage), both consecutively, and both in the order in which they're used.

--
JHHL

This thread ...

Follow-Ups:
Replies:

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].