Ensure that the database has all of the required tables.  Create DCLGEN (Declaration Generator). This step is completely voluntary. Only do that if it's really necessary.  Compile the software ahead of time.  Perform the Link Edit operation and then compile the application.  Perform DB2 BIND.  Carry out the Programming.