z/OS MVS Programming: JES Common Coupling Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example of Managing a Piece of Storage

z/OS MVS Programming: JES Common Coupling Services
SA23-1387-00

Use the fields in the exit parameter list, IXZ$XPL, to manage the storage you obtain for exits IXZXIT01 and IXZXIT02 to use. For example:

  1. Bits XIT03_CONNECT and XIT03_DISCONNECT, in the IXZXIT03-specific section of IXZ$XPL, determine whether this processing is part of attach or detach processing. (In this example, assume that XIT03_CONNECT is set to indicate attach processing.)
  2. Obtain storage for exits IXZXIT01 and IXZXIT02.
  3. Turn on the XIT03_INSTALL bit in the base section of IXZ$XPL to inform JES XCF that exit IXZXIT03 has obtained storage for IXZXIT01 and IXZXIT02.
  4. Set the XIT03_INSTALLATION field in the IXZXIT03-specific section to the address of the storage.

When IXZXIT01 or IXZXIT02 receives control, the address of the data area is in the XPL_INSTALL_DATA field in the base section of IXZ$XPL.

Because IXZXIT03 obtained storage for the installation data area from common storage, the installation data area is addressable by all the JES XCF exits.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014