Skip to content

Latest commit

 

History

History
 
 

zowe-explorer

Zowe Explorer

version downloads codecov slack

Zowe Explorer is a sub-project of Zowe, focusing on modernizing mainframe experience. Zowe is a project hosted by the Open Mainframe Project, a Linux Foundation project.

The Zowe Explorer extension modernizes the way developers and system administrators interact with z/OS mainframes by:

  • Enabling you to create, modify, rename, copy, and upload data sets directly to a z/OS mainframe.
  • Enabling you to create, modify, rename, and upload USS files directly to a z/OS mainframe.
  • Providing a more streamlined way to access data sets, uss files, and jobs.
  • Letting you create, edit, and delete Zowe CLI zosmf compatible profiles.
  • Letting you use the Secure Credential Store plug-in to store your credentials securely in the settings.
  • Letting you leverage the API Mediation Layer token-based authentication to access z/OSMF.

More information:

  • For the complete Zowe Explorer documentation, see Zowe Docs.
  • Join the #zowe-explorer channel on Slack to stay in touch with the Zowe community.

Contents

What's new in Zowe Explorer 1.18

Added:

  • Added the ability to register custom profile types in ProfilesCache for extenders.
  • Added the ability to pass account and other information from tso profile.
  • Added profiles cache to extenders.

Changed:

  • Status icons now reset when refreshing the explorer views.

Fixed:

  • Fixed the issue that prevented the expected error message No valid value for z/OS URL. Operation Cancelled from being displayed while escaping the host text box during the creation or update of a profile.
  • Fixed the issue that invoked profile validation before updating a profile. Now a profile is validated only after the update.
  • Fixed the issue of Zowe profiles encoding value when opening a USS file in the text editor.
  • Patch 1.18.1:
    • Added a reminder to the PR template to create a PR from master to next after PR is merged into master branch.
    • Added @zowe/cli dependency to API.
    • Improved integration tests for greater efficiency.
    • Fix for the issue that caused mismatching of GitHub VSIX Zowe Explorer releases.

For more information, see Changelog.

Prerequisites

  • Install Node.js v8.0 or later.
  • Configure TSO/E address space services, z/OS data set, file REST interface and z/OS jobs REST interface. For more information, see z/OS Requirements.
  • Create a Zowe Explorer profile.

Getting Started

Create a profile, review the sample use cases to familiarize yourself with the capabilities of Zowe Explorer, and you are ready to use Zowe Explorer.

Create Profile

  1. Navigate to the explorer tree.
  2. Hover over DATA SETS, USS, or JOBS.
  3. Click the + icon.
  4. Select Create a New Connection to z/OS. The user name and password fields are optional before you started to use a profile.
  5. Follow the instructions, and enter all required information to complete the profile creation.

New Connection

You can now use all the functionalities of the extension.

Profile Validation

Zowe Explorer includes the profile validation feature that helps to ensure that the specified connection to z/OS is successfully established and your profile is ready for use. If a profile is valid, the profile is active and can be used. By default, the feature is automatically enabled. You can disable the feature by right-clicking on your profile and selecting the Disable Validation for Profile option. Alternatively, you can enable or disable the feature for all profiles in the VS Code settings.

Follow these steps:

  1. Navigate to the VS Code settings.
  2. Open Zowe Explorer Settings.
  3. Enable or disable the automatic validation of profiles option.
  4. Restart VS Code.

Use Base Profile and Token with Existing Profiles

Leverage existing base profiles with a token to access z/OSMF via the API Mediation Layer.

Before using the base profile functionality, ensure that you have Zowe CLI v1.13.0 or higher installed.

Follow these steps:

  1. Open Zowe CLI and run the following command: zowe auth login apiml

  2. Follow the instructions to complete the login.
    A local base profile is created that contains your token.
    Note: For more information about the process, see Token Management.

  3. Run Zowe Explorer and click the + icon.

  4. Select the profile you use with your base profile with the token.

    The profile appears in the tree and you can now use this profile to access z/OSMF via the API Mediation Layer.

For more information, see Integrating with API Mediation Layer.

Log in to the Authentication Service

Use the Log in to the Authentication Service feature to regenerate a new token for your base profile.

Follow these steps:

  1. Open Zowe Explorer.

  2. Right-click your profile.

  3. Select the Log in to Authentication Service option.

    You are prompted to enter your username and password.

The token is stored in the default base profile .yaml file.

If you do not want to store your token, you can request the server to end your session token. Use the Log out from Authentication Service feature to invalidate the token.

Follow these steps:

  1. Open Zowe Explorer.
  2. Right-click your profile.
  3. Select the Log out from Authentication Service option.

Your token has been successfully invalidated.

Sample Use Cases

Review the following use cases to understand how to work with data sets in Zowe Explorer. For the complete list of features including USS and jobs, see Zowe Explorer Sample Use Cases.

View data sets and use multiple filters

  1. Navigate to the explorer tree.
  2. Open the DATA SETS bar.
  3. Hover over the profile that you want to apply the filter to.
  4. Click the magnifying glass icon.
  5. Enter a pattern you want to create a filter for. The data sets that match your pattern(s) are displayed in the explorer tree.

Tip: To provide multiple filters, separate entries with a comma. You can append or postpend any filter with an *, which indicates wildcard searching. You cannot enter an * as the entire pattern.

View Data Set

View data sets with member filters

  1. Navigate to the explorer tree.
  2. Open the DATA SETS bar.
  3. Click the magnifying glass icon.
  4. Enter a search patterm in the HLQ.ZZZ.SSS(MEMBERNAME) format to filter out and display the specified member in the tree.

View Data Set With Member Pattern

Note: You cannot favorite a data set or member that includes a member filter search pattern.

Refresh the list of data sets

  1. Navigate to the explorer tree.
  2. Click Refresh All button (circular arrow icon) on the right of the DATA SETS explorer bar.

Rename data sets

  1. Navigate to the explorer tree.
  2. Open the DATA SETS bar.
  3. Select a data set you want to rename.
  4. Right-click the data set and select the Rename Data Set option.
  5. Change the name of the data set.

Rename Data Set

Copy data set members

  1. Navigate to the explorer tree.
  2. Open the DATA SETS bar.
  3. Select a data set member you want to copy.
  4. Right-click the member and select the Copy Member option.
  5. Right-click a data set that you want to paste the member to and select the Paste Member option.
  6. Enter the name of the copied member.

Copy Data Set

Edit and upload a data set member

  1. Navigate to the explorer tree.

  2. Open the DATA SETS bar.

  3. Open a profile.

  4. Select the data set member you want to edit.

    Note: To view the members of a data set, click the data to expand the tree.

    The data set member is displayed in the text editor window of VS Code.

  5. Edit the document.

  6. Navigate back to the data set member in the explorer tree, and press Ctrl+S or Command+S (OSx) to upload the member.

Your data set member is uploaded.

Note: If someone else has made changes to the data set member while you were editing it, you can merge your conflicts before uploading the member to the mainframe.

Edit

Use the save option to prevent merge conflicts

  1. Navigate to the explorer tree.
  2. Open the DATA SETS bar.
  3. Open a member of a data set you want to edit.
  4. Edit a data set.
  5. Press Ctrl+S or Command+S (OSx) to save you changes.
  6. (Optional) Resolve merge conflicts if necessary.

Save

Create a new data set and add a member

  1. Navigate to the explorer tree.
  2. Open the DATA SETS bar.
  3. Right + click on the profile where you want to create a data set and select Create New Data Set.
  4. Enter a name for your data set.
  5. From the drop-down menu, select the data set type that you want to create.
  6. Select +Allocate Data Set to create your data set.
  7. Right-click your newly-created data set and select Create New Member.
  8. Enter a name for your new data set member and click Enter. The member is created and opened in the workspace.

Create data sets and specify the parameters

  1. Navigate to the explorer tree.

  2. Open the DATA SETS bar.

  3. Right-click the profile you want to create a data set with and select Create New Data Set.

  4. Enter a name for your data set.

  5. From the drop-down menu, select the data set type that you want to create.

  6. Select Edit Attributes in the drop-down menu.

    The attributes list for the data set appears. You can edit the following attributes:

    • Allocation Unit

    • Average Block Length

    • Block Size

    • Data Class

    • Device Type

    • Directory Block

    • Data Set Type

    • Management Class

    • Data Set Name

    • Data Set Organization

    • Primary Space

    • Record Format

    • Record Length

    • Secondary Space

    • Size

    • Storage Class

    • Volume Serial

  7. Select the attribute you want to edit, provide the value in the command palette, and click Enter.

  8. (Optional) Edit the parameters of your data set.

  9. Select the + Allocate Data Set option to create the data set. You successfully created a data set.

    Parameters

Delete data sets and data set members

  1. Navigate to the explorer tree.

  2. Open the DATA SETS bar.

  3. Select one or more data sets and/or data set members.

    Tip: Hold Ctrl/Cmd key while clicking data sets or data set members to select more than one item for deletion.

  4. Press the Delete key on your keyboard.

    Alternatively, right-click on the item and select the Delete Data Set or Delete Member option.

  5. Confirm the deletion by clicking Delete in the drop-down menu.

    Delete Data Sets and Members

View and access multiple profiles simultaneously

  1. Navigate to the explorer tree.
  2. Open the DATA SETS bar.
  3. Click the + icon (Add Profile) on the right of the DATA SET explorer bar.
  4. Select the profile that you want to add to the view as illustrated by the following screen.

Add Profile

Allocate Like

  1. Navigate to the explorer tree.
  2. Open the DATA SETS bar.
  3. Right-click the data set and select the Allocate Like (New Data Set with Same Attributes) option.
  4. Enter a new data set name.

Allocate Like

Credentials Security

Store your credentials securely with the Secure Credentials Store (SCS) plug-in.

  1. Navigate to the VS Code settings.
  2. Open Zowe Explorer Settings.
  3. Add the Zowe-Plugin value to the Zowe Security entry field.
  4. Restart VS Code.

For more information about SCS, see Secure Credential Store Plug-in for Zowe Explorer.

Usage tips

  • Use the Add to Favorite feature to permanently store chosen data sets, USS files, and jobs in the Favorites folder. Right-click on a data set, USS file or jobs and select Add Favorite.

  • Syntax Highlighting: Zowe Explorer supports syntax highlighting for data sets. You can search for and install such extensions in VS Code Marketplace.

  • Update a profile: Right-click a chosen profile, select Update Profile option, and modify the information inside the profile.

  • Delete a profile: Right-click a chosen profile and select Delete Profile to permanently delete the profile. The functionality deletes the profile from your .zowe folder.

  • Hide a profile: You can hide a profile from the profile tree by right-clicking the profile and selecting the Hide Profile option. To add the profile back, click the + button and select the profile from the quick pick list.

  • Associate profiles: You can create a secondary association by right-clicking the profile and selecting the Associate profiles icon. For more information, see the Associate profiles section in Zowe Docs.

  • Open recent members: Zowe Explorer lets you open a list of members you worked on earlier. You can access the list by pressing Ctrl+Alt+R (Windows) or Command+Option+R (Mac).

For the comprehensive Zowe Explorer documentation that also includes information about USS and Jobs interactions, see the Zowe Explorer documentation in Zowe Docs.

Extending Zowe Explorer

You can add new functionalities to Zowe Explorer by creating your own extension. For more information, see Extensions for Zowe Explorer.

Tip: View an example of a Zowe Explorer extension — Zowe Explorer FTP extension documentation.