From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,812607f44eeaeacf,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,812607f44eeaeacf,start X-Google-Attributes: gid1164f8,public From: "Gary Pennington" Subject: IMS sl_send_req problem. Date: 1997/05/25 Message-ID: <01bc6947$32a12f70$bc4f989e@teccosol>#1/1 X-Deja-AN: 243868077 X-NNTP-Posting-Host: teccosol.demon.co.uk [158.152.79.188] Organization: Technical Computer Solutions Ltd Newsgroups: comp.os.vms,comp.sys.dec 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)