13.07.2015 Views

Caché Upgrade Checklists - InterSystems Documentation

Caché Upgrade Checklists - InterSystems Documentation

Caché Upgrade Checklists - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Caché</strong> 2008.2 <strong>Upgrade</strong> Checklist7.2.5.12 %Library.File Default DirectoryIn the class, %Library.File, the following methods will use the value of $ZUTIL(168) (the current default directory), if novalue is specified for the directory argument:• GetDirectory()• GetDirectoryLength()• GetDirectoryPiece()• GetDirectorySpace()7.2.5.13 %Stream.FileBinary And %Stream.FileCharacter Classes AddedThis version of <strong>Caché</strong> introduces two new classes that correspond to %Stream.GlobalBinary and %Stream.GlobalCharacter.These use the new stream formats but store their data in files rather than globals.The directory where the data is stored can be specified at the property level, for example,property FileStream As %Stream.FileBinary(LOCATION="c:\temp");The older classes, %Library.FileBinaryStream and %Library.FileCharacterStream, are unchanged; they will continue to workas before. However, if writing a new class it is suggested you use these new file stream classes.7.2.5.14 Class %Library.EnumString AddedA new system datatype class has been implemented in this version of <strong>Caché</strong>, %Library.EnumString. This class is identicalto %Library.String except that the string values are restricted to those specified in the VALUELIST parameter of the class:• The LogicalToOdbc method will look up the value of the string in the VALUELIST parameter and display the correspondingvalue in DISPLAYLIST.• The OdbcToLogical method will do the opposite; it looks up the value in DISPLAYLIST and returns the correspondingvalue from VALUELIST.with the addition that VALUELIST->DISPLAY list transformation is done for LogicalToOdbc conversion, and DIS-PLAYLIST->VALUELIST transformation is done for OdbcToLogical conversion.7.2.5.15 Class %SYS.Date.SlidingWindow AddedThis class defines the commonly used entry points of the %DATE utility. The %SYS.Date.SlidingWindow class supportsentry points for inspecting, setting and modifying the system-wide or process-specific sliding window definitions. Eachclass method with the exception of GetSystem() and GetProcess() returns a status indicating success or failure.The %SYS.Date.SlidingWindow class implements almost all entry points of the %DATE utility and with this change makesthis mechanism available to all <strong>Caché</strong> scripting languages. The functions of %DATE are implemented with slightly differentnames in %SYS.Date.SlidingWindow to make them more readable.Note:The %DATE utility is now deprecated. It will be removed from <strong>Caché</strong> distributions in some future version.Existing applications should convert to using the methods of %SYS.Date.SlidingWindow.The following functions of %DATE are not implemented in %SYS.Date.SlidingWindow and will no longer beavailable once %DATE is removed from <strong>Caché</strong> distributions: CvtAbsStart, CvtAbsEnd, CvtRelStart, CvtRelEndand LEAP.180 <strong>Caché</strong> <strong>Upgrade</strong> <strong>Checklists</strong>

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

Saved successfully!

Ooh no, something went wrong!