11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

System and Other Functions$ZUTIL(140)Returns file, directory, and disk information and performs file operations.$ZUTIL(140,1,name)$ZUTIL(140,2,name,timeflag)$ZUTIL(140,3,name,timeflag)$ZUTIL(140,4,name)$ZUTIL(140,5,name)$ZUTIL(140,6,name,newname)$ZUTIL(140,7,name)$ZUTIL(140,9,name)$ZUTIL(140,10,name)$ZUTIL(140,11,source,destination)$ZUTIL(140,12,name,mode)$ZUTIL(140,13,dir)The $ZU abbreviation can be used with above syntax.ParametersnametimeflagnewnamesourcedestinationmodedirThe name of the file or directory on which to perform the operation,specified as a quoted string.Optional — A boolean value specifying how to return a time value. Theavailable options are local (0), or UTC (1). The default is 0.For $ZUTIL(140,6), the file name used to rename the file. Specified as aquoted string.For $ZUTIL(140,11), the name of the file or directory used as the sourcefor a copy operation, specified as a quoted string.For $ZUTIL(140,11), the name of the file or directory used as thedestination (target) for a copy operation, specified as a quoted string.For $ZUTIL(140,12), an integer specifying the operating systempermissions to check. Available values are 0 through 7, which correspondto all possible bit mask combinations.For $ZUTIL(140,13), a disk name or directory pathname, specified as aquoted string.Description$ZUTIL(140) provides a (largely) platform-independent interface to retrieve operating systeminformation, such as attributes of a file or directory, and to create or delete files or directories.You can return a variety of file attributes for a specified file or directory using this function.708 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!