Example 2

Operation: Insert several lines into a data set.

Known:
  • The data set contains line numbers.
  • The inserted lines are to follow line number 00280.
  • The current line pointer points to line number 00040.
  • You are operating in EDIT mode.
  • The lines to be inserted are:

    J.W. HOUSE 13-244831 24.73

    T.N. HOWARD 24-782095 3.05

    B.H. IRELAND 40-007830 104.56

Before entering the INSERT subcommand, the current line pointer must be moved down 24 lines to the location where the new data is inserted:
down 24
The INSERT subcommand is now entered:
insert
The system responds with:
INPUT

The lines to be inserted are now entered.

The display at your terminal shows the following:
down 24
insert
INPUT
00281 j.w.house 13-244831 24.73
00282 t.n.howard 24-782095 3.05
00283 b.h.ireland 40-007830 104.56

New line numbers are generated in sequence beginning with the number one greater than the one pointed to by the current line pointer. When no line can be inserted, you are notified. No re-sequencing is done by the system.