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.

System and Other Functions$ZUTIL(69,2)Sets sequential file open mode system-wide default.$ZUTIL(69,2,n)$ZU(69,2,n)ParametersnThe boolean value that specifies the system-wide default mode for sequential fileson OPEN. The options are: 0=Read-only, 1=Read/Write.DescriptionUse $ZUTIL(69,2) to specify the system-wide default open mode for sequential files whenan OPEN command is issued with no mode parameter specified. The two available modesare open for read-only (0) and open for reading and writing (1). On OpenVMS systems, thedefault value is 1. On all other platforms, the default value is 0.Invoking $ZUTIL(69,2) without specifying n returns the current switch setting.This configuration default cannot be changed using the System Management Portal.Setting $ZUTIL(69,2) overrides the default system-wide; it does not change the systemconfiguration setting.This open mode default option can be set for the current process by calling $ZUTIL(68,2).ParametersnThe switch that determines the system-wide default mode for sequential files on OPEN: 0means R is the default; 1 means RW is the default. The native default mode for this switchis 0 ("Read").ExampleThe following example sets the open mode default, then opens a sequential file:638 <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!