I would suggest you to have a look at the samples that are shipped with DB2. You can find these samples at SQLLIB/samples/cobol directory.
In this directory, you will find many samples that will tell you how you can perform basic operations on databases like creating tables, inserting, selecting and displaying rows from tables etc, and many more.
Please do let me know about your feedback on these samples.
Comment