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


Sample code using authorized path

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

This sample program, SAMP3, shows an application program using the authorized path facility under the control of both a task control block (TCB) and a service request block (SRB). The logic for this sample application program is similar to the logic for sample program 2 in Logic of a more complicated application program.

SAMP3 uses the authorized forms of the SEND, RECEIVE, and RESETSR macroinstructions to perform communication processing. SAMP3 shows:
  • How to enter supervisor state
  • Which operating system macroinstructions to use.

This sample can be used as a guideline for coding application programs that use the authorized path facility; the sample program is not intended to be coded and used as it is shown. For further details about authorized path, see Authorized path.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014