IBM Z® Open Editor
Docs
News and Blogs
IBM Downloads
VS Code Marketplace
GitHub
Docs
News and Blogs
IBM Downloads
VS Code Marketplace
GitHub
  • Overview

    • Introduction
    • Updates and user feedback
  • Getting Started

    • Getting started with IBM Z Open Editor
    • Setting up integrations to interact with z/OS
    • Getting started with Zowe 3.0
  • Configuration

    • Setting preferences
    • Configuring your applications with ZAPP files
    • Setting property groups
    • Setting compiler options
    • Setting file associations
    • Setting language-specific tab stops and rulers
    • Enabling and disabling problems in IBM Z Open Editor
    • Enabling and disabling unreachable COBOL code warnings
    • Customizing the Outline view
    • Setting language-specific maximum line length
    • EBCDIC code pages and mappings files
    • Experimental: Formatting COBOL source code
  • Tutorials

    • Tutorial overview
    • Exploring the user interface
    • Exploring the sample files
    • COBOL editing tutorial
    • COBOL, PL/I Preprocessor tutorial
    • HLASM editing tutorial
    • REXX editing tutorial
    • Managing z/OS resources with IBM RSE API Plug-in for Zowe CLI tutorial
    • Submitting JCL to compile, link, and run jobs tutorial
  • Editing program files

    • Language References
    • Making COBOL and PL/I code changes
    • Making High Level Assembler code changes
    • Making REXX code changes
    • Making JCL code changes
    • Using and managing code snippets
    • Using the integrated Git
    • Searching for COBOL, PL/I, HLASM, and REXX components
  • Interacting with z/OS using Zowe

    • Interacting with z/OS
    • Creating a configuration profile in Zowe Explorer v3.0.0
    • Migrating your old Zowe yaml profiles for Zowe v3.0
    • Supported methods of authentication for z/OS using Zowe
    • Sharing team configuration files
    • Connecting to z/OS with Zowe Explorer walk through
    • Using the Zowe Explorer views
    • Using Zowe profiles in Z Open Editor
    • Connecting to z/OS using Zowe CLI walk through
    • Using command line to interact with z/OS
    • Interact with RSE Common Properties
  • Advanced Capabilities

    • Overview
    • Activating advanced capabilities
    • Launching a 3270 emulator from Zowe Explorer
    • z/OS Resources Table
    • Data Elements View
    • Program Control Flow Browser
    • Data Flow Browser
    • Preprocessor support
    • Custom Macros for HLASM
    • Language Detection
    • Linting with IBM ZCodeScan
    • User build with IBM Dependency Based Build (DBB)
    • Agent Mode
    • Line Hex Editor
  • Cloud-based Editing

    • Overview to using Cloud and Browser-based platforms
    • Try Z Open Editor in the Red Hat Developer Sandbox
    • Configuring Red Hat OpenShift Dev Spaces
    • Managing Developer Workspaces
    • Managing secrets
    • Create and use custom images
    • Migrating from IBM Wazi for Dev Spaces
    • Using Z Open Editor on GitHub Codespaces
    • Using Z® Open Editor with Dev Containers
  • Troubleshooting

    • Known issues and limitations
    • Troubleshooting using log files
    • Troubleshooting for User Build
    • Uninstalling CLI plugins and VS Code extensions
  • Reference

    • IBM RSE API Plug-in for Zowe CLI commands
    • IBM RSE API Plug-in for Zowe CLI as nodejs SDK package
    • IBM RSE API Plug-in for Zowe CLI as nodejs SDK reference
    • Example Zowe configuation setups
    • IBM Z Open Editor MCP Tools
    • Accessibility and Keyboard Shortcuts
    • settings.json properties
    • Message ID Reference
    • Other Visual Studio Code extensions
  • Legal information

    • Notices
    • Trademarks
    • Privacy policy considerations

Connecting to z/OS with Zowe Explorer walk through

Overview

Zowe Explorer VS Code extension adds support for connecting to z/OS, and the connection details are specified in the team configuration file. The team configuration file is a JSON file that contains definitions for profiles to connect to z/OS by using different methods such as RSE API, z/OSMF API, SSH, and FTP. Zowe framework is open source and supports extenders, so there might be more ways to connect in the future. One team configuration file can contain many individual profiles, and it can be located in your home directory .zowe folder or added to a Git repository.

You can create and edit a team configuration file in multiple ways such as with Zowe CLI. This tutorial will walk you through the steps on how to manage connection profiles by using Zowe Explorer UI.

Prerequisites

  • On the client side: Ensure that Z Open Editor and Zowe Explorer VS Code extension are installed in your VS Code.
  • On the server side: Check with your system administrator to ensure RSE API or z/OSMF api is installed and which ports it can be accessed on. Often, RSE API is installed on port 7395, sometimes 8195 or 6800, and z/OSMF is often available on port 443 or 10443. Those default ports can be changed. For more information, see installing RSE API and installing z/OSMF API.

Creating a team configuration file

You can create a team configuration file by using Zowe Explorer UI. After the team configuration file is created, it can be used by both Zowe Explorer and Zowe CLI.

  1. Open the Zowe Explorer view in VS Code.

  2. Click the Add profile... plus button in the Data sets, UNIX System Services, or Jobs view.

  3. Click Create a new Team Configuration file.

  4. Choose if you want a file to be accesed globally or just in the current project.

    • If you want to access the file in any project, select Global.
    • If you want to access the file in the current Git project only, select Project.

    Now Zowe Explorer will create zowe.config.json in ~/.zowe directory or zowe.config.user.json inside your repo. This file contains default values and supported extender profile definitions. Because Z Open editor is installed, the team configuration file is created with the RSE profile template.

  5. Specify the profiles with your connection details. You can enter common values such as host in the base profile, which will then be applied to the entire team configuration file.

  6. You can hover over each JSON key in the file for explanation of each option.

  7. Specify the values as needed according to your connection type.

    • Connect to zOS with RSE API
      • Ensure that you can access RSE API via the browser using correct port. Swagger API doc should be available on the port, for example, https://myzos.ibm.com:6800/rseapi/api-docs/.
      • If you have zowe cli with rse-api-for-zowe-cli plug-in installed, use the zowe rse check status command to confirm that RSE API is running on port specified in the profile.
    • Connect to z/OS z/OSMF API
      • Check out z/OSMF connection troubleshooting guide.
  8. Save your changes. Profiles should be ready to be added to each tree view.

  9. In Zowe Explorer, go to the tree of your choice and add the profile by clicking the plus button.

  10. To re-open and update team configuration file, click Add profile... > Edit Team Configuration file.

  11. After you start using the Zowe Explorer tree views, you are prompted to enter your username and password. On the desktop, Zowe Explorer stores encrypted credentials on the user's local system using local operation system in a specific way, such as the Keychain on Mac OS. If you are using a different authentication method, see Supported methods of authentication for z/OS using Zowe.

Example Zowe configurations

Troubleshooting

ErrorResolution
When I click "Add profile", no profiles show upThis might happen when a team configuration file is invalid, for example, when there is a syntax error. Ensure that you team configuration file is saved and is valid.
Error: Zowe REST Operations API Error: or http(s) request error event called or Error: connect ECONNREFUSED myzos.ibm.com:6800In most cases, the error occurs because your RSE API port is wrong.
  • Ensure you access RSE API using correct port. Swagger API doc should be available on the port, for example: https://myzos.ibm.com:6800/rseapi/api-docs/.
  • If you have zowe cli with rse-api-for-zowe-cli plugin installed, use the following command to confirm RSE API is running on port specified in the profile: zowe rse check status.
Error: z/OSMF REST API Error: or http(s) request error event called or Error: getaddrinfo ENOTFOUND myzos.ibm.comIf you are using an internal z/OS system behind a firewall, make sure you have connected through the firewall.
Error: Zowe REST Operations API Error: or http(s) request error event called or Error: self signed certificate or Error: z/OSMF REST API Error: or http(s) request error event called or Error: certificate has expiredIf your z/OS is using self-signed certificates, make sure to set "rejectUnauthorized": false.
Failed to load schema for profile type rse or Failed to load schema for config file /Users/user/.zowe/zowe.config.json: invalid schema fileIf you get any schema related error, your zowe.schema.json might be missing, not updated properly, or corrupted. For more information, see sharing team configuration files.
Last Updated: 1/21/26, 4:24 PM
Contributors: KRISTINA MAYO, Chun Hong Zheng, phaumer, Billie Simmons, Nimma Likhitha, likhithanimma1, Esther M
Prev
Sharing team configuration files
Next
Using the Zowe Explorer views