2014.11.07 MSS Code Factory 1.11.12548 DB/2 LUW Chains partially tested, do not download yet

I've confirmed that the DB/2 LUW sp_create properly links the data in the valdef table
during testing, and that MoveUp and MoveDown function correctly as well.  However,
the sp_deletes do not properly unlink data, but leave it all as nulls after the next
sp_create invocation.  I suspect the root problem is that the deletes are leaving
more than one row with a null prev/next link (which indicates the head and tail of
the double-linked list that forms a Chain), which is subsequently resulting in the
queries for the head and tail during the sp_create to populate the fetch buffers
with nulls (the documentation suggests that if more than one row is returned by
a select...into... statement, nulls will be fetched because the query doesn't
know which row to use.  PostgreSQL, on the other hand, randomly selects data
from the first row.)

It looks like I'll be investigating for a while yet this morning.