Used with Distributed (Multiplatforms) only. The DSDIR function returns the name of the directory in which a file type datastore resides.
Category
Specialized
Syntax
DSDIR(datastore)
Parameter and Description
Parameter | Description |
---|---|
datastore | This parameter specifies the physical name of a file type datastore on a distributed (UNIX, Windows, etc.) platform. |
Example
Return the name of the directory that contains the file type datastore with the name of source.dat and map it to FILE_DIRNAME.
TARGET_DIRNAME = DSDIR (source.dat)