If you go to the thread called Useful DB2 Stuff, you can find the link to download the DB2 manuals. You need the Command Reference. Look in the chapter that deals with the Command Line Processor (CLP). If you are dealing with jdbc or some other interface, you might check out the applciation development manual.