webfocus for the layman part 2 steve simon state street corporation

63
WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Upload: lydia-haynes

Post on 27-Dec-2015

223 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

WebFOCUS for the layman

Part 2

Steve Simon State Street Corporation

Page 2: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Business Analysts.

WebFOCUS ‘newbie's’.

Who and what is our audience?

Page 3: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Before we start, we shall have a quick review of:

Creating an adapter.

Creating a synonym.

Page 4: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Excel

SQL

Server

Access

Code Master

Synonym

Data Adapter

How do the parts fit together?

Page 5: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

What we shall examine during this hour

Examining DRILL THROUGH reports.

Examining GRAPHIC reports.

Page 6: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Implementing the adapter

Page 7: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

WebFOCUS Excel

‘Garden hose’

Adapter

Page 8: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 9: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 10: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 11: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 12: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 13: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 14: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 15: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 16: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Creating the synonym

Page 17: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 18: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 19: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 20: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 21: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

The master file

Page 22: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 23: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Mean while back at the ranch…

Page 24: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Creating a drill through report

Page 25: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Demo 1

Page 26: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Creating the TOPlevel report

Page 27: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

SET MSG = OFF-RUNTABLE FILE MAXMININV$SUM PRODUCTTYPENAME AS 'PRODUCT TYPE' PRODUCTSUBTYPENAME AS 'PRODUCT SUB TYPE' PRODUCTNAME AS 'PRODUCT NAME'BY PRODUCTTYPENAME NOPRINTBY PRODUCTSUBTYPENAME NOPRINTEND

Page 28: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Creating the TOPlevel report with DRILLTHROUGH

enabled

Page 29: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

SET MSG = OFF-RUNTABLE FILE MAXMININV$SUM PRODUCTTYPENAME AS 'PRODUCT TYPE' PRODUCTSUBTYPENAME AS 'PRODUCT SUB TYPE' PRODUCTNAME AS 'PRODUCT NAME'BY PRODUCTTYPENAME NOPRINTBY PRODUCTSUBTYPENAME NOPRINTON TABLE PCHOLD FORMAT PDF OPENON TABLE SET STYLE *TYPE = DATA, COLUMN=PRODUCTNAME, DRILLTHROUGH=DOWN(PRODUCTTYPENAME PRODUCTSUBTYPENAME),$ UNITS=IN, PAGESIZE='Letter', SQUEEZE=ON, ORIENTATION=LANDSCAPE,$ENDSTYLEEND

Page 30: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Creating the LOWER level report

Page 31: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

TABLE FILE MAXMININV$SUM INVENTORYLEVEL NUMBERONBACKORDER BY PRODUCTTYPENAME BY PRODUCTSUBTYPENAMEBY PRODUCTNAMEON PRODUCTTYPENAME PAGE-BREAKHEADING CENTER"Product Type <PRODUCTTYPENAME "" "ON PRODUCTSUBTYPENAME SUBHEAD" ***** Product Subtype <PRODUCTSUBTYPENAME"FOOTING""ON TABLE SET PAGE-NUM OFFON TABLE NOTOTALON TABLE PCHOLD FORMAT PDF CLOSEON TABLE SET HTMLCSS ONON 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

Page 32: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Demo 1revisited

Page 33: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Creating a graphic report with graphical features

using the GUI

Page 34: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Demo 2

Page 35: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Creating a graphic report from

existing code

Page 36: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 37: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 38: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Oh yes!! And the code behind

Page 39: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

-* File MaxMinGraph1.fexTABLE 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" <+0> Summary Report""Current Inventory and Backorders"WHERE PRODUCTNAME EQ 'Wolf Pack' OR 'Bear with Hive' OR 'Elvin Archer';END

Page 40: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Converting it to graphic format is

extremely complex

Page 41: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

-* File MaxMinGraph1.fexGRAPH 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" <+0> Summary Report""Current Inventory and Backorders"WHERE PRODUCTNAME EQ 'Wolf Pack' OR 'Bear with Hive' OR 'Elvin Archer';END

Page 42: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 43: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Demo 3

Page 44: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

“Prettied Up”

Page 45: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 46: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 47: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Demo 4

Page 48: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

“The ole pie”

Page 49: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

GRAPH FILE MAXMININV$SUM INVENTORYLEVEL AS 'Current inventory' BY PRODUCTNAME AS 'Product Name'HEADING" <+0> Summary Report <+0> <PRODUCTTYPENAME""Current Inventory and Backorders"WHERE PRODUCTNAME EQ 'Wolf Pack' OR 'Bear with Hive' OR 'Elvin Archer';ON GRAPH SET LOOKGRAPH PIEON GRAPH SET GRAPHEDIT SERVERON GRAPH SET BARNUMB OFFON GRAPH SET 3D OFFON GRAPH SET VZERO ONON GRAPH SET GRID ONON GRAPH SET GRWIDTH 0ON GRAPH PCHOLD FORMAT PNGON GRAPH SET GRAPHSTYLE *setMarkerDisplay(true);

Page 50: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 51: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Demo 5

Page 52: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

“Something extra”

Page 53: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Calculating your last business day

Page 54: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

A report queried on Tuesday 26th

should show Friday 22nd

Page 55: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

That’s why we have a module called

RBUSDAY.FEX

Page 56: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Demo 6

Page 57: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

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.

Page 58: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

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.

Page 59: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Which really goes to prove that WebFOCUS for the layman is not really a major challenge.

Page 60: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Thank you!Please remember to fill

in your survey

Steve Simon State Street Corporation

Page 61: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation

Questions!!!

Page 62: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation
Page 63: WebFOCUS for the layman Part 2 Steve Simon State Street Corporation