Preparing for RLS access

You need to define SMS storage classes and alter data set attributes to prepare for VSAM RLS access.

Defining SMS storage classes for RLS access

Before you can use VSAM RLS, you require one or more storage classes that specify a non-blank cache set name. Use the ISMF storage class application to specify a cache set name when you define or alter a storage class, together with weighting parameters for tuning, such as CF DIRECT WEIGHT and CF SEQUENTIAL WEIGHT. See the z/OS DFSMSdfp Storage Administration Reference manual for more information about defining SMS storage classes.

Altering data set attributes for RLS access

Before you can use a data set in RLS access mode, you must ensure that it is eligible.

To be eligible for RLS:
  • Data sets must reside in SMS managed storage.
  • Data sets must specify a storage class that has a nonblank cache set name.
  • Data set recoverability attributes must be defined in the ICF catalog and not in the CICS® file control resource definition, where they are ignored for RLS.

    You can specify a data set's attributes using the Access Method Services (AMS) DEFINE CLUSTER or ALTER CLUSTER commands.

    Specifying a LOG parameter of NONE, UNDO, or ALL ensures that the recoverability of the data set is defined. You cannot open files in RLS mode if the LOG parameter of the associated data set is UNDEFINED. If you specify LOG(ALL), you must also specify a forward recovery log stream on the LOGSTREAMID parameter.

    To use backup while open (BWO) for an RLS-accessed sphere, specify the BWO parameter. Specifying BWO(TYPECICS) means that backup while open can be used. All other values for BWO, including undefined, mean that backup while open is not allowed. BWO(TYPECICS) is valid only if LOG(ALL) and LOGSTREAMID are also specified.

  • Data sets must not specify the IMBED attribute.

    If you have some data sets that specify IMBED, you must remove the IMBED option before you can use the data sets in RLS mode. Redefine a new data set without IMBED and use the AMS REPRO function to copy the old data set to the new data set.

Note that RLS supports the REPLICATE cluster attribute. It does not provide any performance benefit. Removing RLS might save storage space.


dfha1dg.html | Timestamp icon Last updated: Sunday, 4 June 2017