Rename a data set.
It supports all data set types that are supported by CA File Master Plus.
Usage
zowe file-master-plus rename data-set <old> <new> [options]
Positional Arguments
-
old
(string)
- Specifies the name of the data set that you want to rename.
-
new
(string)
- Specifies the new name of the data set.
Options
FMP Connection Options
-
--host
| -H
(string)
- Specifies CA File Master Plus server host name.
-
--port
| -P
(number)
- Specifies CA File Master Plus server port.
-
--user
| -u
(string)
- Specifies Mainframe user name. May be the same as TSO login.
-
--password
| --pass
| --pw
(string)
- Specifies Mainframe password. May be the same as TSO password.
-
--protocol
| -o
(string)
-
--reject-unauthorized
| --ru
(boolean)
-
--base-path
| --bp
(string)
- The base path for your API mediation layer instance. Specify this option to prepend the base path to all FMP resources when making REST requests. Do not specify this option if you are not using an API mediation layer.
Profile Options
Base Connection Options
-
--token-type
| --tt
(string)
- The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.
-
--token-value
| --tv
(string)
- The value of the token to pass to the API.
-
--cert-file
(local file path)
- The file path to a certificate file to use for authentication
-
--cert-key-file
(local file path)
- The file path to a certificate key file to use for authentication
Examples