Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly 370 > TCPIP under CIC...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 275 of 328
Post > Topic >>

TCPIP under CICS

by <.> Apr 15, 2006 at 02:17 PM

This is a little off-topic, but I don't know who else might have the
answer.
I've posted this same query to bit.listserv.cics-l, but it's a pretty slow
group, and I don't have high hopes.

Here goes:

We're getting into the 21st century, here, and I'm tasked with writing a
TCP
child server for CICS.  No one in the company has ever done anything like
this - no place I've ever worked has ever done anything like this.  And
I'm
having a problem.

We are using the enhanced listener under CICSTS13, and have set PEEKDATA
to
YES, so the listener output passed on the START contains no message
information.  Between the client and I, we have established a convention
that the first two bytes of the message contains the length of the
remaining
data.  The client is a non-IBM machine, and is doing the ASCII to EBCDIC
conversion before sending the message.

I successfully retrieve the listener output, and successfully perform
TAKESOCKET.  Then I try to read two bytes from the socket (using the READ
socket request in a loop until the two bytes are received) to get the
message length.  This read takes four minutes to complete.  The read loop
for the rest of the message takes under a second.

The four minutes is not acceptible.  Should I be using RECV with the PEEK
flag set instead of my READ?  Or should I use READV?  I've pretty much
eliminated the READV, because the message length tells me how much storage
I
need to acquire for the rest of the data.

Anyone got any ideas?

Jimbo




 2 Posts in Topic:
TCPIP under CICS
<.>   2006-04-15 14:17:48 
Re: TCPIP under CICS
"M. Ray Mullins"  2006-04-16 09:36:59 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 13:06:23 CDT 2008.