Regarding Test Case - you are supposed to have the
1. component that you are testing
2. Test condition
3. Input that you give to test your component
4. The Result that you expect
5. The result that you have obtained.
The test case should be in such a way that you have all the positive and negative conditions..
Regarding DB2 and CICS..how do you write a jcl to link both...
One thing can be done is that.. You may have a CICS program where you code the JCL in the working storage section which may use DB2. And so the JOB can be submitted via Internal Card Reader.