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.
- Features
- Getting Started
- CICS Resources
- Untrusted TLS Certificates
- Usage Tips
- Providing feedback or help contributing
- 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
andPhase In
directly from the UI. - Perform additional actions on local files including
Open
andClose
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
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.
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.
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.
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
.
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.
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.
Tip: To apply multiple filters, separate entries with a comma. You can append any filter with an *, which indicates wildcard searching.
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.
Tip: To apply multiple filters, separate entries with a comma. You can append any filter with an *, which indicates wildcard searching.
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.
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.
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.
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.
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.
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.
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.
-
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 holdShift
and click both the last item to select a consecutive list of nodes.
- To multi-select, either hold
-
Click the refresh icon at the top of the CICS view to reload the resources in every region.
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)
.
Error messages arising from the Zowe Explorer extension will have the Source
as Zowe Explorer(Extension)
.
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.