* IMS sl_send_req problem.
@ 1997-05-25 4:00 Gary Pennington
0 siblings, 0 replies; only message in thread
From: Gary Pennington @ 1997-05-25 4:00 UTC (permalink / raw)
I have a problem with sl_send_req.
I have a threaded application which uses IMS and it attachs to an MRQ.
One thread reads a request from the MRQ by issuing (roughly speaking):
while (!done)
{
sl_wait_req
if (status != PAMS_TIMEOUT)
{
sl_get_msg_elt
sl_get_req_elt * 10
create thread to process request
sl_finish_req
}
}
It then changes the sl_wait_req mask just to read from the private queue,
until the
request is processed.
Once the thread has processed the request, it sends back its response
by issuing:
sl_create_req
sl_put_req_elt * 10
sl_send_req
After each call to an IMS routine I test the status and they all return
SL_C_NORMAL.
But, after about 30 transactions the sl_send_req returns SL_C_NOMESSAGE.
#define SL_C_NOMESSAGE 136020010L
From then on most (or all) sl_send_req's fail with the same error code.
Anyone know what the actual cause of the SL_C_NOMESSAGE?
Anyone had similar experiences?
Any solutions?
Cheers, Gary
System details.
OpenVMS Alpha V7.0
DEC C V5.3-006
DECthreads version V3.13-314
DECmessageQ for OpenVMS Alpha V3.2A-22(3222)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-05-25 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-25 4:00 IMS sl_send_req problem Gary Pennington
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox