PathCreate

Use this function to create the parameter subdirectory path if it does not already exist. The function assumes all of the text you pass in is a path and does not remove any of it before it tries to verify or create the path.

The function creates multiple subdirectories as necessary in an attempt to satisfy the request.

Note The PathCreate and PathExist functions let you create paths and verify that paths exist. These are useful, for instance, if you are trying to create printed output and organize that output into subdirectories on disk. You can do this using one of the print callback methods that support a DAL script.

Syntax

PathCreate (Path)

Parameter

Description

Path

Enter the full path you want the system to verify or create.

The system returns zero (0) if it cannot create the path requested. Anything else means the path now exists, but is not an indication that it had to be created.

Note This function is not valid on the z/OS operating system.

See also