Giter Site home page Giter Site logo

vangari99 / vscode-extension-for-cics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zowe/vscode-extension-for-cics

0.0 0.0 0.0 522.05 MB

Extension to the Visual Studio Code Plugin, Zowe Explorer; a Z/OS interaction tool within VS Code. This allows for the viewing and manipulation of CICS Resources from within Zowe Explorer. Powered by Zowe CLI.

Home Page: https://www.zowe.org/

License: Eclipse Public License 2.0

TypeScript 99.12% JavaScript 0.88%

vscode-extension-for-cics's Introduction

Zowe CICS Explorer

version downloads slack open issues

This CICS Extension for Zowe Explorer adds additional functionality to the popular VSCode extension, Zowe Explorer. This extension allows interactions with CICS regions and programs, and the ability to run commands against them.

Contents

Features

  • Load profiles directly from Zowe instance locally installed.
  • Create new Zowe CICS profiles and connect to them.
  • Work with multiple regions containing programs, local transactions and local files within a plex in a comprehensible tree-like format.
  • Perform actions such as Enable, Disable, New Copy and Phase In directly from the UI.
  • Perform additional actions on local files including Open and Close directly from the UI.
  • View and search attributes of resources and regions by right-clicking and using the dynamic filtering feature.
  • Create new CICS profiles, update session details, and delete profiles using the user-friendly interface.
  • Apply multiple filters to regions, programs, local transactions and/or local files.
  • View and interact with all resources under a plex.

To Install CICS Extension for Zowe Explorer see Installation

Getting Started

Create Profile

If you already have a Zowe CICS CLI profile the CICS tree will load the default profile on startup.

If you don't have an existing CICS profile add one by selecting the + button in the CICS tree and choosing the option Create New Session ... to open a panel allowing connection details to be defined. The connection must point to a CICS region's CICS Management Client Interface (CMCI) TCP/IP host name and port number. The region can be a WUI server in a CICSPlex, or else a stand-alone Single Management Application Programming (SMSS) region.

Configuring a CICS region to have a connection is a system programmer task and more details can be found in Setting up CMCI with CICSPlex SM or Setting up CMCI in a stand-alone CICS region. If your CMCI connection is configured to use a self-signed certificate that your PC's trust store doesn't recognize, see Untrusted TLS certificates

To show more than one CICS profile in the tree, select the + button and choose from the list of profiles. Only profiles not already included in the CICS tree will be shown. To view all Zowe CICS CLI profiles use the command zowe profiles list cics from a terminal.

Zowe CICS Explorer profiles

Update Profile

Right-click against a profile to open up the profile menu actions and select the Update Profile command to update the session details. This will open a panel with fields containing the details used to create the connection. All fields apart from the 'Profile Name' can be modified.

Once the details have been updated, click the Update Profile button to apply the changes to the profile.

Zowe CICS Explorer Filter

Hiding Profiles

Open the menu actions for a profile by right-clicking a profile and select Hide Profile to hide it from the CICS view. To add the profile back, click the + button and select the profile from the quick pick list.

Zowe CICS Explorer NewCopy Program

Deleting Profiles

Right-click a chosen profile, select Delete Profile and click the Yes button when prompted to confirm the action of permanently deleting the profile. The functionality deletes the CICS profile from the persistant storage directory ~/.zowe/profiles/cics.

Zowe CICS Explorer NewCopy Program

CICS Resources

Expand a CICS profile to see the region name, and expand the region to view its resources. If the CICS profile is connected to a CMAS region that is part of a CICSPlex, the tree will show all of the regions managed by the CICSPlex. If the CICS profile is for an SMSS region then just one region will be shown. Inactive regions in a plex are shown with an empty icon.

Show and Filter Resources in a Region

Expand a CICS region to show folders for the resource types Programs , Transactions and Local Files . Expand each type to show the resources. The number of resources in a resource tree will appear in square brackets next to the tree name.

The list of resources are pre-filtered to exclude many of the IBM supplied ones to narrow the contents to just include user programs. Use the search icon against a resource type to apply a filter. This can be an exact resource name or else you can use wildcards. The search history is saved so you can recall previous searches.

To reset the filter to its initial criteria use the clear filter icon against the resource type. If you wish to see all resources in a region (including IBM supplied ones) you can use "*" as a filter.

Zowe CICS Explorer Filter

Tip: To apply multiple filters, separate entries with a comma. You can append any filter with an *, which indicates wildcard searching.

Show and Filter Resources in a Plex

Similar to filtering resources in a region, it is also possible to apply a filter on a all region resources in a plex. Use the search icon inline with the Regions tree and then select either Regions, Programs, Local Transactions or Local Files from the drop-down menu to specify which resource type the filter should be applied to for all regions in the plex.

To reset the filter to its initial criteria use the clear filter icon against the Regions tree. This will open a drop-down menu which gives the option to clear the filter for all the Regions, Programs, Local Transactions or Local Files in the plex, and an option to otherwise clear All filters within the plex.

Zowe CICS Explorer Filter

Tip: To apply multiple filters, separate entries with a comma. You can append any filter with an *, which indicates wildcard searching.

Show and Filter Resources in an 'All' Resource Tree

Plexes contain an All Programs, All Local Transactions and All Local Files trees which contain all the corresponding resources from all regions in the plex.

To view resources under these trees, use the search icon inline with the tree and apply a filter.

Zowe CICS Explorer Filter

If the applied filter results in over 500 records, either change the filter to narrow down the search, or click the view X more ... item to retrieve 'X' more resources.

Show Attributes

Right-click and use the pop-up menu against a program to list the available actions that can be performed. For every resource, including a CICS region, Show Attributes opens a viewer listing all attributes and their values. The attributes page has a filter box at the top that lets you search for attributes matching the criteria.

Zowe CICS Explorer Filter

Enable and Disable

Right-click against a program, local transaction or local file to open up the pop-up menu and click Disable [CICS resource] to disable the resource. When a resource is already disabled the first option becomes Enable [CICS resource] to allow its enablement state to be toggled. A disabled resource is identified by a (Disabled) text next to its name.

Zowe CICS Explorer Filter

New Copy and Phase In

Use New Copy and Phase In actions against a CICS program to get the CICS region to load a fresh of the selected program into memory. This could be after you've edited a COBOL program source and successfully compiled it into a load library and now want to test your change.

The newcopycnt for a program which is greater than zero is shown next to the program item in the CICS resource tree.

Zowe CICS Explorer NewCopy Program

Open and Close Local Files

Right-click against a closed local file and perform the Open Local File menu action to toggle the openstatus attribute to 'OPEN'.

To close a local file, right-click against an open local file and perform the Close Local File menu action. This will bring up a prompt on the bottom right corner requesting to choose one of Wait, No Wait or Force for the file busy condition. Once an option has been selected, the local file name will be appended with a (Closed) label upon success.

Zowe CICS Explorer NewCopy Program

Untrusted TLS Certificates

If the CMCI connection is using a TLS certificate that your PC doesn't have in its trust store, then by default the connection will be rejected as potentially this could be from an unsafe site. To override this behavior, either set the Only accept trusted TLS certificates field on the form when creating/updating the profile to False. This is the same as setting rejectUnauthorized=false on the Zowe CICS CLI profile.

If you define a profile as only accepting trusted TLS certificates when the Zowe Explorer first connects it will detect the mismatch and allow you to override the setting and proceed. This is done through a pop-up message with a Yes button to accept the untrusted certificate authority, which changes the profile's setting.

Zowe CICS Explorer NewCopy Program

Usage tips

  • All menu action commands available via right-clicking a profile/resource (excluding Show Attributes) can be applied on multiple items by multi-selecting nodes of the same type before right-clicking and selecting the command.

    • To multi-select, either hold Ctrl/Cmd key while clicking resources, or select the first item in a list of nodes then hold Shift and click both the last item to select a consecutive list of nodes.
  • Click the refresh icon at the top of the CICS view to reload the resources in every region.

Providing feedback or help contributing

Checking the source of an error

Before filing an issue, check if an error is arising from the Zowe Explorer for IBM CICS extension and not the Zowe Explorer extension by expanding the error message and checking if the Source is Zowe Explorer for IBM CICS (Extension).

Zowe CICS Explorer NewCopy Program

Error messages arising from the Zowe Explorer extension will have the Source as Zowe Explorer(Extension).

Filing an issue

To file issues, use the Zowe Explorer for IBM CICS issue list, or chat with use on Slack by indicating the message is for the Zowe Explorer for IBM CICS extension.

vscode-extension-for-cics's People

Contributors

andrewtwydell avatar github-actions[bot] avatar jeffinsiby avatar joe-winchester avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.