## zowe › rse-api-for-zowe-cli › create › data-set-partitioned

Create partitioned data sets (PDS)

#### Usage

zowe rse-api-for-zowe-cli create data-set-partitioned <dataSetName> [options]

#### Positional Arguments

- `dataSetName` (string)

  - The name of the data set that you want to create

#### Options

- `--allocation-unit` | `--au` (string)

  - The allocation unit (for example, CYL for Cylinders)

    Default value: TRACK

- `--average-blocks` | `--ab` (number)

  - The number of average blocks (for example, 25)

- `--block-size` | `--bs` | `--blksize` (number)

  - The block size for the data set (for example, 6160)

    Default value: 6160

- `--data-set-type` | `--dst` | `--dsntype` (string)

  - The data set type

- `--device-type` | `--dt` (string)

  - The device type, also known as 'unit'

- `--directory-blocks` | `--db` | `--dirblks` (number)

  - The number of directory blocks (for example, 25)

    Default value: 5

- `--primary-space` | `--ps` (number)

  - The primary space allocation (for example, 5)

    Default value: 1

- `--record-format` | `--rf` | `--recfm` (string)

  - The record format for the data set (for example, FB for "Fixed Block")

    Default value: FB

- `--record-length` | `--rl` | `--lrecl` (number)

  - The logical record length. Analogous to the length of a line (for example, 80)

    Default value: 80

- `--secondary-space` | `--ss` (number)

  - The secondary space allocation (for example, 1)

    Default value: 1

- `--show-attributes` | `-a` | `--pa` (boolean)

  - Show the full allocation attributes

- `--volume-serial` | `--vs` (string)

  - The volume serial (VOLSER) on which you want the data set to be placed. A VOLSER is analogous to a drive name on a PC.

#### Profile Options

- `--rse-profile` | `--rse-p` (string)

  - The name of a (rse) profile to load for this command execution.

- `--base-profile` | `--base-p` (string)

  - The name of a (base) profile to load for this command execution.

#### Base Connection Options

- `--host` | `-H` (string)

  - Host name of service on the mainframe.

- `--port` | `-P` (number)

  - Port number of service on the mainframe.

- `--user` | `-u` (string)

  - User name to authenticate to service on the mainframe.

- `--password` | `--pass` | `--pw` (string)

  - Password to authenticate to service on the mainframe.

- `--reject-unauthorized` | `--ru` (boolean)

  - Reject self-signed certificates.

    Default value: true

- `--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.

    Note: The CLI does not support certificate files that require a password. For more information, search Troubleshooting PEM Certificates in Zowe Docs.

- `--cert-key-file` (local file path)

  - The file path to a certificate key file to use for authentication

#### Examples

- Create an empty PDS with default parameters:

  - `zowe rse-api-for-zowe-cli create data-set-partitioned NEW.PDS.DATASET`