The initialization file contains NCL commands that are executed when you start NCL; that is, before you receive the NCL prompt. Alternatively, the initialization file is executed prior to executing an NCL script file that is specified as part of a DCL command line. In the following example, the initialization file will be executed before the ROUTING.NCL script: $ ncl @routing.ncl
1 – OpenVMS
NCL uses the default file name SYS$LOGIN:NCL$INIT.COM unless you have defined an alternative file use the NCL$INIT logical. To use NCL$NODEA_INIT.COM as an initialization file, use the following DCL define command: $ define ncl$init ncl$nodea_init.com When NCL starts up, it will check for the file NCL$NODEA_INIT.COM, and if it exists, will execute the ncl commands within it.
2 – Tru64 UNIX
For Tru64 UNIX, if the file .nclrc exists in the user's top level directory, the command within it will be executed automatically when NCL is started.