:Xltrim Command [XLTRIM]

This command allows you to reduce the disc space allocated to some MPE/iX files, especially Qedit files, which have space left for expansion (i.e., the ultimate file Limit is greater than the current End of File). :Xltrim gives back any sectors beyond the EOF, but leaves the Limit above the EOF for future expansion. :Xltrim does not work on on MPE V, because MPE V does not have the special Fclose option that is needed.

:XLTRIM fileset

(Defaults: none)

:Xltrim finds all the files in fileset which have their EOF below their Limit and have unused disc space beyond their EOF. On current versions of MPE/iX you need Write-Access security to the file, but on older systems you only need Read Access. :Xltrim opens each file and then closes it with the bit 11 of the disposition set to 1; this returns any unused disc space beyond the EOF, but does not reduce the Limit. Therefore, the next time you use the file, MPE/iX can still expand in size as needed. This command can save thousands of sectors of disc space. If the EOF equals the Limit, nothing is done to file. If the Limit is greater than the EOF, there may or may not be unused space to be recovered by :Xltrim; this depends upon how MPE/iX has allocated disc extents to the file.

Examples

  /xltrim @.source  /xltrim @.@.green  

:Xltrim Command [XLTRIM]