I am a complete newbie and I have to create a COBOL-DB2 code for the following:
1. It should read a file(Fixed block)
2. It should fetch data from table TABLE01 after reading file(Key for table)
3. Write another file with key fetched by table.
Can someone please provide me a way to do this?

