IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Difference between table and array


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mathumitha

New User


Joined: 19 Dec 2005
Posts: 3

PostPosted: Mon Dec 19, 2005 11:56 am
Reply with quote

Hi all!

Could you please make it clear on diff between table and array

Mathumitha
Back to top
View user's profile Send private message
veenag_gopal

New User


Joined: 14 Nov 2005
Posts: 14
Location: India

PostPosted: Mon Dec 19, 2005 12:14 pm
Reply with quote

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
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Mon Dec 19, 2005 12:36 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:

Back to Top