If you chose to write a script file (that's how we do it), you can get a pretty good jumpstart with GENDBC.prg in your HOME() + "tools/gendbc" directory.
Be careful to modify it though, it wants to recreate all the tables as well.
M.
Marty Smith, CSQE