Microsoft KB Archive/32960

COBOL Version 3.0 Filename Extensions: .COB, .CBL, .OBJ, etc.

PSS ID Number: Q32960 Article last modified on 04-21-1993

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

Summary: The article below describes the COBOL Version 3.0 naming conventions used for MS-DOS filename extensions (the “extension” is the three or fewer characters that follow the period in an MS-DOS filename). For example, README.DOC is a text file that has the extension “DOC”.

More Information: 1. Files with the following extensions are COBOL source-code files, which are input for the compiler: .COB .CBL 2. The following are COBOL Version 3.0 Animator files, which are output from the first pass of the compiler. Both are needed for animation using the Animator (ANIMATE.EXE): .INT .IDY 3. The following extension is also used by the Animator. It contains that portion of a .CBL program that is an overlayable segment (i.e., those programs that contain SECTIONs 50 and above). One file is produced for every segment greater than 49 (“nn” contains section number): .Inn For example, the following will produce files with .I50 and .I51 extensions: PARA-A SECTION 50. . . PARA-B SECTION 51 4. The following extension is the type that is output from the second pass of the compiler, which is used as input to the linker (LINK.EXE): .OBJ 5. The following extension is the type for a response file for input to LINK.EXE, which is the output from the compiler when a program contains overlayable segments (i.e., section numbers greater than 49): .LNK 6. The following file extension is for a program listing file. COPY members are expanded if the COPYLIST compiler directive is specified: .LST 7. The following is the file extension for an ISAM key file: .IDX 8. The following is a typical data-file extension, such as for an ISAM data file: .DAT

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