Skip to main content

DIRECTORY Create Subdirectory

Format

DIRECTORY name$[,ERR=stmtref]

Where:

name$

String variable contains the name of the directory to create.

stmtref

Program line number or statement label to which to transfer control.

Description

Use the DIRECTORY directive to create a directory within the operating system's file structure.

Example

directory "DATA"
directory "WRK."+str(dec($00$+gid))
directory "/WORK/WRK1"
directory "/WORK/WRK1/WRK2"