Actions and Tools

You must first create the tool descriptors, then the action descriptors, and associate the tool descriptors to the action descriptors. See Action Descriptor and Tool Descriptor in the Data Model Details chapter, for more information.

The following actions are used in the example AWM model:

Action Descriptor ID Description
MVS_ ACT_CONT_AssociateSyslib Opens a dialog box to associate syslib data sets to a PO member.
MVS_ACT_CONT_CopyMVSResource Copy a MVS resource to the clipboard.
MVS_ ACT_CONT_CreateDatasetFilter Opens a dialog box to prompt for new data set filter attributes and calls a REXX procedure to store the filter information in a sequential file on the mainframe. This action is associated to the context menu of the root entry "MVS Projects".
MVS_ACT_CONT_CreateRootentries Creates the static root entry "MVS Projects" which is provided by an AWM function package tool.
MVS_ACT_CONT_DeleteDatasetFilter Calls a REXX procedure to delete a filter definition in a sequential file on the mainframe.
MVS_ACT_CONT_DeleteMVSResource Opens a dialog to confirm the delete requests and deletes a MVS data set or member of a PO data set.
MVS_ACT_CONT_DuplicateMember Opens a dialog box to ask for a new member name and calls a REXX procedure which copies the member in the PO data set.
MVS_ ACT_CONT_FilterList Creates an element list with the defined filters using a REXX procedure. This action is associated to the static entry "MVS Projects" and called when this entry is expanded in the tree view.  
MVS_ACT_CONT_InsertMember Opens a dialog to ask for a new member name and calls a REXX procedure which creates the member in the PO data set.
MVS_ACT_CONT_PasteMVSResource Paste a MVS resource from the clipboard.
MVS_ACT_CONT_RecallDataset Calls a REXX procedure which recalls a migrated data set and refreshes the data set list.
MVS_ACT_CONT_RefreshDataSet Refreshes properties of a MVS PO or PS data set.

This action is assigned to the PO or PS element type as a Get All Properties action.

MVS_ACT_CONT_RefreshMember Refreshes properties of an PO member.

This action is assigned to the PO member element type as a Get All Properties action.

MVS_ACT_ CONT_RemoteBrowse Opens a PO member in the editor (read-only access).  
MVS_ACT_ CONT_RemoteBrowsesSeq Opens a sequential data set in the editor (read-only access).
MVS_ACT_ CONT_RemoteEdit Opens a PO member in the editor and permits changes.  
MVS_ACT_ CONT_RemoteEdit_SEQ Opens a sequential data set in the editor and permits changes.
MVS_ACT_CONT_RemoteJOBSubmit Submits a JCL member to JES using a MVS function package tool.
MVS_ACT_CONT_RemoteSyntaxCheck Opens a dialog box to ask for additional compile options and calls a REXX procedure which compiles the source (supported for COBOL, PL/I, Assembler and C). Compiler messages are shown in the Error Feedback view, which is provided by an AWM function packages tool.
MVS_ACT_CONT_RenameDataSet Opens a dialog box asking for a new data set name and calls the MVS function package tool to rename a MVS data set.
MVS_ACT_CONT_RenameMember Opens a dialog box asking for a new member name and calls the MVS function package tool to rename a member in a PO data set.
MVS_ACT_CONT_UpdateDatasetFilter Opens a dialog box prompting for new data set filter attributes and calls a REXX procedure to store the filter information in a sequential file on the mainframe.
MVS_ACT_EDITOR_SubmitJCLFromEditor Calls the MVS function package tool to submit the editor content to JES.
MVS_ACT_EDIT_ReparseSourceWithRefresh Is associated as a global action to the PL/I and COBOL editor and refreshes the COBOL copybooks or PL/I includes if selected from the editor's context menu. A Micro Focus Edit Tool supports this action.
MVS_ACT_ELIST_DatasetList Is associated to a defined filter in the tree or filter view and creates a data set list either as entries in the tree view or in the table view. The action is provided by an MVS function package tool.
MVS_ACT_ELIST_FilterMemberList Calls the MVS function package tool to create a filtered member list. The action is used as default action of a member filter type.
MVS_ACT_ELIST_Memberlist Is associated to a PO data set and creates a member list either as entries in the tree view or in the table view. The action is provided by an MVS function package tool.
MVS_ACT_ELIST_SearchMembers Opens a dialog box prompting for text search options and calls a REXX procedure which performs a string search on the members of a PO data set.

The following tool descriptors have to be defined to support the actions defined above.

Tools required from the AWM function package:


MVS Project Sample Application Tools

Tools required from the MVS function package:


MVS Project Sample Application Tools

Tools required from the Micro Focus Editor function package:


MVS Project Sample Application Tools

Tools required from the ISPF function package. The ISPF tools are all of type "Execute ISPF Command". The following figure does not show all modeled tool input and output parameters.


MVS Project Sample Application Tools

The figure below shows how the action descriptors must be modeled. The figure shows the relationship to tools only if more than one tool descriptor is used within one action.


MVS Project Sample Application Actions