History File
The History File provides the capability to allocate an area of protected data to store system messages until a printout is requested by a technician. The size of the History File is defined on a system basis and can be up to 65,534 characters.
- The entire History File may be printed using TYPE: AHST in LD 22.
- If there isn't a history file, you'll get an SCH 2514 error when you try to print it.
- If necessary, create a history file in LD 17, ADAN, NEW: HST. Enter a size of 64000.
As the History File can be larger than the scroll-back buffer, capture it to a text file which can then be opened in Notepad.
- HyperTerminal:
Goto Transfer → Capture Text → enter a file name, and Start. Now print the History file in LD 22.
Don't forget to turn Capture off again: Transfer → Capture Text → Stop when finished. - Putty:
Adjust the scroll-back buffer size by selecting the Window options category and changing the Lines of scrollback option.
To capture a session, under Session Logging, select All session output and enter a filename (default is putty.log).
Re-select None under Session Logging when finished.
Create a History File:
... in LD 17, CHG, TYPE ADAN, NEW HST:
REQ chg TYPE adan ADAN new hst SIZE 64000 USER mtc bug sch MEM AVAIL: (U/P): 46091 USED: 936948 TOT: 983039 DISK RECS AVAIL: 2541 DCH AVAIL: 63 USED: 1 TOT: 64 AML AVAIL: 15 USED: 1 TOT: 16 ADAN DATA SAVED ADAN **** > OVL000
Print the History File:
... in LD 22, PRT, TYPE AHST (all history). This will display the entire history file:
>ld 22 PT2000 REQ prt TYPE ahst % MEM AVAIL: (U/P): 46091 USED: 936948 TOT: 983039 % DISK RECS AVAIL: 2541 % DCH AVAIL: 63 USED: 1 TOT: 64 % AML AVAIL: 15 USED: 1 TOT: 16 % % ADAN DATA SAVED % % ADAN **** % % > % OVL000 % >LD 22 % PT2000 % % TTY #02 LD 022 15:38 46 10/2/2004 % % REQ PRT % TYPE AHST
View History File (VHST):
Use the following commands in LD 22 to navigate, search, and display portions of the history file:
Prompt | Response | Comment |
---|---|---|
REQ | PRT | |
TYPE | VHST | View the History File |
VHST | (%ON) | Turn ON display features |
%OFF | Turn OFF display features | |
BFIND aaa | Search backward in the History File | |
BFIND | Repeats the previous backward search | |
DOWN BOT | Moves to the top of the file | |
DOWN | Move forward 6 lines in the History File | |
FIND aaaa | File Search Forward in the history file | |
FIND | Repeats the previous forward search | |
HELP | List valid responses | |
HST | View the system history file | |
NEXT BOT | Moves to the end of the file | |
NEXT x | Move forward x lines in the History File, display all lines in between | |
PREV TOP | Moves to the top of the file | |
PREV x | Move backward x lines in the History File, display all lines in between | |
TRF | View the system traffic log file | |
TTYLOG n | View the log file for TTY port n | |
UP TOP | Moves to the top of the file | |
UP | Move backward 6 lines in the history file |
System Even Log:
With the Alarm Management feature (LD 117), system events are logged into a new disk-based System Event List (SEL).
Unlike the System History File, the System Event List survives Sysload, Initialisation and power failures.
- Events from maintenance activities (eg, BUG and ERR messages) are logged into the SEL.
- Events from admin activities (eg, SCH or ESN messages) are not logged into the SEL.
Use the following commands in LD 117:
Command | Description |
---|---|
PRT SEL [nn] [aaaa] | Print most recent record(s) in system event list, where:
|
PRT SELSIZE | Print System Event List size, the default is 500 records |
CHG SELSIZE 5-(500)-2000 | Change size, where: 5-(500)-2000 = number of events in SEL |