z/OS DFSMS Using Data Sets
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Control Blocks in Common (CBIC) Option

z/OS DFSMS Using Data Sets
SC23-6855-00

When you are using improved control interval processing, the CBIC option lets you have multiple address spaces that address the same data and use the same control block structure. The VSAM control blocks associated with a VSAM data set are placed into the common service area (CSA). The control block structure and VSAM I/O operations are essentially the same whether the CBIC option is invoked, except for the location of the control block structure. The user-related control blocks are generated in the protect key (0 - 7). The system-related control blocks are generated in protect key 0. The VSAM control block structure generated when the CBIC option is invoked retains normal interfaces to the address space that opened the VSAM data set (for example, the DEB is chained to the address space's TCB).

The CBIC option is invoked when a VSAM data set is opened. To invoke the CBIC option, you set the CBIC flag (located at offset X'33' (ACBINFL2) in the ACB, bit 2 (ACBCBIC)) to one. When your program opens the ACB with the CBIC option set, your program must be in supervisor state with a protect key from 0 to 7. Otherwise, VSAM will not open the data set.

The following restrictions apply to using the CBIC option:
  • The CBIC option must be used only when the ICI option is also specified.
  • You cannot also specify LSR or GSR.
  • You cannot use the following types of data sets with the CBIC option: catalogs, catalog recovery areas, swap data sets, or system data sets.
  • If an address space has opened a VSAM data set with the CBIC option, your program cannot take a checkpoint for that address space.

    If another address space accesses the data set's control block structure in the CSA through VSAM record management, the following conditions should be observed:

  • An OPEN macro should not be issued against the data set.
  • The ACB of the user who opened the data set with the CBIC option must be used.
  • CLOSE and temporary CLOSE cannot be issued for the data set (only the user who opened the data set with the CBIC option can close the data set).
  • The address space accessing the data set control block structure must have the same storage protect key as the user who opened the data set with the CBIC option.
  • User exit routines should be accessible from all address spaces accessing the data set with the CBIC option.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014