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

Unexpected behavior in TSO Commands #2528

Open
zFernand0 opened this issue Oct 26, 2023 · 1 comment
Open

Unexpected behavior in TSO Commands #2528

zFernand0 opened this issue Oct 26, 2023 · 1 comment
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.
Milestone

Comments

@zFernand0
Copy link
Member

Describe the bug

This is a 3 part issue:

  1. Inaccurate error message when the logonProc is invalid
  2. ZE ignores the default TSO profile and always asks the user
  3. User gets prompted for account number after cancelling TSO profile selection question

To Reproduce

For number #1:

  1. Modify your TSO profile:
        "tso": {
            "type": "tso",
            "properties": {
                "account": "YOUR-ACCOUNT-NAME",
                "logonProcedure": "NON-EXISTENT-LOGON-PROC"
            }
        }
  2. Run a TSO command like LISTUSER USERID
  3. Check the Zowe TSO Command output channel
    > LISTUSER USERID
    IKJ56716I EXTRANEOUS INFORMATION WAS IGNORED: USERID
    IKJ56482I THE PROCEDURE NAME LISTUSER HAS NOT BEEN DEFINED FOR USE  
    IKJ56429A REENTER -
  4. Notice that the first word of the command is used as the logonProc.
    • If you are curious, try a command like this <VALIDPROC> LISTUSER USERID when your logonProc is invalid 😋

For number #2:

  1. Make sure you have a default TSO profile specified in your zowe.config.json
  2. Also make sure to have more than one TSO profile 😋
  3. Try to issue a TSO command
  4. Noticed the prompt for TSO profiles

For number #3:

  1. Follow steps for number #2
  2. Hit escape to try and get out of the TSO profile selection question
  3. Notice it prompts for the account number

Expected behavior

For number #1:

  • Expected the IKJ56482I message to indicate that the NON-EXISTENT-LOGON-PROC is invalid, instead of the first word of the command (e.g. LISTUSER)

For number #2:

  • Expected to use the default profile

For number #3:

  • Expected not to asked for the account number

Desktop (please complete the following information):

  • OS: Ubuntu 22.04 (Remote SSH)
  • Zowe Explorer Version: 2.11.2
  • (Optional) Zowe CLI Version: N/A
  • (Optional) Are you using Secure Credential Store? No (unsecure profiles for testing purposes)

Additional context

This came up during the 23PI4 (day 1) Readout. The original ask was to allow users to change the logonProc whenever they interact with z/OS. For the purpose of TSO commands, Zowe Explorer already supports the logonProcedure property in the TSO profiles. However, if the desire is to change the logonProc used for interacting with other z/OSMF REST APIs (files, jobs, ...), it's possible that Zowe Explorer may not be able to change configuration on z/OS to make this happen.

@zFernand0 zFernand0 added the bug Something isn't working label Oct 26, 2023
@github-actions
Copy link

Thank you for creating a bug report.
We will investigate the bug and evaluate its impact on the product.
If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.

@zFernand0 zFernand0 mentioned this issue Oct 26, 2023
31 tasks
@JTonda JTonda added priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex. labels Nov 2, 2023
@t1m0thyj t1m0thyj moved this from New Issues to Medium Priority in Zowe Explorer for VS Code Dec 26, 2023
This was referenced Apr 8, 2024
@JillieBeanSim JillieBeanSim added this to the v2.18.0 milestone Jul 11, 2024
@JillieBeanSim JillieBeanSim modified the milestones: v2.18.0, v2.18.1 Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority-medium Not functioning - next quarter if capacity permits severity-medium Bug where workaround exists or that doesn't prevent the usage of Zowe. Just makes it more complex.
Projects
Status: Medium Priority
Development

No branches or pull requests

3 participants