-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3452 from zowe/anax-v3-CLI-Usetab1-v3changes
updating Use section content 1
- Loading branch information
Showing
9 changed files
with
215 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
# Issuing your first command | ||
|
||
You can provide all connection options directly on commands to access a service. For example, issue the following command to list all data sets under the name `ibmuser` on the specified system: | ||
Typically, users rely on [team configuration](../appendix/zowe-glossary.md#team-configuration) to connect to the mainframe and issue commands. | ||
|
||
But if you have just installed Zowe CLI and have not yet configured your profiles, you can provide all connection options directly in the command line to access a service. | ||
|
||
For example, issue the following command to list all data sets under the name `ibmuser` on the specified system: | ||
|
||
``` | ||
zowe zos-files list data-set "ibmuser.*" --host host123 --port port123 --user ibmuser --password pass123 | ||
``` | ||
|
||
If you omit username, password, host, or port (and a value cannot be found in your configuration), the CLI prompts you to enter a value. | ||
- If you omit username, password, host, or port, and a value cannot be found in your configuration, Zowe CLI prompts you to enter a value. | ||
|
||
However, this is not the most efficient way to communicate with the mainframe. To avoid having to enter connection details with every command repeatedly, use team profiles. |
Oops, something went wrong.