DISABLE AND REMOVE the Secondary database and the Secondary system as follows:
DISABLE WINDOW, <window name of the Secondary System>
DISABLE DB, <database name of the Secondary System>
Check whether the Secondary system is still linked to RDBSUPPORT via LINC17/1/LIBRARY or NGENxx/1/LIBRARY
If it is still linked, use the following command to delink RDBSUPPORT from LINC17/1/LIBRARY or NGENxx/1/LIBRARY:
<mix#>AX DELINK RDBSUPPORT
where, <mix#> is the mix number of LINC17/1/LIBRARY or NGENxx/1/LIBRARY
Remove the Secondary system and database by:
REMOVE (<usercode>)<secondary system>/= ON <pack>
REMOVE (<usercode>)<database name>/= ON <pack>
REMOVE (<usercode>)DESCRIPTION/<database name> ON <pack>