ContentsIndexPreviousNext

9.1.4 Using Name Aliases

The runtime configuration file offers a second method for accessing remote files. You can use the runtime configuration file to define file name aliases. A name alias is a substitute string for the literal name that appears in the ASSIGN TO clause of a SELECT statement.

For example, if you have this SELECT statement in your application:

input-output section.
file-control.
 select idx-file
 assign to disk "IDXDAT"
 binary sequential
 status is idx-status.

you could alias "IDXDAT" in your runtime configuration file by adding:

IDXDAT  @condor:/usr/data/idx.dat

This line aliases "IDXDAT" to be file "idx.dat" on file server "condor" in directory "/usr/data."