Glb.Destination is a read-writable built-in segment attribute that is used with automatic entries. For external automatic entries, it specifies the name of the target application database. For internal automatic entries, it is set to the Glb.Self or Glb.Spaces values. For OLTP it is set to the OLTP service name.
If the automatic entry is directed to an external system (or to the LINC/USER interface program), set Glb.Destination to NON.LINC.
If the automatic entry is directed to a NOF program, set Glb.Destination to NON.FORMAT, and set the Glb.DestNoForm built-in segment attribute to the name of the specific NOF program.
Glb.Destination is reset at the start of each ispec or report. However, it is not reset after invoking the Initialize built-in ispec method, and in this instance, should be reset manually as required.
Errors
If Glb.Destination is set to an invalid name when the Store built-in method is called, the Glb.Status built-in segment attribute is set to NODB.
Properties
Length = 15
Primitive = String