|
Vern
Right. But primary key constraints, in a typical iSeries environment are actually specified in the DDS.
If you are using SQL DDL and specify the primary keys as constraints, separate from the definition of the table, then, again, you can apply them from the DDL source. That's just a learned thing.
I'm not implying that there isn't some other underlying problem with the save and restore, but, with full SQL DDL sources, you should be able to readily repair any constraint damage caused by the save restore, and only have to rely on the table data making it back.
Managed DDL sources have everything ordered by drop, create table, create primary keys, create unique keys, create inversion keys, create foreign keys, create value constraints. They can then be applied by range, even in the CA SQL execution utilities.
Question, did you ever resolve if the save was done with ACCPTH(*YES)?
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.