TACL Reference Manual
Lexical Elements
HP NonStop TACL Reference Manual—429513-018
2-7
Template Characters
Subvolume Templates
Several TACL commands and built-in functions allow you to supply subvolume
templates in place of actual subvolume names. The TACL command or built-in function
then operates on one or more similarly named files. A subvolume specification includes
these fields:
[[[\node-name.]$volume-name.] subvolume-name.]
A subvolume template follows the format of a file name, but contains one or more of
the template characters listed in Table 2-3, in place of specific characters in the file
name. You can include these template characters in any field of the subvolume
specification except the node-name field, which does not allow the * character. In
addition, template characters cannot match a volume identifier ($) or a field separator
(.) in a file name.
File-Name Templates
Several TACL commands and built-in functions allow you to supply file-name
templates in place of actual file names. The TACL command or built-in function then
operates on one or more similarly named files. A file-name specification includes these
fields:
[[[\node-name.]$volume-name.] subvolume-name.] file-name
A file-name template follows the format of a file name, but contains one or more of the
template characters listed in Table 2-3, in place of specific characters in the file name.
You can include these template characters in any field of the file-name specification
except the node-name field, which does not allow the * character. In addition,
template characters cannot match a volume identifier ($) or a field separator (.) in a file
name.
Table 2-3. Template Characters
DEFINE Templates
Most TACL functions that allow DEFINEs allow you to specify templates for DEFINE
names. These templates use the same characters as file-name templates, with the
added convention that you can use these patterns to refer to all existing DEFINEs:
=* or **
For more information about DEFINEs, see Section 5, Statements and Programs and
the Guardian User’s Guide.
Character Description
? Matches any single character
* Matches any number of characters, including none