Microsoft KB Archive/38881

COBOL 3.0 REBUILD Converts Version 2.x ISAM Files to 3.0

PSS ID Number: Q38881 Article last modified on 04-20-1993

3.00 3.00a | 3.00 3.00a MS-DOS | OS/2

Summary: To port COBOL Version 2.0, 2.1, or 2.2 ISAM files for use with COBOL Version 3.0 programs, it is necessary to use the REBUILD utility program supplied with COBOL Versions 3.0 and 3.0a to convert the file to the ISAM format that COBOL Versions 3.0 and 3.0a use. The REBUILD command-line for fixed-length Version 2.x ISAM files is as follows: REBUILD oldfile.dat,newname.dat /S:MS2 /O:I /I

More Information: The following are the REBUILD arguments used above: oldfile.dat The data file from Versions 2.X to be rebuilt newname.dat The resulting Version 3.0 data file, an .IDX file with the same prefix name will also be generated /S:MS2 Supplies conversion information to REBUILD /O:I Organization is Indexed /I Information switch, (optional) displays information about the file(s) that are rebuilt Complete documentation for REBUILD can be found in the REBUILD.DOC file on the ISAM distribution disk in COBOL Versions 3.0 and 3.0a.

Additional reference words: 3.00 3.00a Copyright Microsoft Corporation 1993.