Focal Point
Horizontal Partitioning in WF Windows

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4261077331

April 07, 2004, 02:03 PM
<pranas>
Horizontal Partitioning in WF Windows
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>,
April 07, 2004, 02:14 PM
<Pietro De Santis>
Look into the "MORE" command.

TABLE FILE extr-2004-03
PRINT *
MORE
FILE extr-2004-04
END
April 07, 2004, 02:25 PM
Mikel
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>,
April 08, 2004, 05:56 AM
<pranas>
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