z/OS MVS Programming: Sysplex Services Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


RESET_REFBIT: Marking Data Items as Unreferenced

z/OS MVS Programming: Sysplex Services Guide
SA23-1400-00

As part of managing cache structure resources, you can mark specified data items as unreferenced. When you issue RESET_REFBIT, the system returns a count of the entries in the list that it has processed and the number of those processed entries with the reference bit set on. For entries in the list with the reference bit set on, the system resets the reference bit so that the data item appears as unreferenced. (The system does not change the order of the entries on the storage class queue as a result of the RESET_REFBIT request.) For more information on how the referenced/unreferenced state of a data item affects reclaim, see Managing Storage Reclaim for Specific Data Items.

To mark a data item as unreferenced, issue an IXLCACHE REQUEST=RESET_REFBIT request. You can tailor the request to mark any of the following:
  • A specific named data item (NAME) or a selection of data items based on filtering through a namemask (NAMEMASK)
  • Any data item that is indicated as changed or locked for cast out (CRITERIA=CHANGED) based on the name (NAME) or filtering through a namemask (NAMEMASK)

If your protocol relies on external serialization, you need to hold a lock to serialize access to any data items. For serialization recommendations and sample scenarios that show how to establish serialization, see Serializing and Managing Access to Shared Data.

Timing and RESET_REFBIT Requests

When you issue the RESET_REFBIT request, consider the impact of timing issues on serialization. If another user creates a new data item in the cache after you have issued a RESET_REFBIT request, but before the request completes, the request might not mark the new data item as unreferenced. If you want to ensure that when your request completes, all data items matching your criteria have been marked as unreferenced, you must hold serialization throughout the request processing. Serialization needs to remain in effect for both the initial request, and any subsequent request restarts that might be required as a result of a timeout, and the scope of the serialization must prevent any other user from creating a new entry that matches the criteria on the RESET_REFBIT request.

Guide to the Topic

RESET_REFBIT: Marking Data Items as Unreferenced is divided into two topics.

The second topic, Marking a Data Item as Unreferenced: Summary summarizes a procedure for marking a data item as referenced.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014