Migrating Schema Changes Between Systems
From SDU
Migrate from development to test/production environment
This is deeply described in Modification Guide, but it that routine you must run Web Screen Painter on the destination production server. Here is step by step manual how to do unattended replication:
- On devel environment open Web Screen Painter and using Schema Designer make your required changes
- Save all changes
- Select File - Save and Publish in Schema Designer
- Extract wspcol and wsptbl tables
pdm_extract wsptbl > wsptbl.txt pdm_extract -f "SELECT column_name,dbms_name,description,display_name,is_cluster,is_descending,is_indexed, is_local,is_not_null,is_order_by,is_required,is_skey,is_unique,is_write_new,is_wsp,last_mod_dt,on_ci_set,on_new_default, schema_name,status,string_len,table_name,type,xrel_table FROM wspcol" > wspcol.txt
- Copy these files from source to destination environment (can be done in unattended patch)
- On the destination server run
pdm_load -if wsptbl.txt pdm_load -if wspcol.txt
- Stop Service Desk
- Run pdm_publish
- Run Service Desk
Optional Steps
If you want to save SCH and MOD changes in your own file with better name, follow these steps: