Tool with Input Parameters of Parameter From=Previous_Tool

An example of a tool with an input parameter with a Parameter_From=Previous Tool could be an ISPF tool used to delete a member of a PO data set. In this case, the tool is defined in the context menu of the PO data set. When selecting the delete member action in the PO data set's context menu, an Input dialog box lets you enter the name of the member to be deleted. This name is passed to the following tool as input parameter from the previous tool.

The definition of the delete PO member tool would look like this:


SAMPLE TOOL ISPF Delete PO Member

The second parameter in this instance is of Parameter_From=Previous Tool.

The tool definition to get the member name to be deleted could be as follows:


SAMPLE TOOL AWM UI GetMemberName

In the corresponding action, the tool SAMPLE_TOOL_AWM_UI_GetMemberName has to be modeled to run before the tool SAMPLE_TOOL_ISPF_DeletePOMember:


Example Input Parameters