User`s guide

GENERATING HISTOR-
ICAL REPORTS
If you have transferred old CMS data from the hard disk onto floppy
diskettes, you may later want a report or a complete set of reports for a
particular date. The procedures that follow explain how to copy the system
tables and data files for the date from the floppy diskette onto the hard disk,
so that you can then generate reports for that date.
Saving the Current System Tables
You have to save the current system tables file in a temporary file so that you
don’t lose it when you copy the historical system table file to the hard disk.
To save the current system tables file, do as follows:
1
If you are in CMS, exit to MS-DOS by pressing
[F8]
(labeled Exit to DOS)
on the CMS Menu.
2
Access the cmsmgmt directory on the hard disk by typing
cd \ cms \ cmsmgmt
and pressing
[Enter].
3
To copy the current system tables file to a temporary file, type
.
copy systbls.cms temp
then press
[Enter].
This copies (and saves) the current system tables file to a file called “temp.”
(You can choose another name for the file if you want.) Remember to copy
the current system tables file back into systbls.cms in the cmsmgmt directory
before you have CMS begin managing calls again.
Copying the Historical System Tables to the Hard Disk
You should still be in the cmsmgmt directory. To copy the system tables files
for the date you want, type the following:
copy a:syymmdd.cms c:systbls.cms
where yymmdd is the date of the system tables file. Press
[Enter].
Copying the Historical Data Files to the Hard Disk
You should still be in the cmsmgmt directory. To copy the historical data files
from the floppy disk to the hard disk, do as follows:
1
2
3
Access the cmsrept directory by typing
cd \ cms \ cmsmpt
then press
[Enter].
Type a series of commands in the form
copy a:dyymmdd.cms c:
where yymmdd is the date of the data you want. Press
[Enter]
after each
command.
When you’re finished copying data to the hard disk, type
cd \ cms
then press
[Enter].
Overview
8-3