Description

ChangeMan ZMF Plug-in for ZOWE CLI lets you interact with ChangeMan ZMF systems on the mainframe in a familiar zowe command line format. If you are already familiar with the Zowe CLI, you will find the ZMF Plugin-in very familiar to work with.

ZMF CLI commands can be entered and executed in a script written in Python (for example) to perform a variety of downstream business functions.

Minimum Requirements

Pre-requisites

Before installing the ChangeMan ZMF Plug-in for Zowe CLI, the following pre-requisites are necessary to be installed. 

  1. zowe cli 2 or later. When issuing the zowe-V command this will be reported as V7.x.x
    If you do not yet have zowe cli installed, follow the instructions found on the zowe website - Installing Zowe CLI | Zowe Docs
  2. For Zowe 2, it is necessary to have a compatible profile. "Old style" profiles will no longer work with zowe 2. An article explaining zowe 2 profiles can be found here zowe 2 profiles If you have problems/question ceating a zowe 2 profile for use with ZMF, please post a comment in the Microfocus Community page. Sample profiles that you can adapt will be posted to assist in this process.
  3. Version 8.2 Patch 5 (with the following hotfixes) or a higher patch level/release.
    1. ZMF 8.2.5.003 
    2. ZMF 8.2.5.005 
    3. ZMF 8.2.5.006 
    4. Sernet 8.2.5.007 
    5. ChangeMan ZMF REST Services version 8.2 Patch 5 build number 114 or higher.  

Installation

Download the ChangeMan ZMF Plug-in for Zowe CLI and save the .tgz file to a local directory of your choice. From that local directory, install the plugin using the zowe plugins install l command. where n.n.n is the version of the .tgz file downloaded.

zowe plugins install microfocus-zmf-cli-plugin-n.n.n.tgz

The plugin will be installed.
All ZMF Plugin commands use changeman-zmf as the top level group name - or the abbreviation of zmf and can be tested by issuing the following command to display ZMF CLI help

zowe zmf -h

This command will then display the next level of available ZMF command. this level always presents a verb - get, checkin, checkout etc. As with Zowe CLI, each level of subcommand has the available help option by appending the parameter. Example: zowe zmf get -h

As there are a number of ZMF cli commands available, To help in identifying the required parameters for each command,, you can generate web help by issuing the command:

zowe --hw This will generate all the help files and display in a browser. The location of the web help will depend on your platform. As new versions of the ChangeMan ZMF Plug-in CLI are released, you should regenerate the web help to pick up new documented features. See screenshot for sample web help.

Usage

Refer to the Changelog and the ReadMe located in the ZMF cli install library at homedir/.zowe/plugins/installed/node_modules/@microfocus for further details including setting environment variables.

Please refer to the REST Services Getting Started Guide and the browser based REST prototyping tool for details on the REST services. as the ZMF CLI uses the exact parameter format as defined in that Guide. Also refer to the ZMF XML Services Guide for more information on individual parameters.

An example ZMF CLI command :

zowe zmf browse pcomp -c CBLDB201 -t SRC -p STEV001571

where:

pcomp = Browse Package Component - the related REST service using the prototyping tool is /component/browsepackage
-c = Component
-t = Component Type
-p = Package

Alternatively, you my use the long form of the command:

zowe changemanzmf browse packagecomponent --component CBLDB201 --componenttype SRC --package STEV001571

Note that the fields are case sensitive.

The ZMF cli plug-in returns output to the screen. This will either be a string -.e..g. a source component, or a JSON object. Typically, using a script, the output would be piped to a local file and post processed.

A simple example python script screen shot can be seen above, which demonstrates retrieving a component and its associated copybooks and saves them to a local directory. Post processing of those files can then take place outside of ZMF.

V1.0.5

In preparation for the release of zowe V2, a number of changes have been made to the ZMF cli plugin.
- This version has now isolated text so that in the future the ZMF cli plugin can be internationalized when zowe provides this functionality.
- Some of thje ZMF commands have been simplified. This has been done to provide for future expansion and additional new commands. If you use any of these commands, , please modify your scripts to use the new command format. None of the command parameters have changed.

Existing command | abbrev New command | abbrev
Audit
package-audit | pa package | pkg
Build
component-build | cbld component | comp
Checkin
component-checkin | cci component | comp
Checkout
component-checkout | cco component | comp
Demote
package-demote | pd package | pkg
Freeze
package-freeze | pf package | pkg
Lock
component-lock | cl component | comp
Promote
package-promote | pp package | pkg
Recompile
component-recompile | cr component | comp
Refreeze
package-refreezenonsource | prfns nonsource | ns
package-refreezeparameters | prfp parameters | parm
package-refreezesite | prfs site | s
package-refreezesource | prfsrc source | src
package-refreezeutility | prfu utility | util
Revert
package-revert | pr package | pkg
Unfreeze
package-unfreezenonsource | pufns nonsource | ns
package-unfreezeparameters | pufp parameters | parm
package-unefreezesite | pufs site | s
package-unfreezesource | pufsrc source | src
package-unfreezeutility | pufu utility | util
Unlock
component-unlock | cu component | comp

The following GET comands have been moved to BROWSE
component-browse | cb component | comp
component-browsebaseline | cbb baselinecomponent | bcomp
compoennt-browsepackage | cbp packagecomponent | pcomp

An example :
zowe zmf get cbp -p STEV001571 -c CBLDB201 -t SRC
now becomes:
zowe zmf browse pcomp -p STEV001571 -c CBLDB201 -t SRC

If you wish to review the upcoming changes in zowe V2 please refer to Zowe
A major change in zowe v2 relates to profiles which will involve some significant but beneficial changes to both profile management and security. Also included with zowe V2 are potential performance gains.

For a complete list of all the ZMF CLI plugin commands and their parameters, run the zowe --hw command to generate online web help.

V1.0.4

Fixed an issue with the license file not being displayed correctly.
Implemented changes in readiness for supporting zowe V2.

V1.0.3

This version adds further command line interface support for the following Package functions:

  • Audit
  • Freeze
  • Promote
  • Unfreeze
    - non source
    - parameters
    - sites
    - source
    - utility
  • Refreeze
    - non source
    - parameters
    - sites
    - source
    - utility

To regenerate online web help, issue the following: zowe --hw

V1.0.2

- Added support for a single persistent session to be established. This is achieved by issuing:
- zowe zmf session zl command. This will return a 200 if successful and a token generated.
- followed by some number of intervening commands. Token usage is transparent.
- finally terminate the session with a zowe zmf session zf command.

However, it is possible for such a session to time out which would invalidate the token. in which case a subsequent command would return a 401 error and a message of 'No Credentials".
This would then require a new zowe zmf session zl command to be reissued to establish a new token.

Support

Support for the ChangeMan ZMF Plug-in for Zowe CLI is available on the Micro Focus Community page for ChangeMan ZMF.

Please do not go through the normal Support channels for this component.


Suggested apps

Suggested for you are based on app category, product compatibility, popularity, rating and newness. Some apps may not show based on entitlements. Learn more about entitlements.

Releases

Release
Size
Date
ChangeMan ZMF Plug-in for Zowe CLI V2.0.2
97.0 KB
  |  
Jul 22, 2022
More info Less info
Product compatibility
Version 8.2.5
Release notes

This version has added the REST api to retrieve Event log entries.

For command syntax, please refer to zowe --hw to generate the web help.

Languages
English
ChangeMan ZMF Plug-in for Zowe CLI V2.0.1
95.2 KB
  |  
Jul 5, 2022
More info Less info
Product compatibility
Version 8.2.5
Release notes

Fixed a type definition for package create phone number fields from 'number' to 'string'.
Change tempChangeDuration from string to number.

Languages
English
ChangeMan ZMF Plug-in for Zowe CLI V2.0.0
95.1 KB
  |  
May 10, 2022
More info Less info
Product compatibility
Version 8.2.5
Release notes

This version 2 of ZMF cli plugin for Zowe requires that zowe 2 be already installed. Earlier versrions of the ZMF cli plugin will not work with zowe 2 due to breaking changes.

Languages
English

Unsubscribe from notifications

You are receiving release updates for this item because you have subscribed to the following products:
If you unsubscribe, you will no longer receive any notifications for these products.
Tip: to update your subscription preferences, go to Manage Subscriptions from your Dashboard, uncheck the products you no longer want to receive notifications for, and click 'Save'.

Marketplace Terms of Service

In order to continue, you must accept the updated Marketplace Terms of Service
Since you are downloading an app from the Micro Focus Marketplace, you need to accept the updated Marketplace Terms of Service before you can continue. Use the link to review the Marketplace Terms of Service. Once complete check the, "I accept the Marketplace Terms of Service" box below and click accept to continue your download.


Your download has begun...

Your download has begun

Related content and resources

Your browser is not supported!

Please upgrade to one of the following broswers: Internet Explorer 11 (or greater) or the latest version of Chrome or Firefox

release-rel-2022-11-1-stackc-bo-5117 | Fri Nov 18 10:45:23 PST 2022