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 />

TODAYS-YEAR<br />

TRANNO<br />

GLB.TODAYS-MONTH-NUM is a synonym for TODAYS-MONTH-NUM.<br />

Note: TODAYS-MONTH-NUM causes a syntax error in LDA. Use<br />

GLB.TODAYS-MONTH-NUM instead.<br />

For more details, see ‘‘TODAY’’, earlier in this section.<br />

LENGTH = 2 EDIT = N<br />

TODAYS-YEAR is a read-only System Data item that holds the two-digit year part (within<br />

the century) of the date that an Ispec transaction was initiated, or the date a Report was<br />

started (or restarted after a SLEEP; command). If debug date and time is activated, it holds<br />

the year part of the debug date.<br />

GLB.TODAYS-YEAR is a synonym for TODAYS-YEAR.<br />

Note: TODAYS-YEAR causes a syntax error in LDA Run Time. Use<br />

GLB.TODAYS-YEAR instead.<br />

For more details, see ‘‘TODAY’’, earlier in this section.<br />

LENGTH = 2 EDIT = N<br />

TRANNO contains a number (in the range 000001 through 999999), that is incremented by<br />

one for each transaction, according to the rules shown in the following table.<br />

Host TRANNO is incremented for......<br />

MCP based Transactions that update the database or change the contents of<br />

GLB.WORK. It is not incremented for inquiry transactions that do not modify<br />

GLB.WORK.<br />

OS 2200 based All transactions that do not set GLB.ERROR to *****, and are not in<br />

recovery<br />

UNIX All transactions that do not set GLB.ERROR to *****, and are not in<br />

recovery<br />

It is used for both Component and Event transactions, but is included only in the Event<br />

record on the <strong>LINC</strong> database.<br />

TRANNO values are unique for each transaction sent from a station (username).<br />

2-78 v

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

Saved successfully!

Ooh no, something went wrong!