set ncl logfile filespecification.ncl
This command, coupled with the "enable ncl logging" command,
will start the logging of an NCL session to the file specified.
To determine the name of the log file later on, use the "show
ncl logfile" command.
For example, on OpenVMS:
NCL>set ncl logfile test
NCL>enable ncl logging
NCL>show all
NCL>disable ncl logging
NCL>show ncl logfile
Logfile name is: test
Logfile is Disabled
The results will be in the file TEST.NCL. That file will
contain the logged NCL command(s), and the output will be
commented out. You may then reissue the command(s) you logged
by:
NCL>do test.ncl