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.

$ZUTIL(68,28)SET x=$ZUTIL(69,27)WRITE !,"System-wide network hardening:",xSET y=$ZUTIL(68,27)IF y=0 {SET z=$ZUTIL(68,27,1)WRITE !,"Network hardening enabled:",$ZUTIL(68,27)}ELSE {WRITE !,"Network hardening was already enabled"}See Also• $ZUTIL(69,27) Enable/Disable Network Hardening System-wide legacy function• $ZUTIL(67,4) Determine the Process State legacy function$ZUTIL(68,28)Restricts or permits kills of root-level global nodes for the current process.$ZUTIL(68,28,n)$ZU(68,28,n)ParametersnThe boolean value that specifies whether or not a process can kill root-level(unsubscripted) global nodes.DescriptionThe $ZUTIL(68,28) function specifies whether or not a process can kill root-level (unsubscripted)global nodes. By default, the switch for the process is set to zero (0). The defaultfor the system (set through $ZUTIL(69,28)) is also set to zero (0). This means that killing aroot-level node does not generate an error. For example, you can execute the followingwithout an error:KILL ^aInvoking $ZUTIL(68,28) without specifying n returns the current switch setting.You can set the switch for your process so that root-level global node kills are not allowedby issuing $ZUTIL(68,28,1). After you set the switch, any attempt to kill a root-level nodegenerates a error. For details on error format, refer to the$ZERROR special variable.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 617

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

Saved successfully!

Ooh no, something went wrong!