Required files. Transfer these to your student account, to be used on rees:
To use the provided sample on rees:
> source /u/db2cs448/sqllib/db2cshrc (if you are using csh or tcsh) or $ . /u/db2cs448/sqllib/db2profile (if you are using sh or bash)
> db2 -tvf dbcreate.db2
> Make > ./sample
Required files. Transfer these to your student account, to be used on any machine in the student.cs environment, not just rees:
Here is a tutorial on using JDBC in the student.cs environment. It has detailed instructions on how to compile and run the sample program.