STORE and TurboSTORE/iX Products Manual (B5151-90003)
68 Chapter5
Storing Files
Specifying Files in a STORE Command
Using Wildcard Characters
Use wildcard characters to select multiple files to store. The wildcard character is
expanded to include all files that match.
Both MPE and HFS name components use the at sign (@), pound sign (#), and question
mark (?) as wildcard characters. These wildcard characters have the following meaning:
@ Specifies zero or more alphanumeric characters.
# Specifies one numeric character.
? Specifies one alphanumeric character.
The characters can be used as follows:
n
@ All files starting with the character
n
.
@
n
All files ending with the character
n
.
n#######
All files starting with character
n
followed by seven digits (useful for
storing all EDIT/3000 temporary files).
n
@
x
All files starting with the character
n
and ending with the character
x
.
?
n
@ All files whose second character is
n
.
n
? All two-character files starting with the character
n
.
?
n
All two-character files ending with the character
n
.
Also, character sets may be specified in the following syntax:
[ct] Specifies letter c or t.
[c-t] Specifies any letter from range c to t.
[e-g1] Specifies any letter range e to g or digit 1.
Examples of using character sets are:
[A-C]@ All files that begin with the letters A, B, or C.
myset[e-g1] All files that begin with the name myset and end in E, F, or G, or 1.
myset[d-e1-6] All files that begin with the name myset and end in D or E, or 1, 2, 3, 4,
5, or 6.
You specify up to a maximum of sixteen characters for each character set, and you cannot
nest brackets. Do not use character sets with the TRANSPORT option.
A character set specifies a range for only one ASCII character. The range [a-d]@ gets all
files that begin with the letter "a" through the letter "d". The range [ad-de] will cause
unpredictable results.
NOTE
Since the hyphen (-) is a valid character for HFS syntax filenames, it is
allowed inside a character set, immediately following a left bracket ([) or
preceding a right bracket (]). When specified between two characters, the
hyphen implies a range of characters.