webfocus for the layman part 2 steve simon state street corporation

Post on 27-Dec-2015

223 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

TRANSCRIPT

WebFOCUS for the layman

Part 2

Steve Simon State Street Corporation

Business Analysts.

WebFOCUS ‘newbie's’.

Who and what is our audience?

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

Creating an adapter.

Creating a synonym.

Excel

SQL

Server

Access

Code Master

Synonym

Data Adapter

How do the parts fit together?

What we shall examine during this hour

Examining DRILL THROUGH reports.

Examining GRAPHIC reports.

Implementing the adapter

WebFOCUS Excel

‘Garden hose’

Adapter

Creating the synonym

The master file

Mean while back at the ranch…

Creating a drill through report

Demo 1

Creating the TOPlevel report

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

Creating the TOPlevel report with DRILLTHROUGH

enabled

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

Creating the LOWER level report

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

Demo 1revisited

Creating a graphic report with graphical features

using the GUI

Demo 2

Creating a graphic report from

existing code

Oh yes!! And the code behind

-* 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

Converting it to graphic format is

extremely complex

-* 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

Demo 3

“Prettied Up”

Demo 4

“The ole pie”

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);

Demo 5

“Something extra”

Calculating your last business day

A report queried on Tuesday 26th

should show Friday 22nd

That’s why we have a module called

RBUSDAY.FEX

Demo 6

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.

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.

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

Thank you!Please remember to fill

in your survey

Steve Simon State Street Corporation

Questions!!!

top related