Hp Integrity NonStop J-Series Manuel d'utilisateur Page 110

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 140
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 109
Working with Patterns
Safeguard User’s Guide 422089-020
9 - 14
INFO DISKFILE-PATTERN
4. $DATA3.A*.B*
INFO DISKFILE-PATTERN $DATA1.A*.* would return pattern 1.
INFO DISKFILE-PATTERN $DATA1.A*.*, ALL would return patterns 1 and 2.
INFO DISKFILE-PATTERN $DATA*.A*.* would return patterns 1 and 3 (one
dimensional search).
INFO DISKFILE-PATTERN $DATA*.A*.*, ALL would return patterns 1, 2, 3, & 4 (a
multi-dimensional search).
If you added this pattern, ADD DISKFILE-PATTERN $*.*.*, to the above patterns, a
one-dimensional search that will add the pattern “*.*” to every volume that matches
“$*”.
If you had volumes $DATA1, $DATA2, and $DATA3, the following patterns would
be added:
5. $DATA1.*.*
6. $DATA2.*.*
7. $DATA3.*.*
If you now did INFO DISKFILE-PATTERN $*.*.*, which patterns would be
returned? Patterns 1, 2, 3, 4, 5, 6, and 7 are wrong. The answer is 5, 6, and 7.
That command is a one dimensional search. It is asking for the specific pattern “*.*”
on all volumes that match “$*”.
If you use INFO DISKFILE-PATTERN $*.*.*, ALL, you get all patterns. This is a multi-
dimensional search, that is asking for any patterns that match “*.*” from all volumes
that match “$*”.
“ALL” directs Safeguard to treat all wildcards as search characters. If you omit “ALL”,
the wildcards in the subvolume and filename are the actual characters you are looking
for.
INFO DISKFILE-PATTERN Examples
To display the diskfile pattern $DATA.*TEST.* (that is, display a single diskfile
pattern) using display user as name:
=DISPLAY USER AS NAME
=INFO DISKFILE-PATTERN $DATA.*TEST.*
This output appears:
LAST-MODIFIED OWNER STATUS WARNING-MODE
$DATA.*TEST
* 28SEP04, 5:44 MLH1.MGR THAWED OFF
\KONA.PROD.CARLY R
\KONA.TEST.JIMMY R,W
Vue de la page 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 139 140

Commentaires sur ces manuels

Pas de commentaire