7.2.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:
This line aliases "IDXDAT" to be file "idx.dat" on file server "condor" in directory "/usr/data."
Acucorp, Inc. Voice: 800.262.6585 (U.S.A. and Canada) Voice: 858.689.4500 Fax: 858.689.4550 Please share your comments on this manual or on any Acucorp documentation with the Acucorp Communications Department. |