Xshow indicates logfiles need edited. How do I do that?
Running xshow gives:
Cross Updating Status ===== ======== ====== Work waiting to be processed. Last integration : Jan 30 11:07 Last Communications Attempt: spc 01/02 15:09 SUCCESSFUL Log files needing manual editing: 1 Ref: User Size Created on UUCP.988 root 177111 Dec 02 12:50
It shows there is one file, from Dec 2nd that was not fully processed. That is some work has been integrated into the main records while some has not. What needs done is the file edited to exclude the processed work and the integration re-run.
To do that, start up the vet system and get to an O.S. shell by pressing F6.
For every UUCP.xyz file there is a corresponding v6uucp.xyz file. The UUCP.xzy contains all the work, where the v6uucp.xyz file contains the processed work.
Listing the files gives:
Vet> # l *998 -rw-rw-rw- 1 root other 177111 Dec 02 12:50 UUCP.988 -rw-rw-rw- 1 jackiec group 987136 Dec 02 14:13 v6uucp.988
The 1st thing to do is look at the tail end of the v6uucp.xyz file with the command tail v6uucp.xyz, in this case:
Vet> tail v6uucp.988 12/02/97 - 14:12:34.60 - Process record (31124)|1P02.12.97AMYL HIGH-1547IU(500-1500)| 0.00 0.00 0.00200 32 12/02/97 - 14:12:34.60 - Adding clin (31124)|1P02.12.97AMYL HIGH-1547IU(500-1500)| 0.00 0.00 0.00200 32 12/02/97 - 14:12:34.61 - Header W9= 730744 12/02/97 - 14:12:34.63 - Added clin 731285: 731286 31124 1P02.12.97AMYL HIGH-1547IU(500-1500)
This shows the last transaction processed was a clinical entry for client 31124 and it was on the '02.12.97' with the text 'AMYL HIGH-1547IU(500-1500)'
Check in the clinical history that the work is there.
Make a note of the line. Now you need to edit UUCP.xyz and look for that line.
(Note: It is easier to use vi to edit as the search/edit facilities are better than other editors. The example here uses vi, if you prefer to use another editor, feel free.)
Vet> vi UUCP.988
Search using <ESC> / 'text' e.g. /31124, keep pressing / until you find the line concerned.
Type <ESC> :1,. d this will delete all the earlier work. Save and exit with <ESC> : x
Now you need to take the file and add it to the end of the current UUCP.log file, of work waiting to be processed. Do this with:
Vet> cat UUCP.xyz >> UUCP.log
So in our example this will be:
Vet> cat UUCP.988 >> UUCP.log
Now delete the old files to avoid possible confusion with:
Vet> rm UUCP.xyz v6uucp.xyz
In our example this will be:
Vet> rm UUCP.988 v6uucp.988
Exit from the O.S. shell by pressing <CTRL> d (or type exit) and integrate the work.
Repeat the above for any other files.