Creating or Deleting a New Element in the OS 2200 Project

To create a new element, do the following:

  1. Select the project or any node in the project in the OS 2200 perspective.

  2. Click File > Create New Element.

  3. Type the name of the new element you wish to add to the project in the Element Name box.

    Note: The name should conform to the OS 2200 naming standards, and the name can contain version numbers also.

  4. Optionally, select one of the following values from the Select symbolic subtype box:

  1. Select the character translation (if any) to be used from the Select Character Conversion box.

The element is created in the OS 2200 work file and the link is added to the project tree along with the icon. The arrow in the lower right corner of the icon  indicates a link to an OS 2200 element. (Local files are not displayed in the OS 2200 perspective.)

  1. Click Finish.

The new element is physically created on the OS 2200 system, and then a local copy is created in the cache. A link is created in the project node.

Delete All Versions of an Element

Use this to delete all corresponding relocatable, absolute, or object-module versions for a symbolic element.

To delete all the versions of an element, perform the following steps:

  1. Open an OS 2200 project.

  1. Expand the project and its work file to display the elements in the project.

  1. Right-click an element and click Delete.

  1. The Confirm Resource Delete dialog box is displayed with three options in the following order:

This option enables Eclipse to remove the element from the Project tree but will not delete it from the cache and the OS 2200 system.

This option establishes a connection to the OS 2200 system. Upon successful connection, the element on the OS 2200 system is deleted. If the element is deleted successfully, the corresponding element in the cache is also deleted. If the element is not deleted successfully from the OS 2200 system, no action is performed, and an error message appears displaying the reason for failure to delete.

This option establishes a connection to the OS 2200 system. Upon successful connection, the element and all its versions on the OS 2200 system are deleted. If the element and its versions are deleted successfully, the corresponding element in the cache is also deleted. In case the element and its versions are not deleted successfully from the OS 2200 system, no action is performed, and an error message appears displaying the reason for failure to delete.

  1. Click Yes.