mkdir - UDM Command

Syntax

mkdir logical-name=directory

Description

The mkdir command creates the specified directory.

There is no default directory.

The command is valid only for the hfs file system.


IBM i

hfs supports the root and QOpenSys file systms under IFS.

z/OS

hfs supports the UNIX System Services file system.

Parameters

Parameter

Description

logical-name

Logical name of the transfer server to execute the mkdir command.

directory

Name of the directory to create. This can be a relative path.

Examples

The following examples assume that the logical name remotesys is valid.


To create the /home/max/tmp directory:

mkdir remotesys=/home/max/tmp

Windows

The example would be:


mkdir remotesys=C:\home\max\tmp


To create the directory /home/max/tmp/abc using a relative path, assuming that the current directory is /home/max/ and that /home/max/tmp exists.

mkdir remotesys=tmp/abc

Windows

The example would be:


mkdir remotesys=tmp\abc