Download presentation
Presentation is loading. Please wait.
Published byLydia Haynes Modified over 9 years ago
1
WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
2
Business Analysts. WebFOCUS ‘newbie's’. Who and what is our audience?
3
Before we start, we shall have a quick review of: Creating an adapter. Creating a synonym.
4
Excel SQL Server SQL Server Access Code Master Synonym Data Adapter How do the parts fit together? How do the parts fit together?
5
What we shall examine during this hour Examining DRILL THROUGH reports. Examining GRAPHIC reports.
6
Implementing the adapter Implementing the adapter
7
WebFOCUSExcel ‘Garden hose’ Adapter
16
Creating the synonym
21
The master file
23
Mean while back at the ranch…
24
Creating a drill through report Creating a drill through report
25
Demo 1
26
Creating the TOP level report Creating the TOP level report
27
SET MSG = OFF -RUN TABLE FILE MAXMININV$ SUM PRODUCTTYPENAME AS 'PRODUCT TYPE' PRODUCTSUBTYPENAME AS 'PRODUCT SUB TYPE' PRODUCTNAME AS 'PRODUCT NAME' BY PRODUCTTYPENAME NOPRINT BY PRODUCTSUBTYPENAME NOPRINT END SET MSG = OFF -RUN TABLE FILE MAXMININV$ SUM PRODUCTTYPENAME AS 'PRODUCT TYPE' PRODUCTSUBTYPENAME AS 'PRODUCT SUB TYPE' PRODUCTNAME AS 'PRODUCT NAME' BY PRODUCTTYPENAME NOPRINT BY PRODUCTSUBTYPENAME NOPRINT END
28
Creating the TOP level report with DRILLTHROUGH enabled Creating the TOP level report with DRILLTHROUGH enabled
29
SET MSG = OFF -RUN TABLE FILE MAXMININV$ SUM PRODUCTTYPENAME AS 'PRODUCT TYPE' PRODUCTSUBTYPENAME AS 'PRODUCT SUB TYPE' PRODUCTNAME AS 'PRODUCT NAME' BY PRODUCTTYPENAME NOPRINT BY PRODUCTSUBTYPENAME NOPRINT ON TABLE PCHOLD FORMAT PDF OPEN ON TABLE SET STYLE * TYPE = DATA, COLUMN=PRODUCTNAME, DRILLTHROUGH=DOWN(PRODUCTTYPENAME PRODUCTSUBTYPENAME),$ UNITS=IN, PAGESIZE='Letter', SQUEEZE=ON, ORIENTATION=LANDSCAPE, $ ENDSTYLE END SET MSG = OFF -RUN TABLE FILE MAXMININV$ SUM PRODUCTTYPENAME AS 'PRODUCT TYPE' PRODUCTSUBTYPENAME AS 'PRODUCT SUB TYPE' PRODUCTNAME AS 'PRODUCT NAME' BY PRODUCTTYPENAME NOPRINT BY PRODUCTSUBTYPENAME NOPRINT ON TABLE PCHOLD FORMAT PDF OPEN ON TABLE SET STYLE * TYPE = DATA, COLUMN=PRODUCTNAME, DRILLTHROUGH=DOWN(PRODUCTTYPENAME PRODUCTSUBTYPENAME),$ UNITS=IN, PAGESIZE='Letter', SQUEEZE=ON, ORIENTATION=LANDSCAPE, $ ENDSTYLE END
30
Creating the LOWER level report Creating the LOWER level report
31
TABLE FILE MAXMININV$ SUM INVENTORYLEVEL NUMBERONBACKORDER BY PRODUCTTYPENAME BY PRODUCTSUBTYPENAME BY PRODUCTNAME ON PRODUCTTYPENAME PAGE-BREAK HEADING CENTER "Product Type <PRODUCTTYPENAME " " ON PRODUCTSUBTYPENAME SUBHEAD " ***** Product Subtype <PRODUCTSUBTYPENAME" FOOTING "" ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF CLOSE ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * TYPE=SUBHEAD, LINE=1, ITEM = 2, DRILLTHROUGH = FIRST(PRODUCTTYPENAME PRODUCTSUBTYPENAME), COLOR=RED,$ ORIENTATION=LANDSCAPE, $ TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=9, $.......... END STYLE END TABLE FILE MAXMININV$ SUM INVENTORYLEVEL NUMBERONBACKORDER BY PRODUCTTYPENAME BY PRODUCTSUBTYPENAME BY PRODUCTNAME ON PRODUCTTYPENAME PAGE-BREAK HEADING CENTER "Product Type <PRODUCTTYPENAME " " ON PRODUCTSUBTYPENAME SUBHEAD " ***** Product Subtype <PRODUCTSUBTYPENAME" FOOTING "" ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE PCHOLD FORMAT PDF CLOSE ON TABLE SET HTMLCSS ON ON TABLE SET STYLE * TYPE=SUBHEAD, LINE=1, ITEM = 2, DRILLTHROUGH = FIRST(PRODUCTTYPENAME PRODUCTSUBTYPENAME), COLOR=RED,$ ORIENTATION=LANDSCAPE, $ TYPE=REPORT, GRID=OFF, FONT='ARIAL', SIZE=9, $.......... END STYLE END
32
Demo 1 revisited Demo 1 revisited
33
Creating a graphic report with graphical features using the GUI Creating a graphic report with graphical features using the GUI
34
Demo 2
35
Creating a graphic report from existing code Creating a graphic report from existing code
38
Oh yes!! And the code behind Oh yes!! And the code behind
39
-* File MaxMinGraph1.fex TABLE FILE MAXMININV$ SUM INVENTORYLEVEL AS 'Current inventory' NUMBERONBACKORDER AS 'Number back ordered' BY PRODUCTTYPENAME AS 'Product Type Name' BY PRODUCTSUBTYPENAME AS 'Product SubType Name' BY PRODUCTNAME AS 'Product Name' HEADING " Summary Report" "Current Inventory and Backorders" WHERE PRODUCTNAME EQ 'Wolf Pack' OR 'Bear with Hive' OR 'Elvin Archer'; END -* File MaxMinGraph1.fex TABLE FILE MAXMININV$ SUM INVENTORYLEVEL AS 'Current inventory' NUMBERONBACKORDER AS 'Number back ordered' BY PRODUCTTYPENAME AS 'Product Type Name' BY PRODUCTSUBTYPENAME AS 'Product SubType Name' BY PRODUCTNAME AS 'Product Name' HEADING " Summary Report" "Current Inventory and Backorders" WHERE PRODUCTNAME EQ 'Wolf Pack' OR 'Bear with Hive' OR 'Elvin Archer'; END
40
Converting it to graphic format is extremely complex Converting it to graphic format is extremely complex
41
-* File MaxMinGraph1.fex GRAPH FILE MAXMININV$ SUM INVENTORYLEVEL AS 'Current inventory' NUMBERONBACKORDER AS 'Number back ordered' BY PRODUCTTYPENAME AS 'Product Type Name' BY PRODUCTSUBTYPENAME AS 'Product SubType Name' BY PRODUCTNAME AS 'Product Name' HEADING " Summary Report" "Current Inventory and Backorders" WHERE PRODUCTNAME EQ 'Wolf Pack' OR 'Bear with Hive' OR 'Elvin Archer'; END -* File MaxMinGraph1.fex GRAPH FILE MAXMININV$ SUM INVENTORYLEVEL AS 'Current inventory' NUMBERONBACKORDER AS 'Number back ordered' BY PRODUCTTYPENAME AS 'Product Type Name' BY PRODUCTSUBTYPENAME AS 'Product SubType Name' BY PRODUCTNAME AS 'Product Name' HEADING " Summary Report" "Current Inventory and Backorders" WHERE PRODUCTNAME EQ 'Wolf Pack' OR 'Bear with Hive' OR 'Elvin Archer'; END
43
Demo 3
44
“Prettied Up”
47
Demo 4
48
“The ole pie”
49
GRAPH FILE MAXMININV$ SUM INVENTORYLEVEL AS 'Current inventory' BY PRODUCTNAME AS 'Product Name' HEADING " Summary Report <PRODUCTTYPENAME" "Current Inventory and Backorders" WHERE PRODUCTNAME EQ 'Wolf Pack' OR 'Bear with Hive' OR 'Elvin Archer'; ON GRAPH SET LOOKGRAPH PIE ON GRAPH SET GRAPHEDIT SERVER ON GRAPH SET BARNUMB OFF ON GRAPH SET 3D OFF ON GRAPH SET VZERO ON ON GRAPH SET GRID ON ON GRAPH SET GRWIDTH 0 ON GRAPH PCHOLD FORMAT PNG ON GRAPH SET GRAPHSTYLE * setMarkerDisplay(true); GRAPH FILE MAXMININV$ SUM INVENTORYLEVEL AS 'Current inventory' BY PRODUCTNAME AS 'Product Name' HEADING " Summary Report <PRODUCTTYPENAME" "Current Inventory and Backorders" WHERE PRODUCTNAME EQ 'Wolf Pack' OR 'Bear with Hive' OR 'Elvin Archer'; ON GRAPH SET LOOKGRAPH PIE ON GRAPH SET GRAPHEDIT SERVER ON GRAPH SET BARNUMB OFF ON GRAPH SET 3D OFF ON GRAPH SET VZERO ON ON GRAPH SET GRID ON ON GRAPH SET GRWIDTH 0 ON GRAPH PCHOLD FORMAT PNG ON GRAPH SET GRAPHSTYLE * setMarkerDisplay(true);
51
Demo 5
52
“Something extra”
53
Calculating your last business day Calculating your last business day
54
A report queried on Tuesday 26 th should show Friday 22 nd A report queried on Tuesday 26 th should show Friday 22 nd
55
That’s why we have a module called RBUSDAY.FEX That’s why we have a module called RBUSDAY.FEX
56
Demo 6
57
During this hour we have Looked at WebFOCUS from a layman’s view. Created simple but very powerful DRILL THROUGH reports. Created simple but very powerful BAR and PIE CHART reports.
58
During this hour we have We have completed all this in under 45 minutes. We have reviewed how to create data adapters and synonyms. We have seen how we may clone a new report with the change of a few lines via the TED editor.
59
Which really goes to prove that WebFOCUS for the layman is not really a major challenge.
60
Thank you! Please remember to fill in your survey Steve Simon State Street Corporation
61
Questions!!!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.