Hi,
I am very new to the mainframes and find this confusing. Is there any difference between the table in Cobol and db2? If they are different is there a significance of using the same name for both? Thanks for you help.
is there a difference between the table in Cobol and db2?
-
- Global Moderator
- Posts: 490
- Joined: Sun Aug 25, 2013 7:24 pm
Re: is there a difference between the table in Cobol and db2?
They are very different.
They use the same name because one comes from nomenclature in the development of the COBOL language in 1959 and one comes from the nomenclature of the development of the idea of the relational database model in the years up to 1970.
It is unfortunate, but there it is. Just treat the words entirely separately in their own contexts.
They use the same name because one comes from nomenclature in the development of the COBOL language in 1959 and one comes from the nomenclature of the development of the idea of the relational database model in the years up to 1970.
It is unfortunate, but there it is. Just treat the words entirely separately in their own contexts.
Re: is there a difference between the table in Cobol and db2?
A table in COBOL is the equivalent of an array in other languages - however, use 'table' and not 'array' when speaking about COBOL.
Regards
Nic
Nic
Re: is there a difference between the table in Cobol and db2?
William Collins wrote:They are very different.
They use the same name because one comes from nomenclature in the development of the COBOL language in 1959 and one comes from the nomenclature of the development of the idea of the relational database model in the years up to 1970.
It is unfortunate, but there it is. Just treat the words entirely separately in their own contexts.
Thanks William. Yes, it can be due to nomenclature, I did not think in that direction. Appreciate your reply.
Re: is there a difference between the table in Cobol and db2?
Yes, that's what I was confused as in language C we learned about arrays only. But this is a good point. I shall remember it, it will make more professional.nicc wrote:A table in COBOL is the equivalent of an array in other languages - however, use 'table' and not 'array' when speaking about COBOL.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute