Rick, I have gotten your test to work. Thanks for pointing out the explanation for the problem. I have made changes in your makefile, the test script (now called cdbs_sql_gen.sh), and the data in the expanded log files (only image data can be expanded). In subsequent email messages I'll send you those files. Any future deliveries should include the changes. Thanks. Steve