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

tableBASE views and data table


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
aneeshco

New User


Joined: 29 Apr 2008
Posts: 6
Location: tvm

PostPosted: Thu Mar 19, 2009 1:17 pm
Reply with quote

Can anyone please tell me what's the difference between tableBASE data table and views?
I have just started working with tableBASE and we create both data tables and views with the same name.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Mar 19, 2009 8:00 pm
Reply with quote

Hello,

Tables store data.

Views are a way to "look at" a table.

Usually a view with the same name as a table contains all of the columns of that table.
Back to top
View user's profile Send private message
aneeshco

New User


Joined: 29 Apr 2008
Posts: 6
Location: tvm

PostPosted: Tue Mar 24, 2009 7:11 pm
Reply with quote

Thanks.
I have inserted some rows into the tableBASE table, but I cannot see those rows when I browse through the view option in tablesONLINE.
Do we need to insert separately in both tables and views?
Please clarify
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Mar 25, 2009 1:57 am
Reply with quote

Hello,

Quote:
I have inserted some rows into the tableBASE table,
How were the inserts verified?
Quote:
cannot see those rows when I browse through the view option
On every system i've used, there is a big difference between a "view" (which is part of the database structure) and the view option (which allows things to bee seen but not updated). . .
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Mar 25, 2009 4:15 am
Reply with quote

are You referring perchance to tableBase as in this link ??

www.dkl.com/documents/mainframe-products.html

it is not an IBM tool !
Back to top
View user's profile Send private message
aneeshco

New User


Joined: 29 Apr 2008
Posts: 6
Location: tvm

PostPosted: Wed Mar 25, 2009 12:10 pm
Reply with quote

[quote="dick scherrer"]Hello,

Quote:
How were the inserts verified?


I was able to see the data that I had inserted using the browse table option(option1) in tablesONLINE. Where as when I select the browse rows(option2), it says the view is empty.
Does this mean we have to insert the data both in table and view?
I have created the view using the TBEXEC utility(JCL) and giving TTYPE=V
Back to top
View user's profile Send private message
aneeshco

New User


Joined: 29 Apr 2008
Posts: 6
Location: tvm

PostPosted: Wed Mar 25, 2009 12:53 pm
Reply with quote

Quote:
are You referring perchance to tableBase as in this link ??
it is not an IBM tool !


Yes, I am.
Sorry, I guess, I posted it in the wrong section.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 1
No new posts Store the data for fixed length COBOL Programming 1
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 Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
Search our Forums:

Back to Top