Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm
No new posts Dynamic array request/response contai... Suja.Sai CICS 2 Tue Jan 24, 2017 11:37 am
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us