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


Configuration services XID exit routine

z/OS Communications Server: SNA Customization
SC27-3666-00

This exit routine provides a way for you to give VTAM® information to create dynamic representations of switched devices without disrupting your switched network. You can also use the exit to specify to VTAM the name of the dynamic switched major node under which the dynamic devices are to be placed. Because the exit allows dynamic definition capability, you do not have to explicitly define a switched device to VTAM before the device attempts to dial in.

The configuration services XID exit routine provides several advantages:
  • Provides a way for you easily maintain large switched networks
  • Reduces network definition
  • Reduces the amount of storage required for switched resource definitions
  • Allows you to group dynamic switched devices under the dynamic switched major node name you specify

You can also use the exit to record connection and disconnection times of switched devices including subarea connection (with VTAM as PU type 5 and NCP as PU type 4).

This exit can also be called for switched devices that are already defined to VTAM. If the exit is called for a known device, you can code the exit to indicate to VTAM that it is to either process or deny requests for contact (REQCONT, or REQACTPU for devices supported by DLUS) from the known switched device.

Before you decide to use a configuration services XID exit routine for dynamic definition, keep in mind that there might be some devices you do not want to define dynamically. For example, if connection time for a particular PU is extremely important, you might want to define the PU in a switched major node. Likewise, you might not want to define dynamically a switched device that makes many connections in a short time.

An important difference between devices defined dynamically and devices defined statically is that when you deactivate a PU defined dynamically, both the device and its subnodes are deleted from VTAM. When a device is deleted from VTAM, you cannot reactivate that device with operator commands. There is one exception—you can deactivate a dependent LU defined dynamically and later activate that same LU with operator commands so long as its PU stays active. You cannot use this exit to define independent LUs dynamically.

VTAM supplies a functional configuration services XID exit routine named ISTEXCCS. The source for this sample exit routine is stored in SYS1.SAMPLIB. The exit runs under a subtask of VTAM. This allows VTAM's main task to continue running while the exit is running. See Sample configuration services XID exit routine for the ISTEXCCS source code.

You can use the sample or write your own configuration services XID exit routine. Whether you use the sample or write your own routine, assemble and link-edit the routine into the appropriate VTAM library.

If the exit routine is link-edited into the VTAM library, VTAM loads and starts the routine during VTAM initialization and calls the exit for begin processing. After initialization, if the exit is coded to support dynamic builds, VTAM calls the exit whenever VTAM receives any of the following:
  • A REQCONT from a switched PU type 1, 2, or 2.1 device
  • A REQCONT from a casually connected PU type 4 or 5 device that is dialing in and is not defined to VTAM
  • A REQACTPU from a switched PU type 2 or 2.1 that is a DLUS-supported resource and is not defined to VTAM

VTAM sequentially queues REQCONTs or REQACTPUs to the exit. When the exit receives a REQCONT or a REQACTPU, the exit has the opportunity to define the resource dynamically.

If the exit is coded such that it is called even though the device is already defined, VTAM calls the exit whenever VTAM receives one of the following:
  • A REQCONT from a switched PU type 1, 2, 2.1 device
  • A REQCONT from a casually connected PU type 4 or 5 device that is dialing in and is recognized by VTAM
  • A REQACTPU from a switched PU type 2 or 2.1 device
  • A REQACTPU from a DLUS-supported resource that is recognized by VTAM

VTAM sequentially queues REQCONTs or REQACTPUs to the exit. When the exit receives a REQCONT or a REQACTPU, the exit has the opportunity to indicate to VTAM that it is to process or deny the REQCONT.

If the exit is coded to support connection status reporting, VTAM calls the exit whenever the connection status of a switched PU changes.

If the configuration services XID exit routine abends while processing, VTAM purges all outstanding REQCONTs or REQACTPUs and deactivates the exit; you can use the MODIFY EXIT,OPT=ACT command to reactivate the exit.

You can use the DISPLAY EXIT command to display information regarding a configuration services XID exit. You also can use a MODIFY EXIT command to activate, deactivate, or replace the configuration services XID exit routine without interrupting VTAM processing. See z/OS Communications Server: SNA Operation for more information about these commands.

If you use the MODIFY EXIT,OPT=REPL command to replace your current exit, the level of support specified in the begin vector of the replacement exit must be the same as the level of support specified in the begin vector of the current exit. If you want a different level of support in the replacement exit, deactivate the current exit (MODIFY EXIT,OPT=INACT) and activate the replacement exit (MODIFY EXIT,OPT=ACT).

If you need to trace information relative to configuration services XID exit routine activity, use the MODIFY TRACE and MODIFY NOTRACE commands. These commands allow you to trace the configuration services XID exit's input and output. You can specify which exit functions to trace on the OPTIONS operand of the MODIFY TRACE and MODIFY NOTRACE commands. To display the trace, use the DISPLAY TRACES command.

Note: Because of the amount of generated data, the tracing of all exit functions might negatively affect performance. For this reason, use extensive tracing selectively.

For information about trace output, see z/OS Communications Server: SNA Diagnosis Vol 1, Techniques and Procedures. For information about the MODIFY TRACE command, the MODIFY NOTRACE command, and the DISPLAY TRACES command, see z/OS Communications Server: SNA Operation.

The following topics contain information that will help you use the sample configuration services XID exit. They also contain information you need to write your own configuration services XID exit routine. You might also want to see Sample configuration services XID exit routine.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014