Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Synonym Question
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] Synonym Question
 Login/Join
 
Member
posted
When creating a synonym, is there an equivalent to the MORE command used in fex files? In other words, I want to create a new synonym from two existing synonyms. The existing synonyms have the same fields but different data sources. I want my new synonym to have the same number of fields as the existing synonyms but contain the data from both.

How do I go about doing that?

All advice appreciated. Thanks.
STEVE

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8201
Excel, PDF, HTML
 
Posts: 9 | Location: Charlotte, NC | Registered: February 02, 2018Reply With QuoteReport This Post
Virtuoso
posted Hide Post
So you want to concatenate the two identical data structures? What's the DBMS?


WebFOCUS 8206, Unix, Windows
 
Posts: 1714 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Member
posted Hide Post
One source is an Oracle table and the other is an imported Excel file.


WebFOCUS 8201
Excel, PDF, HTML
 
Posts: 9 | Location: Charlotte, NC | Registered: February 02, 2018Reply With QuoteReport This Post
Virtuoso
posted Hide Post
I doubt you can create a single synonym that does that. The first thing that comes to mind is to create two reports that extract the columns you want and HOLD FORMAT FOCUS. Then apply USE command to virtually concatenate the two hold files.


WebFOCUS 8206, Unix, Windows
 
Posts: 1714 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Gold member
posted Hide Post
quote:
Originally posted by Steven L Carter:
One source is an Oracle table and the other is an imported Excel file.


You can create a Synonym off of the imported excel file and join both

oracle table and synonym from the excel. I have done it and it works fine.

Thanks


WebFOCUS 8
Windows, All Outputs
 
Posts: 56 | Registered: May 26, 2017Reply With QuoteReport This Post
Expert
posted Hide Post
Once you have two JOINable synonyms, you should be able to create a 'Clustered Synonym' from that.
 
Posts: 3045 | Location: Middle Tennessee [8204M Gen48 in Test&Prod] | Registered: February 23, 2005Reply With QuoteReport This Post
Virtuoso
posted Hide Post
I think Steve wants to concatenate the two tables not join them.


WebFOCUS 8206, Unix, Windows
 
Posts: 1714 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Member
posted Hide Post
Correct. If I were just writing a request, it would be the MORE command I would use. But since we are talking master files, I'm not sure how to (or if it is even possible to) proceed.


WebFOCUS 8201
Excel, PDF, HTML
 
Posts: 9 | Location: Charlotte, NC | Registered: February 02, 2018Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Steve

I thought Babak's idea of creating 2 FOCUS hold files and then the USE command for concatenating them was brilliant and a solid answer to your problem.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
 
Posts: 1694 | Location: Customer Support | Registered: April 12, 2005Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Synonym Question

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.