Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Difference between table and array

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Difference between table and array
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    Post subject: Table & Array
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: 680
Location: NJ

PostPosted: Mon Dec 19, 2005 12:36 pm    Post subject: Array & table
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us