IBM IMS® Explorer for VS CodeIMS Explorer for VS Code provides modern development practices and simplifies complex IMS development tasks using Visual Studio Code. Designed for application developers, database administrators, and system programmers, IMS Explorer for VS Code provides built-in features to access IMS inside Visual Studio Code IDE. By combining multiple activities into one environment, IMS Explorer for VS Code promotes modern development practices and simplifies complex IMS development tasks. IMS Explorer for VS Code 1.2.0 supports the following actions:
See Capabilities below for more details. View full documentation and additional information in the IMS Explorer Github repository. Engage in the community forum for announcements of latest updates, provide feedback, submit questions, polls or request for ideas. Table of contents
License
PrerequisitesReview the IMS Explorer for VS Code License Agreement and Third Party Notices before downloading. The following software requirements must be met to run IMS Explorer for VS Code.
InstallingThe following instructions describe how to install the IMS Explorer for VS Code extension. 1. Install Visual Studio CodeIMS Explorer for VS Code requires VS Code 1.105.0 or later. Download VS Code: https://code.visualstudio.com/
2. Install the IMS Explorer for VS Code ExtensionThere are several ways to download and install IBM IMS Explorer for VS Code. You can install it directly from the VS Code Marketplace website or within the VS Code editor. Alternatively, you can download a ZIP of the extension from the IBM Mainframe downloads with provided code signing signature files that you can use to verify the integrity of the downloaded files. Installing IBM IMS Explorer for VS Code from the VS Code marketplace
Installing IBM IMS Explorer for VS Code from a VSIX fileYou can also download the IBM IMS Explorer for VS Code extension from the IBM Mainframe downloads website. Here, you can download the extension file directly. Use the following steps in VS Code to install the VSIX file manually.
Extension settingsConfigurations can be made in VS Code Extension settings in order to specify the following:
Configuring IMS workspacesBefore getting started with an IMS project, ensure that the desired workspace for your IMS projects has been specified using the IMS Workspace status bar option. This option determines the location for the Connection configuration optionsThe Show IMS Catalog metadataYou can control the visibility of system-level IMS catalog DBDs and PSBs (those starting with the Auto-commit behaviorSQL queries executed through IMS Explorer for VS Code use auto-commit mode by default. This means that each SQL statement is automatically committed immediately after execution.
Configuring JavaThe IMS Explorer for VS Code extension utilizes VS Code user settings to configure Java. These settings allow you to select the specific installation of Java to pick, in case you have several installations. Certain settings, such as how much memory you want the IMS Explorer for VS Code extension language servers to use, must be set at the JVM level. Selecting the Java installation to useIMS Explorer for VS Code extension scans the following locations, in the order specified, for the first Java installation that is at least Version 21 and 64-Bit to be used. If the target Java fails to meet requirements, the remaining target locations will be scanned:
Note that the methods at the end of the list require a significant amount of time as they are executing programs on your system. To improve startup times you should consider user settings as they provide the best startup performance. If Java cannot be located check the VS Code Output view's IMS Explorer for VS Code tab for any error and try to fix the problem by either setting the To define a user setting use the Preferences > Settings menu and either locate the setting in the graphical editor under IMS Explorer for VS Code or edit the setting json file directly by adding an entry as follows using an absolute path name to the Java installation directory. On Mac:
On Windows:
Configuring JVM argumentsJVM arguments are used for configuring connections to IMS. Use the following VS Code Setting example to configure JVM arguments such as memory heap allocation for IMS connections.
Configuring additional JARsUse the following VS Code Setting to specify additional JAR files required for IMS connections, such as a customized UDB driver or other dependencies. Separate multiple JAR paths with a semicolon (
Configuring log levelThe default Java logging level is
The logs appear in the Configuring IMS WorkspaceUse the following VS Code Setting to change the default directory of the IMS Workspace location to store associated extension files. On macOS: Default directory is the user home directory.
On Windows: The default directory is the current user profile directory.
CapabilitiesThe following sections offer a preview of the features available with the IMS Explorer for VS Code. Welcome pageA Welcome page is displayed when IMS Explorer for VS Code is first opened, helping users get started quickly with guided steps and links to key features. IMS connection profilesCreate connections to IMS databases using the IMS connections view. IMS connections can be organized into folders and expanded or collapsed. Two connection profile types are supported:
Create IMS database connection
Create IMS command connection
IMS connections tree and table viewsYou can add multiple IMS database connections in a tree view. Browse DBDs, PSBs, and PCBs for IMS databases using the IMS Connections tree view. You can use this view to:
In addition to segments and fields, IMS database DBDs, PSBs, and PCBs can also be viewed in a table with extended columns for DBDs, PSBs, Segments, and Fields. This allows simple click navigation between related PSBs and PCBs to find associated segments and fields. You can verify connections to IMS databases or select another connection using the IMS Connection option in the status bar. IMS ProjectsCreate IMS projects to edit and organize SQL queries and IMS commands to execute on IMS databases. Create IMS project for PSB, DBD and SQL
Create IMS project for IMS commands
Edit and execute SQLEdit and execute SQL from an IMS project file against an IMS database using a specified database connection. DDL statements can also be run directly in the SQL editor. A results window is provided with a table containing the resulting query information. You can sort and filter results within the table. Each result set from SQL queries are stored in a query history view. You can download SQL result sets as a CSV file.
Execute IMS commandsExecute IMS Type 1 and Type 2 commands from a Command folder within an IMS project. Command results are displayed in a JSON Output view and a Command Output view, with execution status shown inline. Previously executed commands are available in the Command History.
Import DBDs and PSBs from the IMS catalogSelect an IMS database connection from the IMS Connections View to import DBDs and PSBs from. Use advanced search to filter by name and choose to import referenced DBDs, referencing PSBs, or all instances directly into a project. Import from catalog
Advanced Search and import reference DBDs and PSBs
Edit DBD segment fieldsAdd, edit, move, and delete segment fields within DBDs in an IMS project. Changes are reflected in the source code and DDL views within the project. Add Fields
Edit and Delete Fields
Visualize DBDs and PSBsView DBDs and PSBs in an interactive hierarchical visualization, allowing visual navigation of segments and view of segment fields by expanding their contents. Swap between source, DDL, tables, or visualization as needed using tabs or context menus.
SupportTo report issues or submit feedback about this extension, you can contact IBM support or open an issue in our GitHub repository. GitHub issues may also be used to submit requests for future enhancements. |










