It's been a while, but I think EMSGLIMIT indicates that you're out of buffers 
of a needed size in the stack.  It could be data buffers or envelopes.  See if 
the stack is issuing any messages and check NETSTAT POOL.

Regards,
Alan

Alan Altmark
IBM Senior z/VM Engineer and Consultant
1 607 321 7556  (Mobile)
[email protected]

> -----Original Message-----
> From: CMSTSO Pipelines Discussion List <[email protected]> On 
> Behalf Of DeWayne
> Thomas
> Sent: Thursday, October 23, 2025 4:40 PM
> To: [email protected]
> Subject: [EXTERNAL] [CMS-PIPELINES] tcpclient error question...
> 
> I have the pipe below and am trying to retrieve from an Apache website on 
> x86.  It works as designed
> on my browser, but when I run this pipe, I get a 40/EMSGSIZE. Does anyone 
> have any ideas about
> this?  I did supply a 'content-length' header in the response.  I must be 
> missing something elementary.
> 
> Thanks,
> DeWayne
> 
> 
> 
> /* */
> endpt = '/cgi-bin/veeslptest?authstr=165b183dae941f48a96d01cc7b18a61b'
> hdr.1 = 'Host:' host || ':' || port
> hdr.2 = 'User-Agent:  curl/7.64.1 '
> hdr.3 = 'Accept: */* '
> hdr.4 = 'Connection: keep-alive '
> hdr.5 = crlf
> hdr.0 = 4
> 
> rxsmsg = ''
> 'pipe (endchar %)' ,
>    '% var endpt ' ,
>    '| spec ,GET, 1 1-* nw ,HTTP/1.1, nw ' ,                        /* Compose 
> the GET for older HTTP
>    '| append stem hdr. ' ,                                         /* ..
> and append the headers
>    '| append strliteral // ' ,                                     /* ..
> and a null record
>    '| xlate *-* e2a ' ,
>    '| i: fanin ' ,
>    '| o: fanout ',
>    '| t: tcpclient' host port ,
>    '  linger 5 timeout 5 ' ,
>    'secure ' ,                                                     /* Use SSL 
>                       */
>    'userid tcpip3 ' ,                                              /* Use lab 
> stack                 */
>    '| deblock linend 0a ' ,
>    '| xlate a2e ' ,
>    '| console' ,
>    '| stem resp. ' ,                                               /* Display 
> the echoed records    */
>    '% ' ,
>    'o: ' ,
>    '| xlate *-* a2e ',
>    '| console ',
>    '% ' ,
>    't: ' ,
>    '| var rxsmsg tracking'
> 
> Request as it goes out:
> GET /cgi-bin/veeslptest?authstr=165b183dae941f48a96d01cc7b18a61b HTTP/1.1
> Host: sl55vmtools.visa.com:443
> User-Agent: curl/7.64.1
> Accept: */*
> Connection: keep-alive
> 
> Error returned:
> RXSocket error=40 EMSGSIZE

Reply via email to