DIRNAME

Generated from C.60.01 /SYS/PUB/CICAT last modified on Thu Jan 11 09:18:52 2001

Back to Main Index


Syntax:     DIRNAME(string)

Defn:       A CI evaluator function that returns the directory
            components of an MPE or POSIX filename.  MPE filenames
            are translated to POSIX pathnames before extracting the
            directory portion of the name.

Type:       String

Example:    dirname('a.b.c')
Result:     /C/B
Example:    dirname('a')
Result:     .
Example:    dirname('/a/b/c')
Result:     /a/b
Example:    dirname('/')
Result:     /
Example:    dirname('*feq')
Result:     
Example:    dirname('$null')
Result:     
Example:    dirname('./a/b')
Result:     ./a
Example:    dirname('./a')
Result:     .

Back to Main Index