Search argument examples—DBD library
Find all of the SHISAM and SHSAM DBDs in the library:
DLACCESS EQ SHISAM OR DLACCESS EQ SHSAMFind all of the databases that have more than four hierarchic levels defined:
LEVEL GT 4Find a model DBD that employs paired pointers:
LOGICAL EQ EXTERNAL AND PTR EQ PAIREDFind the secondary index DBDs based on or pointing to the root segment:
SECINDEX EQ SRC=ROOT AND SECINDEX EQ TGT=ROOTFind the DBDs that have logical child first pointers but no logical child last pointers:
POINTER EQ LCHILD AND POINTER NE LCHILDLFind all of the HDAM VSAM or OSAM databases that do not use the randomizer RANDOM01:
OSACCESS EQ VSAM AND RMNAME NE RANDOM01or
OSACCESS EQ OSAM AND RMNAME NE RANDOM01You do not have to specify the DLACCESS keyword because the RMNAME keyword implies that you want only HDAM databases.
Find all logical databases that have a segment called COMBPART and all data entry databases (DEDBs) that have a segment called PARTUSED:
DLACCESS EQ LOGICAL AND SEGNAME EQ COMBPART OR
DLACCESS EQ DEDB AND SEGNAME EQ PARTUSED