Please enable JavaScript to view this site.

A-Shell Development History

ATE now recognizes the environment variable ATE as an alias for MIAME, i.e. as the base directory where ATE is installed. This is primarily a convenience host command lines (such as ATSYNC and ZTXFER) which may want to reference an ATE subdirectory (e.g. %ATE%\dsk0\001007) with the danger of the command line interpreter on the host side resolving the environment variable relative to the host.

For example, if you wanted to sync the directory DSK0:[1,17] directory on the server to the DSK0:[1,7] directory o the ATE client, you might previously have tried this:

.LOG DSK0:1,17

.ATSYNC ,%MIAME%\dsk0\001007

 

The problem with the above is that the %MIAME% environment variable would be resolved (automatically by the command line processor) relative to the host, perhaps "/vm/miame", rather than relative to the ATE client as you intended. Although there were previous ways around this obstacle (such as using TAB(-10,AG_GETENV) to first retrieve the environment variable definition from the ATE client), the %ATE% environment variable is more convenient, especially for such command lines, e.g.:

.ATSYNC ,%ATE%\dsk0\001007