Native Inspect Manual (H06.07+)
Syntax of Native Inspect Commands
Native Inspect Manual—528122-006
4-52
map-source-name command
source-name
is the fully qualified name of the source file at compilation time. If source-name is
omitted, the fully qualified name of the current source file is used.
alias-name
is either a fully qualified file name or an unqualified file name to which you are
mapping the fully qualified source-name. If alias-name is unqualified, Native
Inspect locates it using the subvolume search path defined by the dir command.
source-prefix
is a prefix (of any length) of the fully qualified name of the source file at compilation
time.
alias-prefix
is a prefix that will be substituted for source-prefix in source file names. For
example, the command
map D:/nsk/T1000=/h/usr/rell
maps
D:/nsk/T1000/src/cpu/mips/x.c
to
/h/usr/rell/src/cpu/mips/x.c
All source name mappings are assigned unique mapping entry numbers. A new
mapping is assigned a higher mapping entry number and takes precedence over
previous mappings.
The map command is useful when a file name has changed in some way, whereas the
dir command is useful when a file’s directory location has changed. When you transfer
files compiled on a PC or workstation to the NonStop system, the file names are often
not identical.
You can use the dir command and the map command in combination:
•
Use the dir command to define the directory (subvolume).
•
Use the map command to change the base file name.
A map-source-name with no parameters lists the existing source name mappings
along with their associated mapping numbers.
Considerations
•
A time-saving use of the map = alias-name form of the map command (source
name omitted) is to specify this command after receiving an error from a list
command. The current source file name is assumed, thus eliminating the need to
copy-and-paste or retype the name displayed in the list command error message.










