Foreign Command

From VSI OpenVMS Wiki
Revision as of 11:54, 18 July 2019 by Darya.zelenina (talk | contribs) (Created page with "A '''foreign command''' is a symbol that represents the file specification of a non-DCL image and can be used to invoke that image. The dollar sign in front of the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A foreign command is a symbol that represents the file specification of a non-DCL image and can be used to invoke that image. The dollar sign in front of the file specification is required since it implies a RUN command.

$ PRINTALL :==   $[ACCOUNTS]PRINTALL
 

For the image file specification, the default device and directory name is SYS$SYSTEM, the default file type is .EXE, and the default file version number is the highest version, so the foreign command above will run PRINTALL.EXE; located in SYS$SYSDEVICE:[ACCOUNTS].

See also