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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DETERMINE; (DT) Commands<br />

Handling of Duplicate Keys in MCP based <strong>LINC</strong> Systems<br />

For an MCP based <strong>LINC</strong> System, the order in which records with duplicate key values are<br />

retrieved depends upon the setting of the Duplicates First/Last Profile DASDL option, as<br />

shown in the following table.<br />

Duplicates DT Command Order of Duplicates<br />

FIRST FROM Reverse order to that of entry<br />

FIRST BACK Order of entry<br />

LAST FROM Order of entry<br />

LAST BACK Reverse order to that of entry<br />

blank FROM/BACK Physical order of records in database (note that<br />

this may change during a reorganization)<br />

A database reorganize or garbage collect may alter the order of Duplicates First/Last<br />

entries. For further details, see your Data and Structure Definition Language (DASDL)<br />

<strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong>.<br />

DETERMINE; Commands in ORACLE <strong>LINC</strong> Systems<br />

The following issues can arise with UNIX ORACLE <strong>LINC</strong> Systems:<br />

$ DETERMINE; BACK and DETERMINE; LAST command performance<br />

ORACLE has no direct means of reading a Profile in reverse order. When executing<br />

these commands, ORACLE may read and sort the entire Profile (table) to obtain the<br />

required records.<br />

$ Inappropriate ORACLE Index Selection<br />

On occasion, ORACLE may select the wrong index (Profile) where the Indexes have<br />

identical keys but in a different order. This can have performance implications for your<br />

<strong>LINC</strong> System.<br />

These issues and suggested solutions are described in your UNIX <strong>LINC</strong> Administration<br />

and Operations Guide.<br />

DETERMINE; Commands Over Multiple Logic Lines<br />

DETERMINE; commands can be written over multiple lines, provided that line breaks<br />

occur within the parentheses, and a line does not commence with a right parenthesis.<br />

In DETERMINE; GROUP commands, the first line may break before any data item within<br />

any of the parentheses sets.<br />

1-88 v

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

Saved successfully!

Ooh no, something went wrong!