STORE and TurboSTORE/iX Products Manual (B5151-90003)
72 Chapter5
Storing Files
Specifying Files in a STORE Command
limit to the number of negative filesets that can be specified.
Do not specify any continuation characters, such as ",", ";", "+", or "&", at the end of an
indirect file line. If you need to specify more file sets than can fit on a line, just continue
specifying them on additional lines. Do not start a line with the "," character. CI variables
are not expanded in indirect files, so do not specify filesets using them.
Blank lines are not allowed in indirect files.
An example of a more complicated indirect file is:
@.MYGR.MYACCT
- A@.MYGR.MYACCT
- /MYACCT/MYGR/B@;SHOW
@.MYGR2.MYACCT - A##.MYGR2.MYACCT
;PROGRESS
@.MYGR3.MYACCT, @.MYGR4.MYACCT
Using Filesets With the RENAME Option
If the RENAME option is specified, the fileset syntax is expanded to allow new filenames and
creators to be specified. The RENAME syntax is:
filestostore [ - filestoexclude [- ...] ][=targetname]
The target name field specifies the new name and creator for the file on the store media. It
has the form:
filename [:creator[.creatoraccount]]
The filename can be any legal MPE filename or HFS pathname. The creator and
creatoraccount must be legal creator and account names, respectively. The only wildcard
character allowed is a single at sign (@) for each component of the filename, creator or
creatoraccount. The wildcard character @ indicates that the source value for that
component should be used. An HFS pathname which ends in a / is considered an HFS
directory and no wildcard characters are allowed.
The RENAME option must be specified if the targetname is used. Refer to the RENAME section
in Chapter 6, "STORE and TurboSTORE Command Options," for more details.
Storing Symbolic Links and Device Links
As of Release 5.0 and later, MPE/iX supports symbolic links and device links. When storing
symbolic links, TurboSTORE only follows the link if it is not the last component of an HFS
filename. If the symbolic link is the last component of an HFS filename, the only the link,
or "container" will be stored. When storing device links, only the link is stored.
For example, if you have a symbolic link named /SYS/TESTDIR which points to the
directory /MYACCT/MYDIR, then issuing the following STORE command would store all of the
files in /MYACCT/MYDIR:
STORE /SYS/TESTDIR/@;;SHOW
If you had a symbolic link name /SYS/PUB/MYFILE, which pointed to
/MYACCT/PUB/TARGET, then the following STORE command would only store the symbolic
link MYFILE, not the target file TARGET: