|
Initial reply from IBM on this is: it's the SRTSEQ attribute of the table.
System value QSRTSEQ is *LANGIDSHR which is then propagated through job descriptions and the RUNSQLSTM command creating the table. The table ends up with a SRTSEQ of QSYS/QLA10025S. (upper/lower case considered equal).
I asked some questions, so stay tuned for more info . . .
Jeff Crosby wrote:
I opened a PMR.
Here's an interesting tidbit. Just because, I did the following:
CRTDUPOBJ OBJ(DMITMMST) FROMLIB(DBMSTF) OBJTYPE(*FILE)
TOLIB(JEFF) CST(*NO) TRG(*NO)
Note that I said CST(*NO). A DSPFD on the newly created file says:
Number of constraints . . . . : 0
but further down the DSPFD says:
Access Path Description Access path maintenance . . . : MAINT *IMMED Unique key values required . : UNIQUE Yes Access path journaled . . . . : No Access path . . . . . . . . . : Keyed Constraint Type . . . . . . . : NONE Number of key fields . . . . : 1 Record format . . . . . . . . : MBRECORD
Key field . . . . . . . . . : ITNBR Sequence . . . . . . . . : Ascending
Sign specified . . . . . : UNSIGNED
Zone/digit specified . . : *NONE Alternative collating seq : Yes So there's no 'constraint' but there's still a unique access path. Furthermore I *was* able to do an ALTER TABLE and *add* a unique constraint on ITNBR in this duplicated file.
Are we having fun yet?
rob@xxxxxxxxx wrote:
Keep me posted. One attendee at the session said he built the recommended index and it still wanted him to build the recommended index. I'm curious if that is the case, or the unique constraint, or ...
By the way, the person who really shines at these sessions is an IBMer by the name of Tom McKinley. He's the "John Sears" of our time.
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.