

It doesn't matter where you save the database, as long as you can find it again later.
shared_resources/plugins/com.ibm.etools.egl.tutorial0001.doc_version/resources/EGLDerbyR7.zip
You do not need to change the User ID or Password fields.
install_location/runtimes/base_v61/derby/lib
shared_resources/plugins/com.ibm.datatools.db2.cloudscape.driver_version/ driver


You must still configure the build descriptor to use this database connection at run time.


package progams;
import eglderbyr7.data.Customer;
program databaseTest type BasicProgram {}
function main()
customer Customer;
open allResults for customer;
SysLib.writeStdout("#"::" Customer name");
forEach (customer)
SysLib.writeStdout(customer.CustomerId::" "
::customer.FirstName::" "::customer.LastName);
end
end
end
Before you can run the program, you must disconnect the database tools from the database. Derby allows only one connection at a time, and the tools EGL used to create the data parts and set the values for hte build descriptor remain connected until you close the connection.

If you see an error message instead of the output in the Console view, see Troubleshooting.