ANALYSE.FILE

ANALYSE.FILE, ANALYZE.FILE

Top  Previous  Next

 

The ANALYSE.FILE command (which may also be entered using the American spelling) reports information regarding the structure and efficiency of a dynamic file. It can also be used to produce a simplified report of a directory file.

 

 

Format

 

ANALYSE.FILE {DICT} file.name {options}

 

where

 

file.nameis the name of the file to be processed. The optional DICT prefix indicates that the dictionary portion of the file is to be used.

 

optionsare chosen from the following.

 

LPTR {n}Directs output to the specified logical print unit. If n is omitted, the default printer is used.

 

NO.PAGESuppresses paging of the output. This option is ignored if LPTR is used.

 

STATISTICSExtends the analysis to report record and group usage statistics.

 

 

Account           : C:\QMSYS

File name         : MESSAGES

Path name         : C:\QMSYS\MESSAGES

 

Type              : Dynamic, version 1

Group size        : 1 (1024 bytes)

Large record size : 819

Minimum modulus   : 1

Current modulus   : 103 (0 empty, 27 overflowed, 1 badly)

Load factors      : 80 (split), 50 (merge), 80 (current)

File size (bytes) : 146432 (106496 + 39936), 89905 used

Total records     : 1706 (1704 normal, 2 large)

 

        Per group: Minimum    Maximum    Average

Group buffers     :       1          3       1.28

Total records     :       9         28      16.56

Used bytes        :      36       1020     824.19

 

 Bytes per record: Minimum    Maximum    Average

All records       :      16       4029      52.70

Normal records    :      16        804      49.82

Large records     :     984       4029    2506.50

 

The above example shows analysis of a dynamic file.

 

Note that all record size and group space usage figures are in bytes, including on an ECS mode system.

 

 

See also:

FILE.STAT