v3 Pre-release is now available in our Github Releases with the removal of v1 profile support. Keep an eye on changes affecting users and extenders for the full list of changes
Zowe Explorer is a sub-project of Zowe, focusing on modernizing the 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 the ability to create, modify, rename, copy, and upload data sets directly to a z/OS mainframe.
- Enabling the ability to create, modify, rename, and upload z/OS UNIX files directly to a z/OS mainframe.
- Enabling the ability to view, poll, and download job spool files on the z/OS mainframe.
- Built in support for Zowe CLI
zosmf
compatible profiles by default. - Support for token-based authentication with the API Mediation Layer to access z/OSMF APIs.
- Sample use cases
- Prerequisites tasks
- Getting started
- Usage tips
- Keyboard shortcuts
- Extending Zowe Explorer
- Known Issues
- More information
Review the following use cases and their procedures 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: View multiple data sets simultaneously and apply filters to show specified data sets.
- Refresh the data set list: Refresh the list of pre-filtered data sets.
- Rename data sets: Rename specified data sets.
- Copy data set members: Copy specified data set members.
- Edit and upload a data set member: You can instantly pull data sets and data set members from the mainframe, edit them, and upload back.
- Prevent merge conflicts: The save option includes a compare mechanism letting you resolve potential merge conflicts.
- Create data sets and data set members: Create a new data set and data set members.
- Create data sets and specify the parameters: Create a new data set and specify parameter values.
- Delete data sets and data set members: Delete one or more data sets and data set members.
- View and access multiple profiles simultaneously: Work with data sets from multiple profiles.
- Submit a JCL: You can submit a jcl from a chose data set.
- Allocate Like: Create a copy of a chosen data set with the same parameters.
- Search a Partitioned Data Set: Search all of a partitioned data set's members with a string of text.
- 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.
This section includes steps for the tasks you need to complete to get started using Zowe Explorer.
Configure Zowe Explorer, create a team configuration file for profile management, review the sample use cases to familiarize yourself with the capabilities of Zowe Explorer, and you are ready to use Zowe Explorer.
You can configure Zowe Explorer by changing the extension settings. For more information, see Configuring Zowe Explorer.
When environment conditions do not support the Zowe CLI built-in Credential Manager, see Modifying the Secure Credentials Enabled Setting.
Zowe Explorer supports the use of MFA tokens for authentication. When using zOSMF profiles it is required to connect through the Zowe API Mediation Layer (API ML). Suggested use case for MFA authentication using Zowe Explorer is by logging into the API ML via the right-click login action in Zowe Explorer and when prompted for password enter the MFA token in place of user password, the API will return a JSON token (JWT) that will be used for further authentication.
You can find more information regarding MFA support in Zowe's documentation on integrating with API Mediation Layer.
- Navigate to the Side Bar.
- Hover over DATA SETS, USS, or JOBS.
- Click the + icon.
- Select Create a New Team Configuration File.
- If no workspace is open, a global configuration file is created. If a workspace is open, chose either a global configuration file or a project-level configuration file.
- Edit the config file to include the host and other connection information, and save.
Your team configuration file appears either in your .zowe folder if you chose the global configuration file option, or in your workspace directory if you chose the project-level configuration file option. The notification message that shows in VS Code after config file creation includes the path of the created file.
You can now use all the functionalities of the extension.
The first time profiles are used you will be prompted for user name and password for the profile's connection. The term password is used loosely to represent all supported authentication secrets like passphrases, passtickets, Multifactor Authentication (MFA) tokens, etc.
Secure fields in the team configuration file are handled by the Zowe Imperative dependency. To update securely stored user names and passwords in Zowe Explorer, the user can right click the profile and select Manage Profile, then Update Credentials from the drop down list. This prompts the user for the new credentials and the secure credentials vault is updated.
- Navigate to the Side Bar.
- Hover over DATA SETS, USS, or JOBS.
- Click the + icon.
- If team configuration file is in place, the Edit Team Configuration File option displays.
- If only a global or project level config is in place, it opens to be edited. If both a global and project level config are in place, the user must select which file to edit.
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 the API connection is valid, the profile is active and can be used.
By default, this 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
- In VS Code, navigate to Settings.
- Navigate to Zowe Explorer settings.
- Check the Automatic Profile Validation checkbox to enable the automatic validation of profiles option. Uncheck to disable.
- Restart VS Code.
As a Zowe user, you can leverage the base profile functionality to access multiple services through Single Sign-on. Base profiles enable you to authenticate using the Zowe API Mediation Layer (API ML). You can use base profiles with more than one service profile. For more information, see Base Profiles.
Zowe Explorer has a right click action for profiles to log in and log out of the authentication service for existing base profiles.
- Open VS Code and select the Zowe Explorer icon in the Side Bar.
- Hover over DATA SETS, USS, or JOBS.
- Click the + icon.
- Select the profile you use with your base profile for token authentication. The profile will appear in the tree.
- Right-click the profile and select Manage Profile.
- Select the Log in to Authentication Service option from the drop down list, then enter basic credentials to request the token. If the request is successful, the token will be used for authentication until the logout action is taken or the token expires.
For more information, see Integrating with API Mediation Layer.
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:
- Open Zowe Explorer.
- Hover over DATA SETS, USS, or JOBS.
- Click the + icon.
- Right-click your profile and select Manage Profile.
- Select the Log out from Authentication Service option.
Your token has been successfully invalidated.
-
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 profile, select the Manage Profile option then select Edit Profile option from drop down list, and modify the information inside the profile.
-
Delete a profile: Right-click a profile, select the Manage Profile option then select Delete Profile option from drop down list, which opens the
zowe.config.json
file for the user to delete the profile manually: -
Hide a profile: You can hide a profile from the profile tree by right-clicking the profile and selecting the Manage Profile and then select Hide Profile option from the drop down menu. Finally, if the profile is in multiple trees, choose whether the to hide from all trees or just the tree the action was started in. To unhide the profile, click the + button and select the profile from the quick pick list.
-
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) orCommand
+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.
-
Restart Zowe Explorer
- Windows:
ctrl
+alt
+z
- Mac:
⌘
+⌥
+z
- Windows:
-
Open Recent Member
- Windows:
ctrl
+alt
+r
- Mac:
⌘
+⌥
+r
- Windows:
-
Search in all Loaded Items
- Windows:
ctrl
+alt
+p
- Mac:
⌘
+⌥
+p
- Windows:
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.
Files written in languages primarily read from right to left (Arabic, Hebrew, many Asian languages) can include portions of text that are written and read left to right, such as numbers.
These bidirectional (BiDi) languages are not currently supported in Visual Studio Code. (See Issue #86667 for more information.)
As a result, VS Code extensions like Zowe Explorer, Zowe Explorer CICS Extension, and Zowe Explorer FTP Extension are not able to support BiDi languages in files.
- For the complete Zowe Explorer documentation, see Zowe Docs.
- Join the #zowe-explorer channel on Slack to stay in touch with the Zowe community.
- To translate Zowe Explorer into your language, join our POEditor project.
- Navigate to the Side Bar.
- Open the DATA SETS bar.
- Hover over the profile that you want to apply the filter to.
- Click the Search icon.
- Enter a pattern you want to create a filter for. The data sets that match your pattern(s) are displayed in the Side Bar.
Tip: To provide multiple filters, separate entries with a comma. You can append or postpend any filter with an * to apply wildcard searching. You cannot enter an * as the entire pattern.
- Navigate to the Side Bar.
- Open the DATA SETS bar.
- Hover over the profile that you want to apply the filter to.
- Click the Search icon.
- Enter a search pattern in the
HLQ.ZZZ.SSS(MEMBERNAME)
format to filter for and display the specified member in the tree.
Note: You cannot favorite a data set or member that includes a member filter search pattern.
- Navigate to the Side Bar.
- Click Refresh All button (circular arrow icon) on the right of the DATA SETS explorer bar.
- Navigate to the Side Bar.
- Open the DATA SETS bar.
- Select a data set you want to rename.
- Right-click the data set and select the Rename Data Set option.
- Enter the new name of the data set.
- Navigate to the Side Bar.
- Open the DATA SETS bar.
- Select a data set member you want to copy.
- Right-click the member and select the Copy Member option.
- Right-click a data set that you want to paste the member to and select the Paste Member option.
- Enter the name of the copied member.
-
Navigate to the Side Bar.
-
Open the DATA SETS bar.
-
Open a profile.
-
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.
-
Edit the document.
-
Navigate back to the data set member in the explorer tree, and press
Ctrl
+S
orCommand
+S
(macOS) 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.
-
Navigate to the Side Bar.
-
Open the DATA SETS bar.
-
Open a member of a data set you want to edit.
-
Edit the selected member.
-
Press
Ctrl
+S
orCommand
+S
(macOS) to save the changes.If the original content in your local version no longer matches the same file in the mainframe, a warning message displays advising the user to compare both versions.
-
If necessary, use the editor tool bar to resolve any merge conflicts.
- Navigate to the Side Bar.
- Open the DATA SETS bar.
- Right-click on the profile where you want to create a data set and select Create New Data Set.
- Enter a name for your data set.
- From the drop-down menu, select the data set type that you want to create.
- Select +Allocate Data Set to create the data set.
- Right-click your newly-created data set and select Create New Member.
- Enter a name for your new data set member and press the
Enter
key. The member is created and opened in the workspace.
-
Navigate to the Side Bar.
-
Open the DATA SETS bar.
-
Right-click the profile you want to create a data set with and select Create New Data Set.
-
Enter a name for your data set and press
Enter
. -
From the drop-down menu, select the data set type that you want to create and press
Enter
. -
Select Edit Attributes in the drop-down menu and press the
Enter
key. 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
-
Select the attribute you want to edit, provide the value in the Command Palette, and press the
Enter
key. -
(Optional) Edit the parameters of your data set.
-
Select the + Allocate Data Set option to create the data set.
The data set has been created successfully.
-
Navigate to the Side Bar.
-
Open the DATA SETS bar.
-
Select one or more data sets and/or data set members.
Tip: Hold the
Ctrl
/Cmd
key while clicking data sets or data set members to select more than one item for deletion. -
Press the
Delete
key on your keyboard.Alternatively, right-click on the item and select the Delete Data Set or Delete Member option.
-
Confirm the deletion by clicking Delete in the drop-down menu.
- Navigate to the Side Bar.
- Open the DATA SETS bar.
- Click the + icon on the right of the DATA SET bar.
- Select a profile from the drop-down menu in the Command Palette. This adds the profile to the Side Bar, from where you can search for data sets.
- Navigate to the Side Bar.
- Open the DATA SETS bar.
- Select the data set or data set member you want to submit.
- Right-click the data set or member and select the Submit Job option.
- If the extension setting "Jobs: Confirm Submission" matches the job that you are trying to submit, you will be presented with a submission confirmation dialog.
- Click Submit within the dialog to confirm submission, or click Cancel to cancel the operation.
- Otherwise, the job has been submitted.
- Once the job has been submitted, click on the hyperlink within the notification pop-up to view the submission (if desired).
- Navigate to the Side Bar.
- Open the DATA SETS bar.
- Right-click a data set and select the Allocate Like (New Data Set with Same Attributes) option.
- Enter a new data set name.
- Navigate to the Side Bar
- Open the DATA SETS bar.
- Right-click a partitioned data set and select the Search PDS Members option.
- When prompted, enter the string to be used for the search.
- A confirmation dialog appears if there is a large number of members to search.
- A table displays the search results.
- Each search result can be selected to open the member at the location of the search term.