z/OS Communications Server: SNA Programming
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Task association

z/OS Communications Server: SNA Programming
SC27-3674-00

When an application program issues a VTAM® macroinstruction or when an application program exit routine is invoked by VTAM, that particular part of the program is explicitly or implicitly associated with an operating system task. A session can also be associated with a task; the task associated with a session is either the task associated with the OPNDST or OPNSEC macroinstruction used to establish the session or, for LU 6.2 applications, the task that opened the ACB. Task association is used to isolate errors to a particular task, as described in Isolation of errors. It is also used to determine which user exit queue is used to dispatch certain asynchronous exit routines; user exit queues are discussed in Serialization of execution.

The associated task can be:
  • The ACB task—the task that opened the application program's ACB
  • The issuing task—the task associated with the macroinstruction being issued
  • The session task—the task associated with the OPNDST or OPNSEC macroinstruction that originally established the session for which another macroinstruction is now being issued. A VTAM LU 6.2 application's session task is associated with the task that opens the ACB.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014