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

Command examples are incorrect for 'zowe console issue'. #1715

Closed
KevinLoesch1 opened this issue May 8, 2023 · 7 comments
Closed

Command examples are incorrect for 'zowe console issue'. #1715

KevinLoesch1 opened this issue May 8, 2023 · 7 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers priority-medium Not functioning - next quarter if capacity permits severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases

Comments

@KevinLoesch1
Copy link
Contributor

If you issue the command 'zowe console issue --help-examples', the example statements are incorrect. They do not contain the second required parameter, console. Issuing the examples as is will result in an error.

      Display HTML help in browser

 EXAMPLES
 --------

   - Issue a z/OS console command to display the IPL information
   for the system:

      $ zowe issue command "D IPLINFO"

   - Issue a z/OS console command to display the local and
   coordinated universal time and date:

      $ zowe issue command "D T"

   - Issue a Db2 command to display information about the status
   and configuration of DDF:

      $ zowe issue command "\-DB1G DISPLAY DDF"
@KevinLoesch1 KevinLoesch1 added bug Something isn't working new The issue wasn't triaged yet good first issue Good for newcomers labels May 8, 2023
@github-actions
Copy link

github-actions bot commented May 8, 2023

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.

@sidharthbh8
Copy link
Contributor

sidharthbh8 commented May 15, 2023

Is this correct ?
$ zowe console issue command "D IPLINFO" --console <console name>
$ zowe issue command "D T" --console <console name>
$ zowe issue command "\-DB1G DISPLAY DDF" --console <console name>
I think this is the solution but added a placeholder for console name, since specific console names vary system to system.
I think you can get it DISPLAY CONSOLE command. please correct if I'm wrong

@gejohnston
Copy link
Member

What version of zowe CLI are you running? Is it a really old version of Zowe CLI?

The current help displays the following example:

Issue a z/OS console command to display the local and coordinated universal time and date:

    zowe zos-console issue command "D T"

When you issue the command from the help, you get the following result:

zowe zos-console issue command "D T"
IEE136I LOCAL: TIME=13.39.14 DATE=2023.135  UTC: TIME=17.39.14 DATE=2023.135

@KevinLoesch1
Copy link
Contributor Author

Is this correct ? $ zowe console issue command "D IPLINFO" --console <console name> $ zowe issue command "D T" --console <console name> $ zowe issue command "\-DB1G DISPLAY DDF" --console <console name> I think this is the solution but added a placeholder for console name, since specific console names vary system to system. I think you can get it DISPLAY CONSOLE command. please correct if I'm wrong

This issue has nothing to do with a console name. It is simply a bug in the help. The examples are missing the command group.
The command is 'zowe zos-console issue' or 'zowe console issue', not 'zowe issue' .

@sidharthbh8
Copy link
Contributor

sidharthbh8 commented May 17, 2023

Is this correct ? $ zowe console issue command "D IPLINFO" --console <console name> $ zowe issue command "D T" --console <console name> $ zowe issue command "\-DB1G DISPLAY DDF" --console <console name> I think this is the solution but added a placeholder for console name, since specific console names vary system to system. I think you can get it DISPLAY CONSOLE command. please correct if I'm wrong

This issue has nothing to do with a console name. It is simply a bug in the help. The examples are missing the command group. The command is 'zowe zos-console issue' or 'zowe console issue', not 'zowe issue' .

Sorry my bad should have read the docs first rather than giving a quick fix :")
can I resolve this issue?
zowe zos-console issue command "D IPLINFO"
zowe zos-console issue command "D T"
zowe zos-console issue command "\-DB1G DISPLAY DDF"
This is correct I believe
edit - need some help can't find the file which displays the whole --help-examples. Don't know where the Command.definitions.ts files data exported, looking for this past 1.5 hours.
new to this repo and a beginner

@JTonda JTonda added priority-medium Not functioning - next quarter if capacity permits severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases and removed new The issue wasn't triaged yet labels May 22, 2023
@sidharthbh8
Copy link
Contributor

hey @KevinLoesch1 can you give some hints on this
I think packages/cli/zosconsole doesn't contains this issue

@adam-wolfe adam-wolfe mentioned this issue Jan 4, 2024
26 tasks
@KevinLoesch1
Copy link
Contributor Author

This issue is fixed by the PR #2064.

@KevinLoesch1 KevinLoesch1 self-assigned this Feb 23, 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 good first issue Good for newcomers priority-medium Not functioning - next quarter if capacity permits severity-low Bug that makes the usage of the Zowe less convenient but doesn't impact key use cases
Projects
Status: Closed
Development

No branches or pull requests

4 participants