The INSERT statement (under the BASIS mechanism) lists lines of COBOL source to be included in the program submitted to your COBOL system.
General Format
Syntax Rules
- The INSERT reserved word can commence anywhere between columns 1 and 66 of the statement line.
- Subject-sequence must be a positive numeric integer (following the rules for integer numeric literals).
General Rules
- Subject-sequence refers to that statement within the COBOL source file after which the COBOL statement(s) is to be included.
- All the COBOL statements following the INSERT statement in the edit control file up to the next BASIS mechanism DELETE or INSERT statement are included in the source submitted to your COBOL system. At least one COBOL statement must immediately follow the BASIS mechanism INSERT statement.