npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@broadcom/om-spool-for-zowe-cli

v3.0.1

Published

OM Spool™ Plug-in for Zowe™ CLI.

Readme

OM Spool™ Plug-in for Zowe™ CLI

The OM Spool™ Plug-in for Zowe™ CLI lets users issue any Output Management Spool™ for z/OS (OM Spool) native command from a single command-line interface. This plug-in also enables automated administration of OM Spool and lets service providers that administer multiple OM Spool environments respond to client requests faster.

Use Cases

You can use the OM Spool™ Plug-in for Zowe™ CLI to perform the following tasks:

  • Set up automated administration of the OM Spool environment.
  • Issue any OM Spool native command from a single command-line interface instead of switching to the MVS terminal.
  • Create scripts to automate processes that you currently perform manually.

Software Requirements

Before you install and use the plug-in:

  • Install Zowe CLI.
  • Ensure that a z/OSMF server is up and running.
  • Ensure that an OM Spool 14.0 instance is installed and running in your mainframe environment. The instance must meet the following minimum requirements:
    • Release 14.0 with the latest maintenance applied.
  • See the Integrate with Zowe CLI topic in OM Spool documentation.

Install the Plug-in

Important: The OM Spool plug-in for Zowe CLI version zowe-v<n>-lts is compatible only with Zowe CLI V<n>, where "n" is supported Zowe CLI LTS release.

To install the @latest version of the plug-in, issue the following command:

$ zowe plugins install @broadcom/om-spool-for-zowe-cli

Note: The latest npm tag installs an active development version of the plug-in, which accepts breaking changes. You can use different npm tags to install other versions of the product. For more information about tag usage, see NPM Tag Names.

Configuration

Configure Team Profiles

Team profiles improve the initial setup of the Zowe CLI. Team profiles let application developers store and manage service connection details in one location. Team profiles also improve the configuration experience for new users and let users share their configurations.

Initialize the Team Profile Configuration File

If you have not used any previous Zowe releases or have not set up a team profile configuration file, you must create and initialize the team profile configuration file.

  1. Issue the following command:
    $ zowe config init --global-config
  • The CLI can respond with prompts for a host, username, and password.
  1. Enter a host, username, and password for a mainframe service, such as z/OSMF.
  • The zowe config init command ensures that your credentials are stored securely on your computer by default.
  • After you enter your credentials, the zowe.config.json team configuration file is added to your local .zowe directory. This directory is the primary location where your mainframe service connection details, such as host and port, are defined. You use this configuration file in the next section.

Populate the Global Profiles

To use the OM Spool plug-in for Zowe CLI, you must populate the global profiles. To do this, you set up z/OSMF and the OM Spool profile parameters in the team profile configuration file (zowe.config.json) that you created in the previous section.

The OM Spool profile parameters contain your TSO account information and the following information for the OM Spool instance:

  • OM Spool installation high-level qualifier (HLQ)
  • Subsystem name
  • Output response data set (must be unique for each Zowe CLI user that is interacting with OM Spool)
  • Data set containing ESFZOWE REXX exec

Having these parameters already configured in a file lets you avoid entering that information in every command that you run. You can define multiple profiles in the zowe.config.json file and switch between profiles as needed.

Open the zowe.config.json file in a text editor or IDE and populate global profiles with connection details for your mainframe services as shown in the following example:

{
    "$schema": "./zowe.schema.json",
    "profiles": {
        "zosmf": {
            "type": "zosmf",
            "properties": {
                "port": 443
            },
            "secure": []
        },
        "omspool": {
            "type": "omspool",
            "properties": {
                "account": "123456789",
                "spoolhlq": "SPOOL.HLQ",
                "subsys": "ESF1",
                "outds": "OUTPUT.RESPONSE.DS",
                "clist": "USER.CLIST"
            },
            "secure": []
        },
        "project_base": {
            "type": "base",
            "properties": {
                "host": "host.company.com",
                "rejectUnauthorized": true
            },
            "secure": [
                "user",
                "password"
            ]
        }
    },
    "defaults": {
        "zosmf": "zosmf",
        "omspool": "omspool",
        "base": "project_base"
    },
    "autoStore": true
}

For more information about configuring team profiles, see the Zowe Documentation.

Migrating From Zowe CLI V1 to a Current Zowe Client Configuration

After you upgrade Zowe CLI to any of active LTS releases, you must uninstall the OM Spool V1 plug-in to avoid conflicts. The OM Spool profile name was changed from caspool to omspool. Therefore, you must also migrate your existing Zowe CLI V1 user profiles to team profiles.

Note: The OM Spool plug-in name was changed from @broadcom/caspool-for-zowe-cli to @broadcom/om-spool-for-zowe-cli since the zowe-v2-lts version of the OM Spool plug-in for Zowe CLI.

1. Uninstall the OM Spool V1 plug-in from Zowe CLI V1

$ zowe plugins uninstall @broadcom/caspool-for-zowe-cli

2. Install the supported OM Spool plug-in for Zowe CLI

$ zowe plugins install @broadcom/om-spool-for-zowe-cli

3. Migrate your existing user profiles to team profiles

  1. Convert your Zowe V1 user profiles to a new zowe.config.json file.
$ zowe config convert
  1. Update the OM Spool profile type from caspool to omspool in the newly created zowe.config.json file. In this example, caspool_V1 is the converted profile name.
"profiles": {
        “caspool_V1": {
            "type": "omspool",       <== Update the type from caspool to omspool
            "properties": {
                "account": "123456789",
                "spoolhlq": "SPOOL.HLQ",
                "subsys": "ESF1",
                "outds": "OUTPUT.RESPONSE.DS",
                "clist": "USER.CLIST"
            },
            "secure": []
        },
        "defaults": {
            "omspool": "caspool_V1", <== Update this line from caspool to omspool
        },

Get Command Help

To get help for the available command groups, issue the following command:

$ zowe omspool --help

To obtain context sensitive help, append the --help argument to your command. For example, to get help with the issue command command, issue the following command:

$ zowe omspool issue command --help

Use the Plug-in

To issue an OM Spool native command, use the following format:

$ zowe omspool issue command "<om-spool-command>"

For example, to display the status of the ESF subsystem, issue the following command:

$ zowe omspool issue command "DS"

Update the Plug-in

To update the plug-in, issue the following command:

$ zowe plugins update @broadcom/om-spool-for-zowe-cli

Uninstall the Plug-in

To uninstall the plug-in, issue the following command:

$ zowe plugins uninstall @broadcom/om-spool-for-zowe-cli

Exit Codes

0 – The OM Spool plug-in command was executed successfully. 1 – The OM Spool plug-in command failed.