|
REORG - MV AOS/VS
| type ICX ANALYZE (filename) press <ENTER> File information will be displayed. Write down the record length and press <ENTER>. The key layout will be displayed next. Write down the second number (relative position in file) and then the first number (key length in bytes) with a . between them. Label this as the primary key or K. Continue collecting the information on the alternate keys as above. When the screen displays Y or N to print, that will indicate that is all of the keys. Now you have the record length and key structure needed to reorg the file. type DEL/C NX XD NX ? type Y XD ? type Y> type RENAME filename.NX NX type RENAME filename.XD XD type REORG/A XD/D filename/I _._/K _._/A _._/A_._/A Note: The values in the blanks are obtained from the ANALYZE procedure. For example, to reorg GNCVLOG you would type: REORG/A XD/D GNCVLOG/I 1.7/K 13.4/A The reorg procedure will display a counter as it reads records and writes them out to the file. After the reorg is finished, you should be able to continue with normal operations. |