Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Exit scheduling versus ECB posting z/OS Communications Server: SNA Programming SC27-3674-00 |
|
An asynchronous exit routine runs at a higher dispatching priority than the mainline part of the application program. Thus, if an application program uses ECB posting for a macroinstruction (OPTCD=SYN), the program can be notified of an event that causes exit routine scheduling before it recognizes that the macroinstruction has been posted complete. This can happen even though the event causing the exit routine to be scheduled occurs after the macroinstruction is posted complete. Here are a few examples of this condition:
Either the application program must be prepared to handle situations like these or else it should be coded to avoid them. One such way to code, in the normal operating system environment, is to use an RPL exit routine instead of an ECB post; then, the RPL exit routine runs before the exit routine that notifies the application program of the second event. Another useful facility is the user correlation field available with SIMLOGON and certain other macroinstructions; this allows the application program to relate certain exit routine events (such as receipt of CINIT or Notify) with the original macroinstruction, even though the macroinstruction completion posting has not yet been recognized. |
Copyright IBM Corporation 1990, 2014
|