Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary tree nodes #69

Open
AndrewTwydell opened this issue Aug 4, 2021 · 5 comments
Open

Remove unnecessary tree nodes #69

AndrewTwydell opened this issue Aug 4, 2021 · 5 comments
Labels
enhancement New feature or request priority-low Legit issue but cosmetic or nice-to-have

Comments

@AndrewTwydell
Copy link
Contributor

If SMSS system is in use, there is an unneeded tree with the Region Applid.
Screenshot 2021-08-04 at 10 24 37

If the system is an SMSS system, append the region applid to the profile node label and show programs, transactions and localfiles directly underneath.

@zFernand0 zFernand0 transferred this issue from zowe/vscode-extension-for-cics Feb 5, 2024
@JTonda JTonda added enhancement New feature or request research-needed We need to learn more about a topic or problem before addressing it. labels Mar 5, 2024
Copy link

github-actions bot commented Mar 5, 2024

Thank you for raising this enhancement request.
The community has 90 days to vote on it.
If the enhancement receives at least 5 upvotes, it is added to our development backlog.
If it receives fewer votes, the issue is closed.

@zFernand0 zFernand0 self-assigned this Mar 20, 2024
@zFernand0
Copy link
Member

zFernand0 commented Mar 22, 2024

Hey @Joe-Winchester,
Thanks a lot for today's conversation with a few members of the team.
I forgot to get to this issue during said call, my apologies for that.

In your own words,

  1. Could you briefly explain what it means for a customer to be on a single server setup?
  2. How can we detect (via CMCI) that this region is not managed by CICSPlex SM?

More details about CICS SMSS:

@zFernand0 zFernand0 added needs-more-info and removed research-needed We need to learn more about a topic or problem before addressing it. labels Mar 22, 2024
@zFernand0 zFernand0 removed their assignment Mar 22, 2024
@zFernand0 zFernand0 added the priority-low Legit issue but cosmetic or nice-to-have label Mar 22, 2024
@zowe-robot zowe-robot moved this from New Issues to Low Priority in Zowe Explorer for VS Code Mar 22, 2024
@zFernand0
Copy link
Member

Hey Joe,
I believe that your comment on the other issue (#70 (comment)) helped answer some of the questions.

There seems to be something in place that helps us to determine whether the session is configured to connect to a CICSPlex (other than just the cics-plex property in a cics profile).

That being said, I believe the request in this issue is to simply avoid showing the region name/dropdown whenever there is only one region that this session can communicate with.

@Joe-Winchester
Copy link
Member

Hi @zFernand0 ,

Yes I think the original request was that if there is a single region then there is no need to show a node in the tree as it's implied by the connection.

        "cics_3b": {
            "type": "cics",
            "properties": {
                "host": "xxxxx.hursley.ibm.com",
                "port": 10887,
                "rejectUnauthorized": false,
                "protocol": "http",
                "regionName": "IY3BNCAF",
                "zosmfName": "3b"
            },
            "secure": [
               "user",
               "password",
             ]
        },

creates the tree:

image

The connection profile could instead be something like cics_3b: IY3BNCAF. to show it's a single region and then show the resource tree items directly beneath it.

@Joe-Winchester
Copy link
Member

Note also that there can be times when there is a CMCI connection available to a plex where a user can have multiple connections, some directly to the whole plex, e.g.

and some to a specific scope, e.g.

        "cics_lc_plex": {
            "type": "cics",
            "properties": {
                "host": "esysmvs1.wsclab.washington.ibm.com",
                "port": 3041,
                "protocol": "http",
                "cicsPlex": "DEMOPLEX"
            },
            "secure": [
              "user",
              "password"
            ]
        },

is for an entire plex (which can have many regions) while:

        "cics_lc_aor1": {
            "type": "cics",
            "properties": {
                "host": "esysmvs1.XXX.washington.ibm.com",
                "port": 3041,
                "rejectUnauthorized": false,
                "protocol": "http",
                "cicsPlex": "DEMOPLEX",
                "regionName": "CICSAOR1"
            },
            "secure": [
              "user", 
              "password"
              ]
        },

specifies a scope in the field miscalled "regionName". This scope can actually have multiple regions.
I think the way to know whether it's part of a plex might be to ask for the "CICSCICSManagingAddressSpace" region table. In the case where there isn't a plex it'll return a 404 for no table present, and when the connection is for a plex there will be some kind of valid response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-low Legit issue but cosmetic or nice-to-have
Projects
Status: Low Priority
Development

No branches or pull requests

4 participants