Vscode-extension-for-zowe: Issue Command menu item on a profile - what does it do?

Created on 18 May 2020  路  6Comments  路  Source: zowe/vscode-extension-for-zowe

Describe the bug

A menu item "Issue Command" is showing up on the Profile name, and its unclear as to what this menu item does or what its intent is. Couldn't figure out how to get it to work.

To Reproduce
Steps to reproduce the behavior:
1.Create a New Profile / Connection using Zowe Explorer

  1. Right click on the newly created Profile/Connection
  2. Select the "Issue Command" menu item
  3. A pop up dialog pops up that asks for creation of a new command - but its not clear what command the user is trying to create. Since I selected the connection / profile under Datasets, I tried various MVS commands - but no luck.
  4. This Issue Command menu item does appear on the profile name --> right click in the Jobs and USS views as well.

Expected behavior

A context menu should be clear and should relate to the context of the object being selected. Having some help on what commands can be created/issued would be good.

Screenshots

Desktop (please complete the following information):

  • OS: Mac
  • Zowe Explorer Version: 1.5.2
  • (Optional) Zowe CLI Version: 2.31.1
  • (Optional) Are you using Secure Credential Store? No

* Additional Context *
Extensions installed are COBOL Bitlang and Code4z.

question

All 6 comments

Completely agree, "Issue MVS Command" would be much more clear. It isn't clear whether it is a TSO, MVS, or SSH command depending on which tree you are in but I can confirm they are all MVS commands. Try display t ... that worked for me... it should open your integrated terminal and show the command and results in the OUTPUT.

Thanks @MikeBauerCA for the pointer on what this action does, I did try display t and that works. So, is the purpose of this to open a "TSO command" shell (or equivalent) of that? If so, why not have a menu item that opens the shell and let the user issue commands in the shell?

The whole process of creating a command and executing it - to see the output goes somewhere is really odd..

Or perhaps "Issue MVS System Command"? That is quite accurate, but probably too long.

For this one in particular, we could ask ourselves if it makes sense to have it as a menu options of just a command in the command palette that users execute?
If we go with that, we can have a more accurate description like what @VitGottwald describes 馃構

We need to start with defining what is that we want to provide - what problem are we trying to solve? Based on that, the right approach can be figured out.

Addressed with PR #1230

Was this page helpful?
0 / 5 - 0 ratings