Glb.Error is a read-writable built-in segment attribute that specifies, for persistent ispecs, whether to perform the automatic update of input data; or for the Store built in method, whether to perform an internal automatic entry.
It determines the processing path through the segment cycle.
Ispec automatic updates
The automatic update that is performed at the end of the Main method for persistent ispecs (or at the end of the Main method on each iteration of a copy cycle) is executed only if Glb.Error is set to Glb.Spaces at that time.
Internal automatic entries
The Store built-in method causes a database update if Glb.Error is set to Glb.Spaces at the time it is called, unless it fails a system check (for example, the same value has been used more than once as a ispec key value).
The database update takes place immediately. Any subsequent setting of Glb.Error has no effect.
If Glb.Error is not set to Glb.Spaces at the time the Store method is called, the new record is not stored, and no automatic entries are performed.
This has no effect on any Store method calls earlier in the ispec logic.
Flag
A Flag logic statement causes a database update regardless of the value of Glb.Error.
Message or Recall
Glb.Error is set to "*****" when Message or Recall logic statements are executed in ispec logic.
Properties
Length = 5
Primitive = String