Populate a specific data set with records.
The layout of the records to add are described by a Cobol or PL/I copybook.
Usage
zowe file-master-plus populate data-set <name> [options]
Positional Arguments
-
name
(string)
- Specifies the name of the data set to populate.
Options
-
--member
| -m
(string)
- Specifies name of the member.
Note: Used only if the specified data set is a PDS or PDSE.
Example: -m member1.
Required 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
-
Populating a data set:
zowe file-master-plus populate data-set fmmvs.dsname --lds fmmvs.layout.dataset --lm testlay --data ../instream/data1.txt