| Introduction | MTB Statements | File System | Compiler | Applications | Reference Guide | Index |
| Language Structure | Data Division | I/O Format Division | Procedure Division | Mnemonics |
The MTB compiler recognizes Comet editor files or text files as source files, so feel free to choose the method you prefer.
The CED program creates a Comet keyed file with a record size of 94 bytes and key size of 7 bytes. The data records contains MTB statements (up to 80 bytes) followed by an exclamation mark and 7 bytes representing the editor line number. The associated key contains the editor line number as well.
Source programs created outside of the Comet environment are created as "text" files. The compiler reads up to 132 characters per source line when compiling a text file.
Note: If you create your MTB source programs as text files, you must register them in the Comet directory file (QDIR) before you compile the program. Refer to the DIRMAINT utility program for additional information.