A variant of Rob Scott's scheme is to use a classical watchdog timer. Suppose that L is the longest time interval during which it is reasonable to wait for your TCP/IP processing ECB to be posted complete. Define a different WDT ECB that counts down the time interval L . Then every time your TCP/IP processing ECB is posted reset the WDT ECB to begin its countdown again.
If the processing ECB is always posted within L time units. The WDT ECB will never be posted. If on some occasion the TCP/IP processing ECB is not posted within the time interval L, the WDT ECB posting interval will expire, it will be posted, and notice to take corrective action will thus be given to your routine. John Gilmore, Ashland, MA 01721 - USA ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN