Use the Save As feature to save the element in your OS 2200 project. You can use this option to perform the following task:
Note: After you create a new OS 2200 element, you can also save the element by pressing Ctrl+S or by clicking File > Save. When you want to save multiple elements at a time, you can click File > Save All.
To save the element to the work space, do the following:
Open the element in the editor.
Click File > Save As... > Save to Work Space.
The Save As dialog box is displayed.
In the Enter or select the parent folder box, browse to the location where you want to save the file.
Type the required name in the File name box.
Click OK.
If the element is not modified on the OS 2200 system, then the element is saved in the local cached folder and then it will be synchronized with the OS 2200 system in the background. If the element cannot be saved on the OS 2200 system (for example, if the network is not available), then the icon on the element will change to red indicating that the local element and the element on the OS 2200 systsem are not synchronized.
If the locally cached element and the element on the host are in conflict state, then a dialog box appears indicating that the elements are in conflict. You have to manually merge before saving it back to the OS 2200 system.
To save the element in your system, do the following:
Open the element in the editor.
Click File > Save As... > Save to Local Disk.
The Save In dialog box is displayed.
In the Save In box, browse the location where you want to save the element.
Click OK.
Note: You can save an element or a data file to a configured server only if one of the following shares for OS 2200 exits:
Share Name
Workfile Share
To save the element to the configured server, do the following:
Open the element in the editor.
Click File > Save As... > Save to Configured Server.
The Save to Configured Server dialog box opens with the prefilled details of the element in the editor. The prefilled details can be modified.
In the Save to Configured Server dialog box
Select the name of an OS 2200 connection from the Connection list.
Note: Optionally click Clear Cache to clear information relating to the selected host from your local system and from the program cache.
Select one of the following Share options, and then provide a share name in the corresponding text box:
Share Name: This option enables you to type the share name in the corresponding text bow. If you do not enter a share name, by default, "os 2200" in considered.
Workfile Share: This option enables you to type the name of the workfile share in the corresponding text box.
From the File group,
Create New Workfile enables you to create a new workfile. The workfile created using this method appears in the text box in this group.
Select one of the Master File Directory (MFD) options—STD# (By default, this option is selected) or SHARED#.
Note:
You can select these options only if you have selected MHFS while configuring
the connection settings of the selected host.
Alternatively, you can type the complete name of the data file or the source
element along with the MFD name in the text box provided under File in
one of the following formats:
Standard OS 2200 format MFD#Qualifier*Filename(Cycle).Element/Version
Non-standard OS 2200 format MFD#Qualifier\Filename(Cycle)\Element.Version
In this case,
the MFD name you type in the text box overrides the one you specify using
the File options for MFD. You can also specify a non-standard OS 2200
file in the Windows format.
Note: The first-level
element list for the specified host, share, and file name is cached in
the workspace. If you try to list an element for which the cached information
exists, the element is directly listed from the cache.
In the text box under File, provide your input, as follows:
If you provide the input as a qualifier, then the list of file appears.
If you provide the input as a fully qualified element name or a data file, then the file saves in the relevant editor.
If you provide the input as a program file, then the list of elements appears.
You can use wildcard characters such as ?, ~, and % to reduce the scope of the available options, as follows:
?’ Represents a single character. For example, if the searched string is A?C, the result can be ABC but not ABDC.
‘~’ Represents any number of characters. For example, if the searched string is A~C, the result can be ABC and ABDC.
‘%’ Represents the presence of a key string anywhere within the name of the entity. For example, if the searched string is AB%, the result can be ABC, CAB, and CBABD.
Click GO.
Notes:
If the file is new, Eclipse IDE for OS 2200 creates the file as private with the default 262143 tracks. To avoid the default tracks, you can alternatively create a new file by clicking Create New Workfile.
If the element name or file already exists, then a message prompts you to overwrite the existing file. If the specified path corresponds to a nonexisting element, then the element is saved.
If the specified path is a folder, then the files within that folder will be shown.
Each valid entry for a file or an element that you provide in the text box is saved in the cache in your system. The most recent 10 valid entries appear as a drop-down list in the text box. You can select one of these entries from the list. To refresh the results of the search with current host information, click Refresh.