How does the FAVER2 parameter OBJECTS work?
Component: FAVER2
With the old FAVER, code:
RESTORE
CLUSTER
CL=+ *AMS
CL(VOL(DEV123))
AIX=+ *AMS
AIX(VOL(DEV123))
With FAVER 2, use the OBJECTS parameter to indicate that the overrides should be applied to both, base clusters and alternate indexes:
LOAD DSN( * OBJECTS(VOL(DEV123)) )
The above LOAD would apply the overrides to the CLUSTER( ) and AIX( ) levels.
Even though AIX levels are automatically carried along with a selected base, overrides are not automatically carried from the base to the related alternate indexes. The selection criteria (*) must match also the alternate index dataset names - only then overrides are applied.
For example, if you code a fully-qualified base name with an OBJECTS(overrides), the overrides would not be carried over to the alternate index. You would have to have other selection criteria/overrides for the alternates. So the OBJECTS parameter is only useful when you can select both the bases and alternate indexes with a generic selector, for example:
LOAD DSN( TEST.* OBJECTS(VOL(TST001)) )
In this case both, the base clusters and alternate indexes, begin with "TEST", so the OBJECTS parameter makes it easy to move both object types to a new volume.