Page 1 of 1

Cobol DB2 sample code

PostPosted: Thu Jul 16, 2015 12:16 pm
by som07
Hi,
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?
:?: :?:

Re: Cobol DB2 sample code

PostPosted: Thu Jul 16, 2015 2:28 pm
by prino
So you're going to tell me that oursourcers nowadays take on clueless newbies and outsource their training to sites like this?

And if this homework, go back to your course material and start reading it again, or ask your tutor!

Re: Cobol DB2 sample code

PostPosted: Thu Jul 16, 2015 6:33 pm
by Robert Sample
Can someone please provide me a way to do this?
Yes. Start writing code.

The tone of your post makes you come across as someone who has never written a program. The responders on this forum provide help, we don't write code for you. And we are not here to teach you COBOL or DB2. If you have specific questions or problems, we can (usually) help resolve those -- but just asking us to write a program for you is not going to get you many responses. And if we do respond, since you are asking for professional work product, you should expect to pay for professional work product. The rate you would be charged would be in the 500 to 1500 US dollars per day for code.

Re: Cobol DB2 sample code

PostPosted: Thu Jul 16, 2015 6:45 pm
by NicC
However, if you are not in an outsourcing company and not in education but just a newcomer to a company then the thing to do is find a similar program in your group.

Re: Cobol DB2 sample code

PostPosted: Fri Jul 17, 2015 1:01 am
by David Jackson
What exactly have you done so far to solve this problem yourself?
Or are we to assume that you have been tasked with this exercise (for which you are likely getting paid) but you expect everybody else to donate their skills and time to providing you with the solution at no charge?

Re: Cobol DB2 sample code

PostPosted: Fri Jul 17, 2015 11:32 am
by som07
Hi All,
Thanks for you replies. I appreciate it. I have written the code and it is working fine :)

Re: Cobol DB2 sample code

PostPosted: Fri Jul 17, 2015 6:56 pm
by Terry Heinze
Sharing your solution, even if only pseudocode, might help others with a similar question.