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
 

 

tableBASE views and data table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: tableBASE views and data table
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

Site Director


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

PostPosted: Thu Mar 19, 2009 8:00 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Wed Mar 25, 2009 1:57 am    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Wed Mar 25, 2009 4:15 am    Post subject: Reply to: tableBASE views and data table
Reply with quote

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

http://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    Post subject:
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    Post subject: Re: Reply to: tableBASE views and data table
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm


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