<SNIP> I am trying to debug a TCP/IP server as a template I am using the following flow chart from a document by Tony Thigpen </SNIP>
Correction of error in previous post: Don't clear the ECB= area when the EZASMI macro returns to your program as I stated. Issue a WAIT on this ECB and only clear the 104 byte area when the wait is satisfied. This is true of all asynchronous calls. Sorry about this mistake. Andy -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Micheal Butz Sent: Sunday, April 01, 2012 12:58 PM To: [email protected] Subject: Debugging EZASMI Hi, I am trying to debug a TCP/IP server as a template I am using the following flow chart from a document by Tony Thigpen http://dinomasters.com/coolstuff/2004EZA.pdf My Client is a Windows MFC C++ program I have multiple connections going as per the document The accept macro I have coded to accept the connection Does not have any value for the second parameter to the socket name, the doc says this a input parameter ">>__EZASMI__TYPE=ACCEPT__,S__=__ _number___ __,NAME__=__ _address__ _____> S Input parameter. A value or the address of a halfword binary number specifying the descriptor of the socket from which the connection is accepted" For the first connection Select and subsequent Accept work and I am able to have a subtask do the work read/write On the second connection the Accept hangs TCP/IP does not post the ECB I have been debugging the Assembler started task under TSO TESTAUTH I have also coded a STIMERM exit to POST the TCP/IP ecb however when code reaches the STIMERM exit I get abend 138 which according to the doc is totally off base (having to do with global resource serialization So in summation I have 2 questions . Using the document flow below for action 4 would the accept macro in this case need a value for the socket . Would anyone have a idea would I would be getting a abend code 138 at entry to the STIMERM exit thanks ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

