Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Create / Define Virtual table ?????

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Create / Define Virtual table ?????
 Login/Join
 
Gold member
posted
Can I create / define a virtual table and add some records into ?
 
Posts: 55 | Registered: May 15, 2004Report This Post
<pranasH>
posted
1. Usualy "TABLE FILE ... ON TABLE HOLD AS " is enogth. It creates temproary table.

2. Check "MODIFY" in docs.
It is possible to import e.g. CSV file content ito some writable "virtual table" e.g. FOCUS

Use 1. if possible!

Pranas
 
Report This Post
Master
posted Hide Post
Maintain is the best way to do this... I know that I am biased, but it's Maintain that has the "stack" construct - essentially an array with data types that can vary column - by - column -- that makes this relatively easy.

Maintain has batch copy commands that let you add multiple rows to a virtual dataset. You can use SQL passthrough commands to create a database on any platform and check SQL passthrough error messasges. Pretty slick.

What's more, if you have DevStudio full developer's edition, you can develop the applications without an additional license, and you only have to worry about licensing if you want to deploy the application to a WebFOCUS server.
 
Posts: 919 | Registered: March 26, 2003Report This Post
Expert
posted Hide Post
Ringo, here's how i do it.
I join A to B, eg where A has 12 rows and B has 10;
Low and behold the result of the join will have 12 rows and you can define stuff.
TABLE FILE CAR
BY COUNTRY NOPRINT
ON TABLE HOLD AS H1
END
TABLE FILE CAR
SUM SALES BY COUNTRY BY CAR BY MODEL
IF COUNTRY IS 'ENGLAND'
ON TABLE HOLD AS H2
END
JOIN COUNTRY IN H1 TO COUNTRY IN H2
TABLE FILE H1
PRINT *
END
easy.
or
you can glue a table of empty values
to the bottom of a full table
using MORE syntax.
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Create / Define Virtual table ?????

Copyright © 1996-2020 Information Builders