Skip to content

Deleting a Component

In ZMF for Eclipse, the Delete function immediately deletes the target component in a package, the target library member in a PDS personal development library, or the target file in a Unix File System (zFS) personal development library. The deletion is local in scope and is executed outside ZMF change control. For that reason it cannot be reversed. Multiple components may be deleted concurrently.

The contents of baseline libraries are not affected by the Delete operation.

Caution

To perform a versioned and reversible deletion of a baselined object under ZMF change control, use the Scratch Function, not Delete. See Scratch function.

Invoking the Delete Function

The immediate Delete function is invoked from the contextual menus for each of the following object types.

Tip

Instead of using the contextual menu, you may select an item and press the Delete key.

  • Serena package components — In the Serena Explorer view of the Serena perspective, expand the ZMF Applications node and the folder to reach the desired application, then expand the Packages node. Navigate to the desired change package, then expand the desired package and staging library nodes to list its components. Select one or more desired components to delete, then right-click on the selection to bring up its contextual menu. Select the Delete option. See ZMF Operations on Package Components for more information.

  • Serena data set members — In the Serena Explorer view of the Serena perspective, expand the Data Sets node, the appropriate viewing filter, and the desired PDS library to list its members. Select one or more members to delete, then right-click on the selection to bring up its contextual menu. Select the Delete option. See Working with z/OS Data Set Members for more information.

  • Serena USS (zFS) files — In the Serena Explorer view of the Serena perspective, expand the z/OS Unix Files node, the appropriate viewing filter, and the desired folder to list its subfolders and files. Select one or more objects to delete, then right-click on the selection to bring up its contextual menu. Select the Delete option. See Working with z/OS Unix zFS Files for more information.

  • Java perspective objects — In the Package Explorer view of the Java perspective, expand the desired project, folder, and subfolder nodes to locate the desired objects for deletion. Select one or more objects to delete, then right-click on the selection to bring up its contextual menu. Select the Delete option. The local, immediate delete function is a native function of the workbench and is located on the main contextual menu for the object, not in the Team submenu See Component-Level ZMF Functions for more information.

  • z/OS project objects (IDz only) — In the z/OS Projects navigation view of the z/OS Projects perspective, expand the desired project, folder, and subfolder nodes to locate the desired objects for deletion. Select one or more objects to delete, then right-click on the selection to bring up its contextual menu. Select the Delete option. The local, immediate delete function is a native function of the workbench and is located on the main contextual menu for the object, not in the ZMF-IDz submenu.

Back to top