Cloning a workspace

Make a copy of a workspace and save it to your private data set.

Before you begin

You must complete some administrative steps before you clone a workspace. For more information about completing these steps, see Preparing for workspace cloning.

Procedure

  1. Go to the workspace to be cloned.
    The workspace name is beneath the command-line entry area of the workspace display. For example, in the following workspace view the workspace name is KOBSTART.
    Figure 1. Identify the workspace name
    Workspace view that shows a workspace KOBSTART name highlighted.
  2. Select View > Workspace Source
    The Partitioned Dataset Member (KOBPDSD) view opens showing a view of the KOBSTART workspace content.
  3. Select File > Save As to clone the workspace that is being viewed.
    For example, to clone the KOBSTART workspace, place the cursor on File on the menu bar and press Enter. Then, from the File menu, select option 4, Save As by typing a or 4 and pressing Enter.
    Fast path: You can fast path to File > Save As by entering f.a in the action line.
    Figure 2. Cloning a workspace by using the File > Save As menu option.
    Screen that shows the File Save As menu option
    When you press Enter, the Member Save As dialog box opens:
    Figure 3. Cloning a workspace - the Member Save As dialog box
    The Member Save As dialog.
  4. Enter the workspace name that you want to use for the cloned workspace.
    If you are cloning a product provided workspace under the assumption that it is to supersede the product provided instance of the same workspace, the Save As name that you enter must be identical to the name of the product provided workspace, for example as shown in Figure 3.
    The saved workspace is written to the user workspace data set. The original product provided workspace is preserved intact in the runtime environment data set.
    When you press Enter, the Save As action is confirmed and you are returned to the Partitioned Dataset Member (KOBPDSD) view.
  5. Optional: Go to the Runtime Environment (Workspaces) workspace to view your saved workspace
    For more information about browsing and locating workspaces, see Browsing, locating and cloning a workspace

What to do next

When the workspace cloning is complete, the next step is to edit and test the workspace, customizing its contents to your requirements. Use a file editor such as the ISPF editor to edit the workspace.