Create an Element at a Specified List Position
- Last UpdatedMar 20, 2026
- 1 minute read
To create a new element at a specified list position, identify a list position adjacent to the required position and state which side of it the newly-created element is to go. The command syntax is one of the following:
NEW element_type element_name BEFore list_position
NEW element_type element_name AFTer list_position
where element_name is again optional and where list_position may be specified in any of the ways described in Database Navigation and Query Syntax.
Consider the following examples. Starting from the configuration shown, any of these commands creates a new Tee between /ELBO3 (list position 7) and /FLAN2 (list position 8):
|
NEW TEE AFTER /ELBO3 |
Specify name or refno. |
|
NEW TEE BEFORE 8 |
Specify list position number. |
|
NEW TEE BEFORE FLAN 2 |
Specify member type and number (second Flange in the list). |
|
NEW TEE AFTER LAST ELBO |
Specify first or last member of a given type (last Elbow in the list). |
|
NEW TEE AFTER NEXT 3 |
Specify position relative to Current List Position. |
|
NEW TEE BEFORE LAST FLAN |
Specify first or last member of a given type. |
The new Tee, which is unnamed, becomes list member 7, /ELBO3 becomes list member 8, /FLAN2 becomes list member 9, and so on.