Using Copy, Cut, and Paste

The Copy, Cut, and Paste functions are typically used to move EDI information in the map or form. You may need to use these functions if you are using an EDI standard differently, or if you need to create nested looping structures.

You can cut or copy a single component (loop, segment, composite, element, record, or field) and paste it in another location in the map. Copied components retain all the information of the original component. If the copied component contains subordinate components (like a segment contains subordinate elements), the subordinate components are also copied.

You can also cut, copy, and paste a component from one map or form to another.

Use this procedure to cut, copy, and paste a component.

  1. Select the component that you want to cut or copy.
  2. Select Edit > Copy.
    Note: If you are pasting the component in another map or form, open that map or form, if it is not already open.
  3. Select the component that you want the cut or copied selection pasted after.
    Note: For maps, if you cut or copied an EDI component, you can only paste that component into the EDI side of a map. Conversely, if you cut or copied a positional component, you can only paste that component into the positional side of a map.
  4. Click Paste on the Main Toolbar to paste the contents of the Clipboard.

    If the component that you selected is a group, Sterling Gentran:Server® prompts you to specify whether you want the contents of the Clipboard pasted as a child (subordinate) of the group or pasted at the same level as the group. Select the appropriate option and click OK.