


After selecting the menu item 'Object' the following pulldown menu appears:

The first group of functions of the menu item 'Object' refers to the object on which the cursor is positioned, thus behaving context-specifically. The other functions 'Back' and 'Leave Workbench' have the same meaning everywhere.
'Object/Show'
displays, in the program list, all modules of the program on which the cursor is positioned (see chapter The Menu Item 'Selection'/Show/Module List'). 'Show' in the module list has the effect that that module is displayed on which the cursor is positioned. The module is displayed within the built-in editor so that all editing functions are available.
(Command: 'PLIST' or 'MLIST')
'Object/Run'
in the program list has the effect that the module START of the current program is started. If this module does not exist, an error message is output. If 'Run' is selected within the module list, the module designated by the cursor bar is started.
(Command: 'RUN')
'Object/Compile'
in the program list has the effect that all modules of the program selected by means of the cursor bar are converted into the internal code. In the module list, according to the other functions, only the module designated by the cursor bar is converted. If there are marked objects in the list, the function is executed just for these objects.
(Command: 'STORE')
'Object/Create new'
has the effect within the program list as well as within the module list that the editor is called enabling the user to edit and store a new module.
(Command: 'EDIT')
'Object/Release Version'
refers to a program and can therefore only be activated within the program list. This function generates a production version from the TEST version of the designated program. If there is already a production version available, this will be saved as historical version. For the specified program there must be at least one module in the TEST version. Modules which have the EDIT or DEBUG state are translated and usage information relating to these modules is entered into the Data Dictionary. Afterwards all test version modules of the program are stored as production version and there is no test version module for this program any more. This function affects marked objects as well.
(Command: 'MKPRODUCT')
'Object/Recall Version'
cancels the release of a version, i.e. the historical version becomes a production version again and the previous production version becomes the test version. The command is rejected, if there are already modules in the test version.
(Command: 'GETHIST')
'Object/Delete'
has the effect that the program (in the program list) or the module (in the module list) designated by the cursor bar is deleted. This function must be confirmed - in order to prevent a handling error. This function affects marked objects as well.
(Command: 'DROP' or 'DELETE')
'Object/Print'
has the effect that a program (all modules of the program) or a module is printed. This function must be confirmed. It affects marked objects as well.
(Command: 'PRINT')
'Object/Export'
A dialog box appears into which the file name of the export file to be generated has to be entered. The function exports either a whole program or a single module. The function affects marked objects as well.
(Command: 'EXPORT')
'Object/Create in DB'
allows the DB procedure or trigger designated by the cursor to be created in the database kernel. This function can only be selected in the module list. A module can be created in the DB kernel, when it was defined with the module type 'DBPROC' or 'TRIGGER' and when there is no module with the same name of another version in the DB kernel.
If the module type is 'TRIGGER', the following screen is output for the specification of the table, the trigger name and trigger type, as well as a restricting condition.

If the help function is used while the cursor is on the field table name or trigger name, the list of all tables or of all triggers is displayed for support.
If the trigger type 'UPDATE' is selected, the list of all columns of the specified table is displayed to mark the columns for which the trigger is to be called when they are updated.
The syntax of the expression that can be entered in the field 'Condition' must correspond to the <search condition> (see the ADABAS Reference manual). The column values NEW.<columnname> and OLD.<columnname> can be used within the <search condition> (see chapter Triggers). The trigger is called if the condition is satisfied.
When the function was successfully executed, the main module (main procedure) to be called is given the state '->DB' in the module list and all subprocedures used the state ' +DB'.
A DB procedure or a trigger which has been created in the DB kernel via this function cannot be modified. To be able to change them, they have to be removed from the DB kernel. This function affects marked objects as well.
(Command: 'PCREATE' or 'TCREATE')
'Object/Remove from DB'
removes the DB procedure or the trigger from the database kernel. The module can be changed afterwards.
Subprocedures are only removed from the DB kernel, if they are not used by another DB procedure or trigger created in the DB kernel. After successful execution the state in the module list is set to 'RUN' again. This function affects marked objects as well.
(Command: 'PDROP' or 'TDROP')
'Object/Create Alias'
defines an alias name for a DB procedure. This name is used to identify the DB procedure from Windows programs that use the ODBC library. If there is already an alias name, a message is displayed instead of the dialog box. The alias name is automatically dropped when the DB procedure is dropped. The menu item 'Selection/Show' can be used to display the alias names for all DB procedures.

'Object/Mark'
serves to mark the object (program or module) on which the cursor is positioned. An object is marked when the frame line in the line of the object is interrupted by an '*'. The functions 'Compile',
'Release Version', 'Delete', 'Print', 'Export', 'Create in DB', and 'Remove from DB' can be applied to marked objects. Marking a line that is already marked removes the mark. This function can also
be executed by means of the
key.
'Object/Refresh'
serves to rebuild the current list. When doing so, all marks are removed. This function can also be executed by means of the
key.
'Object/Back'
leads back from the current list to the list from which one has come. Thus one can trace back the hierarchy of the lists that have been selected one after the other. At the first hierarchy level the function 'Object/Back' is equivalent to 'Leave Workbench' and can therefore not be chosen.
'Object/Leave Workbench'
terminates the workbench after confirmation.
(Command: 'EXIT')


