Using pipes to load data in DB2 for Linux, UNIX, and Windows

http://www.ibm.com/developerworks/data/library/techarticle/dm-1002db2pipes/

Summary:  Moving data from a source database to IBM® DB2® for Linux®, UNIX®, and Windows® can be a challenge; particularly when the source database is quite large and you do not have enough space available to hold the intermediate data files. The sample code provided and described in this article, provides you with a means to use a pipe to load data into DB2 in Windows and UNIX environments without using intermediary files.