I've seen the tip about using the LOAD command to truncate a table and this command works just fine for me from a Command Editor.
load from E:\DB2\emptyfile.txt of del replace into tbl_hours;
Now what I want to do is put that into a stored procedure (language=sql). In SQL Server there is a thing called xp_cmdshell that will let you send commands to the OS. I'm not even sure if it's something like that I need to have or is there just some way I can run this in my SP.
tia, Blaise
version info follows:
OS = Windows Server 2003
================================================== ========
About DB2 Administration Tools Environment
================================================== ========
DB2 administration tools level:
Product identifier SQL08020
Level identifier 03010106
Level DB2 v8.1.7.445
Build level s040812
PTF WR21342
================================================== ========
Java development kit (JDK):
Level IBM Corporation 1.4.1
================================================== ========