To create a new element, do the following:
Select the project or any node in the project in the OS 2200 perspective.
Click File > Create New Element.
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.
Optionally, select one of the following values from the Select symbolic subtype box:
Java
ELT (plain text, default editor)
ASM (Assembler)
MSM (Meta Assembler)
PLS (PLUS code module)
C (C code module)
H (C header file)
COB (COBOL module)
FOR
(Fortran module)
Note:
The Eclipse IDE will try to associate an appropriate editor to
the element based on the element type. If it cannot detect the
element type, then ELT is the default editor.
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.)
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.
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:
Open an OS 2200 project.
Expand the project and its work file to display the elements in the project.
Right-click an element and click Delete.
The Confirm Resource Delete dialog box is displayed with three options in the following order:
Do not delete the element in OS 2200 workfile
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.
Delete the element in the OS 2200 workfile
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.
Delete the element and all its versions in the OS 2200 workfile
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.
Click Yes.