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  iWay Software Product Forum on Focal Point    Selecting MultiValue fields in UniVerse
Go
New
Search
Notify
Tools
Reply
  
Selecting MultiValue fields in UniVerse
 Login/Join
 
Member
posted
We are using iDM 764 and UniVerse adapter to connect to UniVerse database. I generated a synonym for a table which has multivalued fields. When I retrieve the sample data for the synonym I am not seeing any data for the mutlivalued columns. Is there any configuration in the master file/synonym I need to do to extract multivalue field data?

EDASPROF has the following-
ENGINE SQLUV SET CONNECTION_ATTRIBUTES UnivDev...
ENGINE SQLUV SET OPENMODE NNF


iSM 616
iDM 7705
iDQC 802
WF 77
Windows 2008 Server
 
Posts: 29 | Registered: May 01, 2007Reply With QuoteReport This Post
Guru
posted Hide Post
According to the R764 doco:
The OPENMODE NNF setting determines how tables with multivalued columns are treated.
For the Adapter for Universe to function properly, OPENMODE must be set to NNF in
edasprof.prf.

Since you already have that, have you tried creating a simple procedure to read the table rather than using the 'Sample Data' option? With some types of data I have seen the Sample Data option not work.


ttfn, kp


Access to most releases from R52x, on multiple platforms.
 
Posts: 346 | Location: Melbourne Australia | Registered: April 15, 2003Reply With QuoteReport This Post
Member
posted Hide Post
Using "Sample Data" wizard and a procedure which has a UV SQL I am able to fetch the data in all the columns in the table except the multivalued columns.

Is there a technique to fetch the data in multi-valued columns other than setting the OPENMODE to NNF?


iSM 616
iDM 7705
iDQC 802
WF 77
Windows 2008 Server
 
Posts: 29 | Registered: May 01, 2007Reply With QuoteReport This Post
Guru
posted Hide Post
I'm using the default settings for the UniVerse connector. And I'm always getting all multivalued fields. Even the CO fields are created in masterfiles.

Within UniVerse you can setup witch table's and columns are accesible. You should check this.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 399 | Location: Europe | Registered: February 05, 2007Reply With QuoteReport This Post
Gold member
posted Hide Post
Nice to see someone else out there that uses a multivalue database.

Does anyone know if this adapter works with Raining Data D3?

If it does is there documentation on this especially about defining multivalues?

How do you define the pick master dictionary to define the file?

This message has been edited. Last edited by: jammer,


Webfocus 7.6.4
Windows 2003 Server, SQL Server 2005
Excel, HTML , JavaScript ,and PDF.
Reportcaster, BID, Tomcat
 
Posts: 79 | Registered: May 02, 2006Reply With QuoteReport This Post
Expert
posted Hide Post
I set something up years ago, and read multi values. From memory it reads them as records, similar to an OCCURS in a master.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.05OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Know The Code

 
Posts: 6115 | Location: Land of the Darug people, Terra Australis Incognita | Registered: October 31, 2006Reply With QuoteReport This Post
Member
posted Hide Post
I got the UniVerse adapter configuration to work. I came to know that the UniVerse DBA has setup the multi-valued column in table#1 as a seperate table so that this data can be accessed by ODBC clients. UniVerse adapter uses the ODBC client to talk to the database. Once I knew the name of this table, I was able to create a synonym and fetch the data.

One lesson learned here is UniVerse supports wild characters like "*", "-" in their table names. So if a table in UniVerse is called "Customer-Data*345", the ODBC layer translates it to "Customer_Data_345". So when creating a synonym we have to use to ODBC name not the native UniVerse table name.


iSM 616
iDM 7705
iDQC 802
WF 77
Windows 2008 Server
 
Posts: 29 | Registered: May 01, 2007Reply With QuoteReport This Post
Guru
posted Hide Post
The name of the table doesn't depend on Universe, it depends on how the dictionary's (DICT) in Universe are created by your DBA.

The special charachters are removed because it causes problems in SQL statements.

One thing to keep in mind: you can't sort on multivalued fields.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
 
Posts: 399 | Location: Europe | Registered: February 05, 2007Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Selecting MultiValue fields in UniVerse

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