How does the CA FAVER2 parameter OBJECTS work?

Document ID : KB000053743
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

How does the CA FAVER2 parameter OBJECTS work?

Answer:

With the old CA FAVER, you would code:

RESTORE
CLUSTER
CL=+ *AMS
CL(VOL(DEV123))
AIX=+ *AMS
AIX(VOL(DEV123))

With CA FAVER2, you could just 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.