Changing an RPS Mapping

Any change to an RPS mapping, whether to a table or column included in the mapping or to one of the mapping options, causes the schema to be versioned. This in turn requires the schema to be reorganized. For more details, see "Versioning a Schema", in Chapter 13.

When no reorganization is required after a .scm file load, the .ddb or .ddx file can be loaded (as normal) before the reorganization is performed.

If control classes require reorganization after the .scm file load and before the .ddb or .ddx file load, load the .ddbx file (RPS mapping information) before the reorganization, to keep the RPS mappings up-to-date with the schema changes. After the reorganization, the .ddb or .ddx file is loaded as normal, to complete the changes. (When extracting a schema with an RPS mapping and the DDX format style is selected, a separate .ddbx file is produced as for a DDB extract but the file contents are in XML format.)