View previous topic :: View next topic
|
Author |
Message |
mathumitha
New User
Joined: 19 Dec 2005 Posts: 3
|
|
|
|
Hi all!
Could you please make it clear on diff between table and array
Mathumitha |
|
Back to top |
|
|
veenag_gopal
New User
Joined: 14 Nov 2005 Posts: 14 Location: India
|
|
|
|
Tables are in DB2 and arrays are in the cobol language itself.
But in the cobol language also we can make a table by using occurs clause.
If our datas are in the PS file,then the search is possible by using occurs clause in the cobol program.
By using occurs clause , we can divide the table into individual fields and then we can load the records into the occurs clause variable by using a read or a search or search all command.
Conclusion is we have tables in DB2 as well as Cobol program. |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
Hi frnd,
Adding to veenag_gopal... Table is easy to acces than array. it may have less risk to manipulate. but arrays should have more attention to handle.. table and the content of the table can be described or viewed easily but the array description and array view is not easy to view at all time.. |
|
Back to top |
|
|
|