From: "Gary Pennington" <GaryPennington@teccosol.demon.co.uk>
Subject: IMS sl_send_req problem.
Date: 1997/05/25 [thread overview]
Message-ID: <01bc6947$32a12f70$bc4f989e@teccosol> (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)
reply other threads:[~1997-05-25 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox