mkdir

This command makes a new directory in the datagrid.

Syntax

zos mkdir path [--parents] 

Arguments

path

The path on the datagrid.

Options

-p, --parents

Creates parent directories if needed.

-C, --cols=<value>

Specifies the terminal width for formatting. The user must enter a value with this option.

-h, --help

Displays a help message for this operation.

-d, --debug

Turns on debug output during this operation.

-v, --verbose

Turns on verbose output during this operation.

-z, --tls=<value>

Force TLS/SSL encryption [on|off]. The user must enter a value with this option.

-Z, --tlsPort=<value>

Port number for TLS/SSL connections. The user must enter a value with this option.

-y, --tlsYesNew

Force acceptance of new TLS server certificates.

-Y, --tlsYesAll

Force acceptance of all TLS server certificates.

Examples

Example 1

To create a new directory name images under the DataGrid root, you would use the following command:

zos mkdir grid:///images

Example 2

To create a new directory in the job deployment area for the job myjob, use the following command:

zos mkdir grid:///!myjob/newdir