11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - 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.

ParametersnThe boolean switch that determines whether caching is disabled for the current process. 0 =caching enabled. 1 = caching disabled. $ZUTIL(69,39) uses the same values to override thedefault setting system-wide. Note that the boolean values used in $ZUTIL(68,39) and$ZUTIL(69,39) are the opposite of those found in System Configuration.Caching enabled is the system-wide default setting. Setting $ZUTIL(68,39) overrides thesystem-wide setting for the current process.This system-wide default behavior can be configured using the $ZUTIL(69,39) function.See Also• $ZUTIL(69,39) Disable or Enable Caching System-wide function$ZUTIL(68,40)$ZUTIL(68,40)Sets sequential file end-of-file handling for the current process.$ZUTIL(68,40,n)$ZU(68,40,n)ParametersnThe boolean value that sets end-of-file handling for the current process. 0=<strong>Caché</strong>format. 1=MSM format.DescriptionThe $ZUTIL(68,40) function specifies end-of-file flagging format. This function is providedto support the porting of MSM routines that use $ZCYC to check for end of file on sequentialfile reads.Calling $ZUTIL(68,40,1) eliminates the error for sequential files for thecurrent process. Instead, when the end of a file is reached, the READ command returns anull string, the $ZPOS special variable is set to "" (the null string), and the $ZEOF specialvariable is set to -1.Invoking $ZUTIL(68,40) without specifying n returns the current switch setting.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 623

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

Saved successfully!

Ooh no, something went wrong!