Previous Topic: HELPNext Topic: PRINT


INSERT

The INSERT command allows you to insert lines into the work file.

Syntax

►►─── INSert ─────────────────────────────────────────────────────────────────►◄

You use INSERT differently depending on whether you are using the OCF and online compilers or the IDD Menu Facility as follows.

Using INSERT with the OCF and Online Compilers

To insert text into the work file during an OCF or online compiler session, do the following:

  1. Issue the INSERT command, using one of the following methods:
  2. Enter text on as many blank lines as necessary. The new text exists only on the terminal screen and has yet to be placed into the work file.
  3. Continue issuing INSERT commands as each page is filled until all input is entered.
  4. Merge the text with the work file by performing one of the following actions:
Using INSERT with the IDD Menu Facility

Example

In the IDD Menu Facility, special considerations apply to the use of INSERT on pageable screens. The DDDL compiler considers each group of lines that represents a definition to be one line of data, as illustrated on the sample Program Within System (PSYS) screen in the IDD Menu Facility:

IDD REL nn.n *** WITHIN SYSTEMS *** PSYS ─► PAGE 1 LINE 1 1/5 PROGRAM 'PROG100' VERSION 1 _ EXCLUDE WITHIN SYSTEM...: DCSYSTEM VERSION NUMBER..: 43 _ HIGHEST _ LOWEST TEXT........: _ EXCLUDE WITHIN SYSTEM...: DCSYSTEM VERSION NUMBER..: 44 _ HIGHEST _ LOWEST TEXT........: _ EXCLUDE WITHIN SYSTEM...: DCSYSTEM VERSION NUMBER..: 82 _ HIGHEST _ LOWEST TEXT........: _ EXCLUDE WITHIN SYSTEM...: DCSYSTEM VERSION NUMBER..: 99 _ HIGHEST _ LOWEST TEXT........: _ EXCLUDE WITHIN SYSTEM...: ASF VERSION NUMBER..: _ HIGHEST _ LOWEST TEXT........: