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


Establishing Connections to Members

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

A connection to a PDSE member provides a temporary version of that member. The connection lets the member remain available to applications that were accessing that member's data before it was deleted or replaced. Connections to PDSE members are established by:
  • JCL using DSNAME=libname(memname). This connection occurs at OPEN.
  • BLDL
  • DESERV FUNC=GET
  • DESERV FUNC=GET_ALL
  • FIND by name
  • Start of change FIND by generation End of change
  • FIND by TTR
  • POINT

All connections established to members while a data set was opened are released when the data set is closed. If the connection was established by FIND by name, the connection is released when another member is connected through FIND or POINT. The system reclaims the space used when all connections for a specific member have been released.

If deleting or replacing a member, the old version of the member is still accessible by those applications connected to it. Any application connecting to the member by name (through BLDL, FIND, or OPEN) following the replace operation accesses the new version. (The replaced version cannot be accessed using a FIND by TTR or POINT unless a connection already exists for it.)

Connections established by OPEN, BLDL, FIND, and POINT are used by BSAM, QSAM, and BPAM for reading and writing member data. Connections established by DESERV are primarily used by program management. When your program or the system closes the DCB, the system drops all connections between the DCB and the data set. If you use BLDL, FIND by TTR, or POINT to connect to members, you can disconnect those members before closing the DCB by issuing STOW DISC. If you use DESERV to connect to members you can disconnect those members before closing the DCB by issuing DESERV FUNC=RELEASE.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014