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,7) Return File Attributes function• $HOROLOG special variable$ZUTIL(140,7)Returns a bitmap of file attributes.$ZUTIL(140,7,filename)$ZU(140,7,filename)ParameterfilenameThe pathname of a file or directory, specified as a quoted string.DescriptionFor $ZUTIL(140) with other second parameter values, refer to $ZUTIL(140).Issuing $ZUTIL(140,7,filename) returns a bitmap that specifies several attributes of the file.The bitmap format is platform-dependent. A value of 1 for a bit specifies that the attributeapplies to the file.$ZUTIL(140,7) returns a negative error code value if an error occurred (the error code issupplied by the host operating system).Windows bit map:Bit Position124MeaningRead-onlyHiddenSystem8163264128256DirectoryArchiveDeviceNormalTemporary712 <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!