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     Horizontal Partitioning in WF Windows
Go
New
Search
Notify
Tools
Reply
  
Horizontal Partitioning in WF Windows
 Login/Join
 
<pranas>
posted
Hello,

I have 2 separate FOCUS data sources in the same data structure but with different content (data snapshots created for each month).

D:\ibi\apps\baseapp\extr-2004-03.mas
D:\ibi\apps\baseapp\extr-2004-03.foc
D:\ibi\apps\baseapp\extr-2004-04.mas
D:\ibi\apps\baseapp\extr-2004-04.foc

I heard about such nice feature "Intelligent Partitioning", but unable to create single synonym for convenient reporting.

D:\ibi\apps\baseapp\extr-all.mas:


FILE=PRE_UDR-ALL, SUFFIX=FOC,
ACCESS=PRE_UDR-ALL, $
SEGNAME=SEG01, SEGTYPE=S1, $

FIELD=FOCLIST, ALIAS=E00, FORMAT=I5, $
...
-* All the rest is the same as in extr-2004-0?.mas

D:\ibi\apps\baseapp\extr-all.acx


MASTERNAME PRE_UDR-ALL
DATANAME D:\ibi\apps\baseapp\extr-2004-03.foc
DATANAME D:\ibi\apps\baseapp\extr-2004-04.foc
Some ideas?

Thanks,
Pranas

This message has been edited. Last edited by: <Mabel>,
 
Reply With QuoteReport This Post
<Pietro De Santis>
posted
Look into the "MORE" command.

TABLE FILE extr-2004-03
PRINT *
MORE
FILE extr-2004-04
END
 
Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Same data structure, different data...

As Pietro says, you can use MORE.
and, also, you can use the USE command.

1. Create a general EXTR master with the common data structure.
2. Concatenate the differente files using USE.
3. Write your report requests normally.



USE
path\EXTR-2004-01.FOC AS EXTR
path\EXTR-2004-02.FOC AS EXTR
path\EXTR-2004-03.FOC AS EXTR
END

TABLE FILE EXTR
...
END
Regards,
Mikel

This message has been edited. Last edited by: <Mabel>,
 
Posts: 173 | Location: Madrid, Spain | Registered: May 09, 2003Reply With QuoteReport This Post
<pranas>
posted
Mikel,

"USE" may be applied as be work arount to my problem (requires application code change). Thanks!

I'd like to try using feature described in
Book: "Describing Data With WebFOCUS Language Version 5 Release 2"
Chapter: "Describing Two-Gygabyte and Partitined FOCUS Data Sources" feature "Intelligent Partitioning".
According description it is very CONVINIENT and efficient way to combine historical data stored in FOCUS format.

Has somebody tried this feature?
Is it supporte for Windows (examples provided only for MVS and CMS)?
Has someone perform some tests/use in production on WebFOCUS for Windows?

Regards,
Pranas
 
Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Horizontal Partitioning in WF Windows

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