UNIX and SQL scripts for a DB2 DPF database