18.08.2013 Views

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

LINC Programming Reference Manual - Public Support Login - Unisys

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 Data Item Descriptions<br />

$ Associated with the response to an AUTO; WRITE command (set by an AUTO; WRITE<br />

command in the OLTP Client)<br />

LENGTH = 8 EDIT = A<br />

GLB.OLTPVALUE<br />

GLB.ORIGIN<br />

This read/write System Data item contains the OLTP application-defined return code:<br />

$ Given in the server, to be returned to the client<br />

$ Received by the client<br />

This value is attached to the response when a server replies to an OLTP-initiated message,<br />

and is made available in GLB.OLTPVALUE following the AUTO; WRITE command in the<br />

OLTP client transaction.<br />

GLB.OLTPVALUE is initialized to zero at the beginning of a transaction in both client and<br />

server, and is set by an AUTO; WRITE command for an OLTP client transaction.<br />

(GLB.OLTPVALUE is not set by a non-OLTP AUTO; WRITE command.)<br />

LENGTH = 9 EDIT = S<br />

GLB.ORIGIN is a read-only System Data item that contains the name of the <strong>LINC</strong> database<br />

from which an Automatic Entry originated. You can compare it to the System Data item<br />

GLB.SELF in your logic, to detect if an Ispec is receiving an Auto Entry from another <strong>LINC</strong><br />

System or not.<br />

GLB.ORIGIN is not implemented in LDA Run Time.<br />

See also the GLB.ORIGINENV and GLB.ORIGINHOST System Data items.<br />

LENGTH = 10 EDIT = A<br />

GLB.ORIGINENV<br />

This read-only System Data item is used only with external Automatic Entries from <strong>LINC</strong><br />

Systems in OS 2200 or UNIX environments.<br />

The value of an Automatic Entry from an OS 2200 environment specifies the originating<br />

<strong>LINC</strong> Environment.<br />

The value of an Automatic Entry from a UNIX environment specifies the ORACLE SID (or<br />

Griffin Universe) of the database for the originating <strong>LINC</strong> System.<br />

The value of an Automatic Entry from an MCP based <strong>LINC</strong> System is spaces.<br />

v 2-39

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

Saved successfully!

Ooh no, something went wrong!