Zowe Explorer is a separately delivered component of Zowe belonging to the Zowe CLI sub-project.
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. Working with data sets and USS files from VSC can be more convenient than using 3270 emulators, and complements your Zowe CLI experience. The extension provides the following benefits:
- Enables you to create, modify, rename, copy, and upload data sets directly to a z/OS mainframe.
- Enables you to create, modify, rename, and upload USS files directly to a z/OS mainframe.
- Provides a more streamlined way to access data sets, uss files and jobs.
- Lets you create, edit, and delete Zowe CLI
zosmf
compatible profiles. - Lets you use the Secure Credential Store plug-in to store your credentials securely in the settings.
Note: The Zowe Explorer is powered by Zowe CLI. The extension demonstrates the potential for plug-ins powered by Zowe.
Tips:
- For information about how to install the extension from a
VSIX
file and run system tests on the extension, see the Developer README. - For information about how to develop for Eclipse Theia, see Theia README.
- For information about how to create a VSCode extension for Zowe Explorer (a Zowe Explorer extension) see VSCode extensions for Zowe Explorer.
- For questions and general guidance, please visit #zowe-explorer channel on Slack
- Software Requirements
- Create a Zowe CLI z/OSMF profile
- Secure Credential Store
- Usage tips
- Sample use cases
Ensure that you meet the following prerequisites before using the extension:
- Installed Node.js v8.0 or later.
- Configured TSO/E address space services, z/OS data set and file REST interface, and z/OS jobs REST interface. For more information, see z/OS Requirements.
- Zowe CLI
zosmf
profile.
Notes:
- You can use your existing Zowe CLI
zosmf
profiles that are created with the Zowe CLI v.2.0.0 or later. - Zowe CLI
zosmf
profiles that are created in Zowe Explorer can be interchangeably used in the Zowe CLI.
Follow these steps:
-
Navigate to the explorer tree.
-
Click the + button next to the DATA SETS, USS or JOBS bar.
Note: If you already have a profile, select it from the drop-down menu.
-
Select the Create a New Connection to z/OS option.
Note: When you create a new profile, user name and password fields are optional. However, the system will prompt you to specify your credentials when you use the new profile.
-
Follow the instructions, and enter all required information to complete the profile creation.
You successfully created a Zowe CLI zosmf
profile. Now you can use all the functionalities of the extension.
You can now use Secure Credential Store plug-in in the Zowe Explorer extension. Secure Credentials Store plug-in lets you store your credentials securely. You can use the plug-in in the following ways:
-
Use the plug-in both with Zowe CLI and Zowe Explorer
For more information about Secure Credential Store plug-in for Zowe CLI, see Secure Credential Store Plug-in for Zowe CLI.
Ensure that you meet the following prerequisites before you can use the plug-in both with Zowe CLI and Zowe Explorer:
Activate the Secure Credential Store plug-in.
Follow these steps:
- Open Zowe Explorer.
- Navigate to the VSCode settings.
- Open Zowe Explorer Settings.
- Add the Zowe-Plugin value to the
Zowe Security: Credential Key
entry field. - Restart VSCode.
- Create a profile.
Your Zowe Explorer credentials are now stored securely.
Activate the Secure Credential Store plug-in.
Follow these steps:
-
(Optional) If you have existing profiles, issue the following command, using Zowe CLI:
zowe scs u
-
Open Zowe Explorer.
-
Navigate to the VSCode settings.
-
Open Zowe Explorer Settings.
-
Add the Zowe-Plugin value to the
Zowe Security: Credential Key
entry field. -
Restart VSCode.
The credentials of your newly created or existing profiles are now stored securely.
Use the following tips to familiarize yourself with the extension and make the best use of it:
-
Data set, USS and jobs persistence settings: You can enable the persistence of any data sets, USS files and jobs by adding them to the Favorites tab. Right-click on a data set, USS file or jobs and click Add Favorite.
-
Syntax highlighter: Zowe Explorer supports syntax hightlighter for data sets. To enhance the experience of using the extension, download an extension that highlights syntax, such as IBM-JCL or IBM-Assembler.
-
Edit a profile: You can now edit existing profiles by clicking the pencil button next to the magnifying glass button in the explorer tree. The feature lets you modify the information inside your profile.
-
Delete a profile: You can permanently delete profiles by right-clicking the profile and selecting the Delete Profile option. The feature deletes a profile from your
.zowe
folder. Alternatively, you can delete a profile from the VSCode Command Palette.Follow these steps:
- Press F1 on your keyboard.
- Select the Zowe: Delete a Profile Permanently option.
-
Hide a profile: You can hide a profile from profile tree by right-clicking the profile and selecting the Hide Profile option. If necessary, add the profile back by clicking the + button from the explorer tree.
You can modify Zowe Explorer preferences in the extension Setting
in the following ways:
- Temp Folder Location: You can change the default folder location where temporary files are stored. For example, use the following script:
"Zowe-Temp-Folder-Location": {
"folderPath": "/path/to/directory"
}
where /path/to/directory is the folder location that you specify.
- Data set creation settings: You can change the default creation settings for various data set types.
- Navigate to the extension configuration manager.
- In the section Extensions, scroll to Zowe Configuration and expand the options.
- Click the Edit in settings.json button under Data Set, USS or JOBS settings that you want to edit.
- Edit the settings as needed.
- Save the settings.
Review the following use cases to understand how to use Zowe Explorer.
You can use the following functionalities when interacting with data set:
- View data sets and use multiple filters: You can view multiple data sets simultaneously and apply filters to show specified data sets.
- Rename data sets: You can rename specified data sets.
- Copy data sets: You can copy a specified data sets and memebers.
- Download, edit, and upload existing PDS members: You can instantly pull data sets and data set members from the mainframe, edit them and upload back.
- Create and delete data sets and data set members: Enables you to easily create and delete both data sets and their members.
- View and access multiple profiles simultaneously: Enables to work with data sets from multiple profiles.
- Submit a JCL: You can submit a jcl from a chosen data set.
- Navigate to the explorer tree.
- Open the DATA SETS bar.
- Select the profile that you want to filter.
- Click the Search Data Sets by Entering Patterns magnifying glass.
- From the drop-down, enter the patterns that you want to filter.
The data sets that match your pattern(s) display 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.
- Navigate to the explorer tree.
- Click Refresh All button on the right of the DATA SETS explorer bar.
- Navigate to the explorer tree.
- 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.
- Change the name of the data set.
- Navigate to the explorer tree.
- Open the DATA SETS bar.
- Select a member you want to copy.
- Right-click the member and select the Copy Data Set option.
- Right-click the data set where the member belongs and select the Paste Data Set option.
- Enter the name of the copied member.
-
Navigate to the explorer tree.
-
Open the DATA SETS bar.
-
Open a profile.
-
Click the PDS member (or PS) that you want to download.
Note: To view the members of a PDS, click the PDS to expand the tree.
The PDS member displays in the text editor window of VSC.
-
Edit the document.
-
Navigate back to the PDS member (or PS) in the explorer tree, and click the Save button.
Your PDS member (or PS) is uploaded.
Note: If someone else has made changes to the PDS member (or PS) while you were editing it, you can merge your conflicts before uploading to the mainframe.
- Navigate to the explorer tree.
- Open the DATA SETS bar.
- Open a profile.
- Download and edit a data set.
- Click the Save button for the data set that you opened in the explorer tree.
- Resolve merge conflicts if necessary.
- Navigate to the explorer tree.
- Open the DATA SETS bar.
- Click the Create New Data Set button to specify the profile that you want to create the data set with.
- From the drop-down menu, select the type of PDS that you want to create.
- Enter a name for the PDS. The PDS is created.
- To create a member, right-click the PDS and select Create New Member.
- Enter a name for the member. The member is created.
-
Navigate to the explorer tree.
-
Open the DATA SETS bar.
-
Open the profile and PDS containing the member.
-
Right-click on the PDS member that you want to delete and select Delete Member.
-
Confirm the deletion by clicking Yes on the drop-down menu.
Note: Alternatively, you can select 'No' to cancel the deletion.
-
To delete a PDS, right-click the PDS and click Delete PDS, then confirm the deletion.
Note: You can delete a PDS before you delete its members.
- Navigate to the explorer tree.
- Open the DATA SETS bar.
- Click the Add Profile button on the right of the DATA SET explorer bar.
- Select the profile that you want to add to the view as illustrated by the following screen.
You can use the following functionalities when interacting with USS files:
- View Unix System Services (USS) files: You can view multiple USS files simultaneously.
- Rename USS files: You can rename specified USS files.
- Download, edit, and upload existing USS files: You can instantly pull USS files from the mainframe, edit them and upload back.
- Create and delete USS files and directories: Enables you to easily create and delete both USS files and directories.
- View and access multiple profiles simultaneously: Enables to work with USS files from multiple profiles.
- Navigate to the explorer tree.
- Open the Unix System Services (USS) bar.
- Select the profile that you want to filter.
- Click the Search Unix System Services (USS) by Entering a Path magnifying glass.
- From the drop-down, enter the path that you want as the root of your displayed tree.
All child files and directories of that root file are displayed in the explorer tree.
Note: You will not be able to expand directories or files that you are not authorised for.
- Navigate to the explorer tree.
- Click Refresh All button on the right of the Unix System Services (USS) explorer bar as illustrated by the following screen:
- Navigate to the explorer tree.
- Open the USS bar.
- Select a USS file you want to rename.
- Right-click the USS file and select the Rename USS file option.
- Change the name of the USS file.
-
Click the file that you want to download.
Note: To view the files within a directory, click the directory to expand the tree.
The file displays in the text editor window of VSC.
Note: If you have defined file associations with syntax coloring the suffix of your file will be marked up.
-
Edit the document.
-
Type Ctrl-s or Command-s (OSx) to save the file
Your file is uploaded.
- Navigate to the explorer tree.
- Open the Unix System Services (USS) bar.
- Select a directory that you want to add the new directory to.
- Select the Create directory button and specify the directory name. The directory is created.
- Navigate to the explorer tree.
- Open the Unix System Services (USS) bar.
- Select a directory that you want to add the new file to.
- Select the Create file button and specify the file name. The file is created.
- Navigate to the explorer tree.
- Open the Unix System Services (USS) bar.
- Select a file you want to remove.
- Select the Delete button and press yes in the confirmation dropdown. The file is deleted.
- Navigate to the explorer tree.
- Open the Unix System Services (USS) bar.
- Select a directory you want to remove.
- Select the Delete button and press yes in the confirmation dropdown. The directory and all child files and directories are deleted.
- Navigate to the explorer tree.
- Open the Unix System Services (USS) bar.
- Click the Add Session button on the right of the Unix System Services (USS) explorer bar.
- Select the profile that you want to add to the view as illustrated by the following screen.
You can use the following functionalities when interacting with Jobs:
- View a job: You can view multiple jobs simultaneously.
- Download spool content: You can download spool content on your computer.
- Navigate to the explorer tree.
- Open the JOBS bar.
- Select a directory with JCL files.
- Right-click on the JCL you want to view, and click Get JCL.
- Navigate to the explorer tree.
- Open the JOBS bar.
- Select a directory with JCL files.
- Click the Download icon next to a folder with the spool content.
- Save the file on your computer.
Zowe Explorer also enables you to issue MVS command. You can issue such commands as Allocate or Exec against a profile.
- Press the F1 key on your keyboard.
- Select the Zowe:Issue MVS Command option.
- Select your profile.
- Issue a MVS command.