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.
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..