Using CSRCMPEV to Test Compression and Expansion

The following is an example of the message output of CSRCMPEV that is written on your screen when using the msglevel argument of 1. Comments that explain the messages are placed after the corresponding messages. They are indented and highlighted.

CSRCMPEV was invoked by entering csrcmpev 4 1 nhd ch5 script

15 May 1993 17:59:58
CMPEXP dsize=4 sdfmt=1 expnd=NHD scanfile=CH5 SCRIPT A dfn=CH5
clines=100 elines=19 msglevel=1 prperiod=256 lnpr=
   Shows how the input command was parsed.
CMPEXP (C) Copyright IBM Corporation 1993
File CH5 SCRIPT A will be compressed using CH5 CEDICT41 A
Reading in dictionary
Compressing; compression=((concatenated_output_bits/8)/input_characters)*100%.
Value in parentheses is (output_bytes_per_line/input_characters)*100%.
First of last three nmbrs is chars in cur. 256 lines, next is all chars so far,
next is dict entries used so far (initialized with alphabet entries and SDs)
Line 256 37.72% (38.25%) for 256, 37.72% (38.25%) for all; 12757 12757 1874
Line 512 34.71% (35.60%) for 256, 36.46% (37.15%) for all; 9127 21884 2260
   The 36.46% is calculated from the concatenation of the index
   symbols produced during the compression of the first 512 lines.  The
   37.15% is calculated by rounding up to a whole number of bytes the
   concatenation of index symbols produced during the compression of each line.
Line 768 30.43% (31.00%) for 256, 34.29% (34.93%) for all; 12322 34206 2492
Line 1024 34.39% (34.85%) for 256, 34.32% (34.91%) for all; 15913 50119 2851
Line 1280 30.04% (30.66%) for 256, 33.50% (34.09%) for all; 11894 62013 3011
Line 1536 30.04% (30.57%) for 256, 32.90% (33.48%) for all; 13037 75050 3117
Line 1792 30.86% (31.32%) for 256, 32.61% (33.18%) for all; 12229 87279 3264
Line 2048 36.42% (36.88%) for 256, 33.11% (33.66%) for all; 13139 100418 3385
Line 2304 28.83% (29.46%) for 256, 32.70% (33.26%) for all; 10592 111010 3516
Line 2560 27.37% (28.03%) for 256, 32.20% (32.77%) for all; 11625 122635 3569
Line 2816 28.20% (28.70%) for 256, 31.83% (32.39%) for all; 12405 135040 3638
Line 3072 27.57% (28.11%) for 256, 31.44% (32.00%) for all; 13500 148540 3710
Line 3328 31.59% (32.07%) for 256, 31.46% (32.01%) for all; 13471 162011 3768
Line 3584 26.68% (27.27%) for 256, 31.11% (31.66%) for all; 12668 174679 3787
Line 3840 27.79% (28.42%) for 256, 30.91% (31.47%) for all; 10888 185567 3808
Line 4096 31.05% (31.72%) for 256, 30.92% (31.49%) for all; 11086 196653 3820
Line 4352 28.77% (29.23%) for 256, 30.77% (31.33%) for all; 14412 211065 3841
Line 4608 28.64% (29.11%) for 256, 30.63% (31.19%) for all; 14934 225999 3846
Line 4864 30.96% (31.61%) for 256, 30.65% (31.21%) for all; 10386 236385 3858
Line 5120 29.95% (30.53%) for 256, 30.61% (31.17%) for all; 13038 249423 3873
Line 5376 27.93% (28.39%) for 256, 30.46% (31.02%) for all; 14449 263872 3885
Line 5632 28.21% (28.84%) for 256, 30.37% (30.93%) for all; 11255 275127 3898
Line 5888 27.62% (28.17%) for 256, 30.25% (30.81%) for all; 12752 287879 3924
Line 6144 28.81% (29.33%) for 256, 30.19% (30.75%) for all; 11752 299631 3929
Line 6400 27.10% (27.73%) for 256, 30.06% (30.62%) for all; 13303 312934 3936
Line 6656 26.96% (27.48%) for 256, 29.93% (30.48%) for all; 14267 327201 3938
Line 6912 29.33% (29.89%) for 256, 29.90% (30.46%) for all; 13212 340413 3951
Line 7168 30.30% (30.84%) for 256, 29.92% (30.47%) for all; 13100 353513 3961
Line 7424 29.78% (30.33%) for 256, 29.91% (30.47%) for all; 12488 366001 3969
Line 7680 29.36% (29.86%) for 256, 29.89% (30.45%) for all; 12808 378809 3978
Line 7936 31.25% (31.79%) for 256, 29.94% (30.49%) for all; 11739 390548 3980
Line 8192 31.81% (32.15%) for 256, 30.01% (30.56%) for all; 16398 406946 4000
Line 8448 33.90% (34.45%) for 256, 30.12% (30.67%) for all; 12019 418965 4012
Line 8704 35.04% (36.12%) for 256, 30.22% (30.77%) for all; 8411 427376 4020
Line 8801 39.22% (39.94%) for 97, 30.32% (30.88%) for all; 4765 432141 4020
   The following lines are written only when msglevel is 2, but they
   are shown here anyway.
Index symbols of lengths 1-20:
12458 12773 13293 9007 9022 6828 6721 6029 3353 2429 1728 1263 736 557 138 232 
95 136 76 60
   For example, there are 9007 index symbols that represent
   a character symbol of length four characters.
Index symbols of lengths 21-40:
45 40 33 52 18 34 8 15 8 8 9 17 15 8 38 24 0 2 2 10
Index symbols of lengths 41-60:
0 8 0 7 0 41 0 7 0 0 0 1 0 7 0 11 0 0 0 4
Index symbols of lengths 61-80:
0 2 0 4 0 4 0 1 4 1 0 0 0 0 24 0 0 0 0 0
   There are 24 index symbols that represent character symbols of
   length 75 characters despite that the dictionary is only 28 levels
   deep.  This is due to the additional extension characters in the
   entries.  The following lines are written when msglevel is 1.
Input chars=432141; conc. output bits=1048140; bytes in output lines=133427
Bits per index symbol=12
Expanding
Done