Submissions by: William L. Baker Dollar General Corp. 427 Beech St. Scottsville, Ky. 42164 (502) 237-5444 x 214 Directory [*.DOLGEN.DISKREO] contains a command procedure to reorganize a disk and maintain master indexed files that are created with exact positioning. This is a replacement to the '87 Fall tape with some modifications and new procedures. CONVERT*.COM This procedure is used to do converts on exact placed master files during normal production. The file is copied to another disk, deleted and recreated with a CONVERT/FDL in its orginal position. This is a new procedure. DISK_REO.COM This procedure will create a copy of the input disk. The copy will be divided into three zones to minimize head contention: Zone 1: Places INDEXF.SYS, all directories, [SYSTEM], and user files in the middle logical blocks. The user files are selected and ordered according to a parameter file. Places one half of the free space on each side of zone 1. Zone 2: Places short life files around the zone 1. Program ZONE.BAS determines which files are included in zone 2 and zone 3. Zone 2 will have .LIS files for example. The files are copied in sorted order by file extension and size. Zone 3: Places long life, low access files around the zone 2. Update to this procedure is: - The output disk is checked for write protect before mounting. - SET NOON/ON was added in a couple of places to insure that the abort routine will work correctly. - Account [SYSTEM] will receive a start and end message when DISK_REO.COM is run. DISK_REO_DATA_CHECK.COM A procedure to assist with the maintenance of the zone 1 user file placement parameter files. FILES_RP.COM Creates a brief DUMP/HEADER like map of file retrieval pointers. This is a modification of Michael N. LeVine's FILE.MAR JUICER program. This is a new set of files and performs the same function as HEAD_ANAL2.COM except faster. Since Michael's program does not read the dir- rectory structure, it may process a header that is not valid. However, it is accurate enough to get a picture of where files are relocated after a DISK_REO. HEAD_ANAL2.COM A procedure to list a file(s) retrieval pointer logical block numbers and allocated size. Update to this procedure was to: - SET NOON/ON during the DUMP/HEADER. - HEAD_ANAL.BAS was modified to open the dump header log file without the requirement for the CONVERT. LOGIN.COM A captive command file to run the disk reorganization. The update to this file includes functions to stop and restart the que manager. See DISK_REO_OPER.DOC. MASTER_DISK_REO.COM This is an example of how to reorganize a pure master file disk. It includes placement of the swap and page files around the index and copies the master files with CONVERT/FDL.