Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
SUBSECTION 4
accview
Ed.01
A L C T E L
Subsection 4 - accview
SUMMARY
accview
Use................................................................................................................... 4. 3
1. “accview” command .............................................................................. 4. 3
44A01E05005A130AAEN
accview
Use
Edition: 01
1. “accview” command
1.1. Overview
This tool is useful for analysing the contents of tickets in the accounting compressed files.
Several options are offered :
(0)a4400a> accview
accview -[abdefhlmpstvwV]
-p delete|disable|read|save
delete deletes the current profile. disable disables the current profile
for the current execution. read prints the content of the current profile.
save deletes the current profile and saves the current options. Only the first
option letters are needed.
-s prints statistics about an accounting file.
-t prints the contents of the tickets.
-v prints the values of the attributes (default is meanings of the attributes).
-w sets the width of one line (default is 80 characters).
-V prints the version.
(0)a4400a>
(0)a4400a>
Table of compressed files available
The table of compressed files available in the installation gives, for each file:
- filename (always TAXxxxxx.DAT with xxxxx incremented alphabetically for each new file),
- attribute number,
- attribute name,
- attribute value for the ticket printed out (numeric or string for attributes numbers 9, 10, 18, 20,
21, 22, 25, 26, 31, 32, 33 and 34).
Note:
The screens shown in the rest of the document are given only as examples and the number of attributes
may be subject to modification.
The -f option can be followed by the names of a file list if these are known. A file is declared as
unknown if it is not present in the current directory or in the /DHS3dyn/account directory.
If no filename is present, a list of filenames is suggested. It corresponds to the list of compressed files
currently stored on the system disk.
Example:
accview -tf TAXAAAAA.DAT TAXAAAAB.DAT
This command can be combined with "-h’’ ("accview -a 11 2 3 1 -h”) or "-tf filename’’ ("accview -a 11
2 3 1 -tf TAXAAAIM.DAT’’).
(0)a4400a>
In this screen, attribute numbers 11, 2, 3 and 1 are printed in that order for all tickets in the selected
TAXAAAIM.DAT file.
This command can be combined with "-h’’ ("accview -a 11 2 3 1 -h”) or "-tf filename’’ ("accview -a 11
2 3 1 -tf TAXAAAIM.DAT’’).
(0)a4400a>
(0)a4400a>
This command only concerns attributes whose value is a string. It allows all possible strings for an
attribute to be listed (with its value in the list in brackets). These attributes are placed in increasing
order by their number.
The following example only gives a few ticket string value attributes.
(0)a4400a> accview -l
________________________________________________________________________________
CallType PublicNetworkOutgoingCall (0)
PublicNetworkOutgoingCallThroughPrivateNetwork (1)
PrivateNetworkCall (2)
LocalCall (3)
PublicNetworkIncomingCall (4)
PublicNetworkIncomingCallThroughPrivateNetwork (5)
Unspecified (6)
PrivateNetworkOutgoingCallToPublicNetwork (7)
PrivateNetworkOutgoingCallToPrivateNetwork (8)
PublicNetworkIncomingCallToPrivateNetwork (9)
PrivateNetworkIncomingCallToPrivateNetwork (10)
PublicOrPrivateNetworkOutgoingCallThroughPrivateNetwor(11)
PublicOrPrivateNetworkIncomingCallThroughPrivateNetwork(12)
PrivateNetworkIncomingCall (13)
________________________________________________________________________________
SpecificChargeInfo SIOPriorityTrunkGroup (0)
ReversedCharging (1)
PBXGeneratedChargeUnits (2)
AnalogWithoutChargeUnits (3)
Transcom (4)
AccurateDuration (5)
Transgroup (6)
________________________________________________________________________________
ComType Unspecified (0)
Voice (1)
Data (2)
FacilityActivation (3)
FacilityDeactivation (4)
________________________________________________________________________________
Carrier Unspecified (0)
BT (1)
Mercury (2)
(0)a4400a>
- disabling : "accview -p disable’’ : disables the current command profile for the operation in
progress. The commands taken into account are those of the "accview" tool,
- current command profile: "accview -p read’’ : displays the current command profile,
- saving : "accview -p save’’: erases the current command profile and confirms the "accview"
tool options.
(0)a4400a> accview -p re
(0)a4400> accview -p re
(0)a4400a> accview -a 11 2 3 1
The files stored in the system are the following ones:
--------------------------------------------------------------------------------
| | | | |Number |Charge|
|Date |File name |First ticket date|Last ticket date |tickets|units |
--------------------------------------------------------------------------------
|95/05/04 18:08|TAXAABLJ.DAT|95/05/04 16:14:15|95/05/04 16:14:15| 1 | 0|
--------------------------------------------------------------------------------
Please, which file (Return to Quit) : TAXAABLJ.DAT
(00a4400> accview -p re
(0)a4400a>
Note: Only the initial letters can be entered (see previous example).
----------------------[File /DHS3dyn/account/TAXAAAIL.DAT]----------------------
Number of attributes = 35
Number of tickets = 2
File size = 804bytes
Length of one uncompressed ticket = 325bytes
Length of one compressed ticket = 178.36bytes
Compression rate = 1.82
--------------------------------------------------------------------------------
(0)a4400a>
The parameters concern :
(0)a4400a>
(0)a4400a>