Rename Guidelines; Rename Example - HP T6553 D45 Reference Manual

File utility program
Table of Contents

Advertisement

FUP Commands
old-fileset-list
specifies the files to be renamed. You can use wild-card characters and can
specify qualified-fileset for fileset-list.
For example, *SF finds all the files that end with SF. You can use ?SF to find all
files that start with one character and are followed by SF. The files in
old-fileset-list can reside on more than one subvolume.
new-fileset
specifies the new names of the files. You cannot specify qualified-fileset for
fileset, and you must specify the disk file-name portion of new-fileset as an
asterisk (*) to rename more than one file. If you do this, each file is given the disk-
file name of its corresponding input file, and the new subvolume name is taken
from new-fileset. The files in new-fileset must reside on one subvolume.
PARTONLY
specifies that only partitions included in old-fileset-list are to be renamed
(for partitioned files). If you omit PARTONLY, FUP renames all the partitions for
partitioned files if their primary partitions reside in old-fileset-list.
PARTONLY has no effect on files that are not partitioned.

RENAME Guidelines

If you try to rename a file whose AUDIT attribute is set for auditing by TMF, the
rename request fails, and you receive file-system error 80 (invalid operation on
audited file or nonaudited disk volume).
You cannot rename a file that is currently open with exclusive access.
To rename a file, you must have purge access to the file or be the super ID
(255,255). To change a file's contents, you must have write access to the file.
RENAME cannot work with SQL/MP or SQL/MX files that are not object files.
If you do not own all the files in old-fileset-list, use the ALLOW option
(from the CONFIGURE command) with SEVERE ERRORS set to a high number.
This lets the RENAME command finish. The command can rename only files that
you own.

RENAME Example

To change the subvolume name of all files in the current default subvolume (and all
files in the SVOL subvolume) to NEWSVOL, having all files retain their original file
names:
-RENAME (SVOL.*, *), NEWSVOL.*
File Utility Program (FUP) Reference Manual—523323-014
2-156
RENAME Guidelines

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

G08H01H02

Table of Contents