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.

GLB.2PC<br />

INPUT-DATE<br />

System Data Item Descriptions<br />

GLB.ZEROS can be used to compare or set any numeric data item, regardless of its length,<br />

to zero.<br />

Note: The length defaults to 1 in complex MOVE; commands.<br />

LENGTH = Indefinite EDIT = N<br />

GLB.2PC can be used to change the default transaction commit level for an External<br />

Automatic Entry. Its default value is set by the value in the Two phase commit field on<br />

the Primary Specification Options screen.<br />

$ To change to two-phase commit, set GLB.2PC to Y.<br />

$ To change to immediate commit, set GLB.2PC to N.<br />

GLB.2PC must be set before the first external Automatic Entry in a transaction.<br />

For OLTP external Automatic Entries, the setting of GLB.2PC remains in effect only for the<br />

current transaction.<br />

For Hub external Automatic Entries, a change to GLB.2PC from Y to N will be ignored, and<br />

GLB.2PC will be treated as Y for all subsequent external Automatic Entries in that<br />

transaction. A change from N to Y after the first external Automatic Entry will be<br />

recognized. This permits the user to perform an initial non-2PC external Automatic Entry<br />

inquiry and then to do a 2PC global transaction for the updates.<br />

In Reports, the transaction commit level can be changed after each CRITICAL.POINT; or<br />

SLEEP; command.<br />

In a chain of external Automatic Entries, the commit level will be that imposed by the<br />

ultimate originator.<br />

Note: For an MCP based <strong>LINC</strong> System, moving Y to this System Data item will have<br />

no effect if the REAPPLYCOMPLETED/INDEPENDENTTRANS option is set to<br />

N on your Global Database DASDL Options screen.<br />

For further details, see the description of external Automatic Entries in "Interfacing to<br />

Other Systems",inthe<strong>LINC</strong> Administration and Operations Guide for the relevant host<br />

type.<br />

LENGTH = 1 EDIT = A<br />

INPUT-DATE contains the date on which a transaction is initiated. Its value is derived from<br />

that displayed in the Ispec screen header, (not from the date of transmission). Therefore, if<br />

debug date and time is activated, it contains the debug date.<br />

v 2-71

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

Saved successfully!

Ooh no, something went wrong!