PCA Command
Directs PCA to a specified list of directories for source files
when source text must be displayed.
Format
SET SOURCE dirname [,dirname...]
1 – Parameters
dirname
Specifies a directory to search. If multiple dirname parameters
are specified, the specified directories are searched for source
files in that order. You may specify a OpenVMS logical name for a
dirname.
Note that dirname may consist of one, several, or all the fields
in a full file specification, though it typically consists only
of a directory name. A full file specification has the following
format:
node::device:[directory]file-name.file-type;version-number
When specifying any of these fields, you must include the
punctuation for that field as shown in this format.
2 – Description
The SET SOURCE command directs PCA to a specified list of
directories for source files when source text must be displayed.
By default, PCA expects a source file to be in the same location
it was in when it was compiled; that is, in the same directory
and in the same exact file. If that file has been moved to
another location, you must use the SET SOURCE command to specify
that location. Note that you must also establish a directory
search list with the SET SOURCE command if you wish to view
source files in a source window when in screen mode.
3 – Qualifiers
3.1 /EDIT
Specifies that the indicated directory search list is to be used
in locating source files for the Analyzer EDIT command.
3.2 /MODULE
/MODULE=modname
Specifies that the indicated directory search list is to be used
in locating source files for the specified module. Other modules
do not use this search list.
4 – Examples
PCAC> SET SOURCE [PROJA], [PROJB], DISK:[PETER.PAN]
This command tells the Collector to locate all source files by
searching directories [PROJA], [PROJB], and DISK:[PETER.PAN],
in that order.
PCAC> SET SOURCE/MODULE=NICK [TSAKERES]
This command tells the Collector to search directory [TSAKERES]
when accessing source files for module NICK.