Error Logs 4-7
4.2.1
Translating Event Files
To produce a translated event report using the default event log file,
SYS$ERRORLOG:ERRLOG.SYS, enter the following command:
OpenVMS
$ DIAGNOSE
DIGITAL UNIX
> dia -a
The DIAGNOSE command allows DECevent to use built-in defaults. This command
produces a full report, directed to the terminal screen, from the input event file,
SYS$ERRORLOG:ERRLOG.SYS. The /TRANSLATE qualifier is understood on
the command line.
To select an alternate input file
OpenVMS
$ DIAGNOSE ERRORLOG.OLD
DIGITAL UNIX
> dia -a -f syserr-old.hostname
These commands select an alternate input file (ERRORLOG.OLD or syserr-old) as
the event log to translate. The file name can contain the directory or path, if needed.
Wildcard characters can be used.
To send reports to an output file
OpenVMS
$ DIAGNOSE/OUTPUT=ERRLOG_OLD.TXT
DIGITAL UNIX
> dia -a > syserr-old.txt
These commands direct the output of DECevent to ERRLOG_OLD.TXT or
syserr -old.txt.