by rg400005 » Thu Mar 02, 2017 4:45 am
Hi Richard,
the point is the dds have the same name: which one will win ?
But I have found a a way, not perfect, but for the jumpstart it works.
Step 1: copy the 1st container datadir
Step2: append data from the other containers.
Then either do it again, when u have changed dd in the containers.
Or start with this containers but deliver only the containers u need plus this data dictionary with all entries or write some code, which separates the data for the containers u are deploying.
The trick is :
Append only the record which has the key for the other containers.
BR Rainer
Example
[code]
SET DEFAULT TO "C:\Development\TargetDir\DATA"
USE "C:\Development\TargetDir\DATA\sdataaudit"
APPEND FROM "C:\Development\SourceDir\DATA\sdataaudit"
CLOSE DATABASES ALL
USE "C:\Development\TargetDir\DATA\sdataddck"
APPEND FROM "C:\Development\SourceDir\DATA\sdataddck"
CLOSE DATABASES ALL
USE "C:\Development\TargetDir\DATA\sdataddf"
APPEND FROM "C:\Development\SourceDir\DATA\sdataddf"
CLOSE DATABASES ALL
USE "C:\Development\TargetDir\DATA\sdataddfh"
APPEND FROM "C:\Development\SourceDir\DATA\sdataddfh"
CLOSE DATABASES ALL
USE "C:\Development\TargetDir\DATA\sdataddgk"
APPEND FROM "C:\Development\SourceDir\DATA\sdataddgk"
CLOSE DATABASES ALL
USE "C:\Development\TargetDir\DATA\sdataddit"
APPEND FROM "C:\Development\SourceDir\DATA\sdataddit"
CLOSE DATABASES ALL
USE "C:\Development\TargetDir\DATA\sdataddsi"
APPEND FROM "C:\Development\SourceDir\DATA\sdataddsi"
CLOSE DATABASES ALL
USE "C:\Development\TargetDir\DATA\sdataddtv"
APPEND FROM "C:\Development\SourceDir\DATA\sdataddtv"
CLOSE DATABASES ALL
USE "C:\Development\TargetDir\DATA\sdataddd"
APPEND FROM "C:\Development\SourceDir\DATA\sdataddd" FOR "OtherTable" $ CNAME
browse
CLOSE DATABASES ALL
[/code]