Copyright 2007, Information Builders. Slide 1 Did You Know? My Favorite Core New Features 7.6 and 7.7 Noreen Redden.

Slides:



Advertisements
Similar presentations
FOCUS to DB2 By: Meadow Heath.
Advertisements

1 Noreen Redden FOCUS Users of New England 2012 MFD_PROFILE PROFILE for Your Synonym:
Copyright 2007, Information Builders. Slide 1 Relational Efficiencies: Part II Overview and JOIN / Sort Scenarios Renee Teatro Information Builders.
Copyright 2007, Information Builders. Slide 1 Walter Brengel Information Builders New Jersey User Forum – June 2008 FOCUS to SQL DeMystified.
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin TECHNOLOGY PLUG-IN T3 PROBLEM SOLVING USING EXCEL.
McGraw-Hill/Irwin ©2008 The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T4 PROBLEM SOLVING USING EXCEL Goal Seek, Solver & Pivot Tables.
McGyver for Dynamic Subtotals/Subfoots Presented by David Smith of Brinker International.
The University of North Carolina at Greensboro
Copyright 2007, Information Builders. Slide 1 Non-Relational Efficiencies Walter F. Blood Technical Director Information Builders, Inc.
Copyright 2007, Information Builders. Slide 1 Accumulation Techniques for Reporting with WebFOCUS Kyle Hachey Systems Engineer.
1 Copyright 2007, Information Builders. Slide 1 Nat Poe WebFOCUS Debugging Techniques.
Walter F. Blood Information Builders Nashville User Forum February 23, 2012 THINKing in WEBFOCUS.
3/5/2009Computer systems1 Analyzing System Using Data Dictionaries Computer System: 1. Data Dictionary 2. Data Dictionary Categories 3. Creating Data Dictionary.
Copyright 2007, Information Builders. Slide 1 Tips and Techniques From the FOCWIZARDs Art Greenhaus & Noreen Redden FOCWIZARDS Tech Summit, 2008.
Copyright 2007, Information Builders. Slide 1 Restricting Access To a File Walter Brengel June, 2008.
Copyright 2007, Information Builders. Slide 1 XFOC Databases: If You Build Them, They will Come Noreen Redden FOCWizard June, 2008.
Microsoft Excel Working with Excel Lists, Subtotals and Pivot Tables.
Chapter 6: Pivot Tables Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Introduction to Query Part 2. Query Topics Joining Files Defining Result Fields Complex Record Selection Formatting Output Creating Reports Using Multiple.
“You Asked For It, You Got It!” Best New [Backend ] Features of WebFOCUS Renee Teatro Information Builders December 2011.
1 JOIN: Rules, Roles, and Conventions Floria Foote June 2008.
Copyright 2007, Information Builders. Slide 1 FOR and the FML Syntax Noreen Redden Information Builders FOCUS Users of New England.
Copyright 2007, Information Builders. Slide 1 JOIN, MATCH and MORE– Making the Connections Walter F. Blood Technical Director, FOCUS Division May, 2011.
Copyright 2007, Information Builders. Slide 1 Tips and Techniques for FOCUS 76 Did You Know? Walter F. Blood Information Builders, Inc.
Database Applications – Microsoft Access Lesson 9 Designing Special Queries Updated 4/11.
Lesson 31: Querying a Database. 2 Learning Objectives After studying this lesson, you will be able to:  Create, save, and run select queries  Design.
Database Applications – Microsoft Access Lesson 9 Designing Special Queries.
Copyright 2007, Information Builders. Slide 1 The Most Requested Features and Techniques for Stylesheets Renee Teatro Information Builders.
October 2003Bent Thomsen - FIT 3-21 IT – som værktøj Bent Thomsen Institut for Datalogi Aalborg Universitet.
“You Asked For It, You Got It!” Best New [Backend ] Features of WebFOCUS Walter Blood Noreen Redden Joel Starkman Information Builders, Inc. August,
Noreen Redden FOCUS Users of New England 2012 FOCWizards and Focal Point Information Builders Off to See the Wizards 1.
WebFOCUS Tips and Techniques WebFOCUS Tips and Techniques The Next Generation.
Tips n Techniques Jenny Lalik. Report Styling Enhancements for 7.7  Accordion By Row  Excel 2007 Output Format  Hide Null Across Columns  Pass dates.
1 Data List Spreadsheets or simple databases - a different use of Spreadsheets Bent Thomsen.
Objects for Business Reporting MIS 497. Objective Learn about miscellaneous objects required for business reporting. Learn about miscellaneous objects.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
Off To See The Wizards: The FOCWIZARDS FOCWIZARDS: Noreen Redden Art Greenhaus With help from FOCAL POINT Wizards Copyright 2011, Information Builders.
1 FOCUS Internals: Part 1 Update for 7.6.x Renee Teatro FUN Conference August 2008 Internals of Retrieval for TABLE/TABLEF/MATCH FILE.
Copyright 2007, Information Builders. Slide 1 Tips and Techniques From the FOCWIZARDs Noreen Redden Technical Director, Advanced Technical Support August.
DIMENSIONAL MODELLING. Overview Clearly understand how the requirements definition determines data design Introduce dimensional modeling and contrast.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! With Microsoft ® Office 2007 Intermediate Chapter.
Tips n Techniques Jenny Lalik. Report Styling Enhancements for 7.7  Accordion By Row  Excel 2007 Output Format  Hide Null Across Columns  Pass dates.
“You Asked For It, You Got It!” Best New [Backend ] Features of WebFOCUS Walter Blood Noreen Redden Joel Starkman Information Builders, Inc. June.
Copyright 2007, Information Builders. Slide 1 Have You Heard What We're Doing About Section 508? Jeffrey Friedman Director of Advanced QA and Operations.
Copyright 2007, Information Builders. Slide 1 JOIN, MATCH and MORE– Making the Connections Walter F. Blood Technical Director, FOCUS Division June, 2009.
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T7 PROBLEM SOLVING USING ACCESS.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
1 The Master That Tells All Floria Foote Information Builders June 2008.
Copyright 2007, Information Builders. Slide 1 FOCUS Internals: Part 2 Update for 7.6.x Renee Teatro FUN Conference August 2008 Internals of Output Processing.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
T7-1 LEARNING OUTCOMES – ACCESS PROBLEM SOLVING 1.Describe the process of using the Simple Query Wizard using Access 2.Describe the process of using the.
Copyright 2007, Information Builders. Slide 1 Hidden Gems Walter F. Blood Technical Director Information Builders, Inc.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T3: Problem Solving Using Excel 2007.
JOIN Syntax and Techniques Noreen Redden Information Builders Copyright 2011, Information Builders. Slide 1.
COBOL for the 21 st Century Nancy Stern Hofstra University Robert A. Stern Nassau Community College James P. Ley University of Wisconsin-Stout (Emeritus)
ACCESS REPORT GENERATOR. IT Fundamentals2 Reports Overview Reports are an important part of any computer business application. Features that are important.
Copyright 2007, Information Builders. Slide 1 TABLE FILE: The Basics Noreen Redden FOCWizard June, 2008.
25 Copyright © 2009, Oracle. All rights reserved. Showing Results with Pivot Tables.
Insensitive – Not a Bad Thing for Data Noreen Redden Information Builders.
Rendering XML Documents ©NIITeXtensible Markup Language/Lesson 5/Slide 1 of 46 Objectives In this session, you will learn to: * Define rendering * Identify.
The Basics of FOCUS Reporting Syntax
What Happens When You Run A Report
More Hidden Gems in the World of Reporting: Part 5
Structured COBOL Programming
CS122 Using Relational Databases and SQL
Bent Thomsen Institut for Datalogi Aalborg Universitet
Presentation transcript:

Copyright 2007, Information Builders. Slide 1 Did You Know? My Favorite Core New Features 7.6 and 7.7 Noreen Redden

Copyright 2007, Information Builders. Slide 2 The Report Request 1. Selection and Optimization 2. HEADINGs 3. Blank Columns and Rows 4. SUBTOTALs and SUMMARIZEs and WITHIN 5. Documentation

Copyright 2007, Information Builders. Slide 3 Selection and Optimization  EQTEST  Collation and Selection

Copyright 2007, Information Builders. Slide 4  $ is considered a “wildcard”  IF field EQ/IS ‘value with $ or $*’  Section of WHERE that can be transformed into a simple IF  SET EQTEST = WILDCARD/EXACT  ON TABLE SET EQTEST WILDCARD/EXACT  Documented (and in GUI) in 7.7. Available 7.6.9) Selection: EQTEST When is a $ just a $

Selection: EQTEST Copyright 2007, Information Builders. Slide 5 DEFINE FILE CENTINV FLAG/A1=IF CENTINV.INVINFO.PRODNAME CONTAINS 'ZT' THEN '$' ELSE 'Y'; END SET EQTEST = &EQTEST TABLE FILE CENTINV PRINT 'CENTINV.INVINFO.FLAG' 'CENTINV.INVINFO.PRICE' BY 'CENTINV.INVINFO.PRODNAME' HEADING " Setting of EQTEST is &EQTEST " " Filter: WHERE CENTINV.INVINFO.FLAG EQ '$'; “ " AND PRODTYPE EQ 'Digital'; " FOOTING "" WHERE ( CENTINV.INVINFO.FLAG EQ '$' ) AND ( CENTINV.INVINFO.PRODTYPE EQ 'Digital' ); …

Selection: EQTEST Setting of EQTEST is WILDCARD Filter: WHERE CENTINV.INVINFO.FLAG EQ '$' AND PRODTYPE EQ 'Digital'; " Product Name: FLAG Price: 330DX Digital Camera 1024KPY SX Digital Camera 65KP Y DL Digital Camcorder 150 XY SL Digital Camcorder 300 XY Combo Player - 4 Hd VCR + DVDY DVD Upgrade Unit for Cent. VCRY QX Portable CD Player Y R5 Micro Digital Tape Recorder Y ZC Digital PDA - Standard Y ZT Digital PDA - Commercial $ Copyright 2007, Information Builders. Slide 6

Selection: EQTEST Setting of EQTEST is EXACT Filter: WHERE CENTINV.INVINFO.FLAG EQ '$' AND PRODTYPE EQ 'Digital'; Product Name: FLAG Price: ZT Digital PDA – Commercial $ Copyright 2007, Information Builders. Slide 7

Copyright 2007, Information Builders. Slide New Feature Case Insensitive means that all WHERE tests and sorts ignore the case of the elements being compared. Affects sorting, WHERE conditions, Comparison in Calculations, StyleSheets SET COLLATION = {BINARY|SRV_CI|SRV_CS|CODEPAGE} ** Server only Setting **** Selection: COLLATION When Does DIGITAL=digital

Selection: COLLATION Copyright 2007, Information Builders. Slide 9 DEFINE FILE CENTINV FLAG/A1=IF CENTINV.INVINFO.PRODNAME CONTAINS 'ZT' THEN '$' ELSE 'Y'; END SET EQTEST = &EQTEST TABLE FILE CENTINV PRINT 'CENTINV.INVINFO.FLAG' 'CENTINV.INVINFO.PRICE' BY 'CENTINV.INVINFO.PRODNAME' HEADING " Setting of EQTEST is &EQTEST “ “ COLLATION is set to SRV_CI “ " Filter: WHERE CENTINV.INVINFO.FLAG EQ '$'; “ " AND PRODTYPE EQ 'DIGITAL'; " FOOTING "" WHERE ( CENTINV.INVINFO.FLAG EQ '$' ) AND ( CENTINV.INVINFO.PRODTYPE EQ 'Digital' ); …

Selection: COLLATION Setting of EQTEST is EXACT COLLATION is set to SRV_CI Filter: WHERE CENTINV.INVINFO.FLAG EQ '$' AND PRODTYPE EQ 'DIGITAL'; Product Name: FLAG Price: ZT Digital PDA – Commercial $ Copyright 2007, Information Builders. Slide 10

Copyright 2007, Information Builders. Slide 11 HEADINGs  Multiple HEADINGs with WHEN  BYLASTPAGE

Copyright 2007, Information Builders. Slide 12  Region Totals Should Show ONLY in the HEADING on Page 1 for each REGION  HEADINGs can reference Computed fields, but blank lines should not be shown Variable HEADINGS/SUBHEADs

Copyright 2007, Information Builders. Slide 13 Variable HEADINGS/SUBHEADs Copyright 2007, Information Builders. Slide 13 HEADING “Page: <TABPAGENO " HEADING "DIVISION: <DIV " WHEN TABPAGENO EQ 1 HEADING "DIVISION: <DIV (CONT) " WHEN TABPAGENO GT 1 HEADING "DEPARTMENT:<DEPT " WHEN DEPT NE LAST DEPT HEADING "DEPARTMENT:<DEPT (CONT) WHEN DEPT EQ LAST DEPT

Copyright 2007, Information Builders. Slide 14 Variable HEADINGS/SUBHEADs Copyright 2007, Information Builders. Slide 14 EMPLOYEES AS OF AUGUST 30, 2010 Page 1 DIVISION: CE DEPARTMENT:ADMIN SERVICES NAME TITLE HIREDATE LAURA N GORDON ASST ADMINISTRATOR 90/12/05 EMPLOYEES AS OF AUGUST 30, 2010 Page 2 DIVISION: CE (CONT) DEPARTMENT:MARKETING NAME TITLE HIREDATE RUTH B ADAMS MARKETING DIRECTOR 90/05/01

Copyright 2007, Information Builders. Slide 15 BYLASTPAGE  Pages should be numbered WITHIN the Sort Group  REPAGE will start page numbering at 1, at change of BY value  TABLASTPAGE contains maximum page number within the report. Solution

Copyright 2007, Information Builders. Slide 16 BYLASTPAGE Copyright 2007, Information Builders. Slide 16 TABLE FILE GGSALES1 SUM CNT.DST.ST AS NUMBERSTS BY REGION ON TABLE HOLD AS REGST FORMAT FOCUS INDEX REGION END JOIN GGSALES1.SALES01.REGION IN ggsales1 TO UNIQUE REGST.SEG01.REGION IN REGST AS J0 END … FOOTING "Page <TABPAGENO of <FST.NUMBERSTS"

Report of Sales For Region: Midwest State:IL Total Region Sales: Units: 452,310 Dollars: 5,658,827 Filters Applied Year EQ '1997'; Percent of CityProductUnit SalesSales DollarsBudget Total158,0531,990,612 ChicagoBiscotti % Coffee Grinder % Coffee Pot % Croissant % Espresso % Latte % Mug % Scone % Thermos % Page 1 of 3 ____________________________________________________________________________________________________________________________ Output Page 1

Report of Sales For Region: Midwest State:MO Percent of CityProductUnit SalesSales DollarsBudget Total146,5941,839,043 St. LouisBiscotti % Coffee Grinder % Coffee Pot % Croissant % Espresso % Latte % Mug % Scone % Thermos % Page 2 of 3 ____________________________________________________________________________________________________________________________ Output Page 2

Report of Sales For Region: Midwest State:TX Percent of CityProductUnit SalesSales DollarsBudget Total147,6631,829,172 HoustonBiscotti % Coffee Grinder % Coffee Pot % Croissant % Espresso % Latte % Mug % Scone % Thermos % Page 3 of 3 ____________________________________________________________________________________________________________________________ Output Page 3

Copyright 2007, Information Builders. Slide 20 Blank Columns and Rows  ACROSSPRT  HIDENULLACRS  DUPLICATECOL

TABLE FILE HOLD1 SUM UNIT BY REGION BY ST ACROSS CATEGORY END CATEGORY CoffeeFoodGifts REGIONST MidwestIL MO TX NortheastCT MA NY SoutheastFL GA TN WestCA WA ACROSSPRT 7.6.9

TABLE FILE HOLD1 PRINT UNIT BY REGION BY ST ACROSS CATEGORY END CATEGORY CoffeeFoodGifts REGIONST MidwestIL MO TX NortheastCT MA NY DEFAULT - PRINT

SET ACROSSPRT = COMPRESS TABLE FILE HOLD1 PRINT UNIT BY REGION BY ST ACROSS CATEGORY END CATEGORY CoffeeFoodGifts REGIONST MidwestIL MO TX NortheastCT MA NY SoutheastFL GA TN WestCA WA Compressed PRINT

HIDENULLACRS SET HIDENULLACRS=&HIDENULLACRS TABLE FILE EMPDATA SUM 'EMPDATA.EMPDATA.SALARY' BY 'EMPDATA.EMPDATA.DIV' NOPRINT BY 'EMPDATA.EMPDATA.DEPT' ACROSS 'EMPDATA.EMPDATA.JOBCLASS' ON EMPDATA.EMPDATA.DIV PAGE-BREAK HEADING "Division: <EMPDATA.EMPDATA.DIV " " "The setting of HIDENULLACRS is set to &HIDENULLACRS" FOOTING ""

Division: CE The setting of HIDENULLACRS is set to OFF JOBCLASS 019PTA019PTB DEPT ADMIN SERVICES.. MARKETING.. PERSONNEL$45, PROGRAMMING & DVLPMT.. SALES.. JOBCLASS 019PUA019PUB019PVA019PVB $54, $115, HIDENULLACRS OFF

Division: CE The setting of HIDENULLACRS is set to ON JOBCLASS 019PTA019PUA DEPT ADMIN SERVICES.. MARKETING.. PERSONNEL$45, PROGRAMMING & DVLPMT.. SALES.$54, HIDENULLACRS ON JOBCLASS 019PVB229PSA229PSB257PRB $40,900.00$49, $115, $43,000.00

DROPBLNKLINE TABLE FILE EMPLOYEE PRINT 'EMPLOYEE.EMPINFO.Name' AS '' OVER 'EMPLOYEE.ADDRESS.ADDRESS_LN1' AS '' OVER 'EMPLOYEE.ADDRESS.ADDRESS_LN2' AS '' OVER 'EMPLOYEE.ADDRESS.ADDRESS_LN3' AS '' BY 'EMPLOYEE.EMPINFO.EMP_ID' NOPRINT ON EMPLOYEE.EMPINFO.EMP_ID SUBFOOT " " HEADING "SET DROPBLNKLINE = &DROPBLNKLINE " "

SET DROPBLNKLINE =OFF DIANE JONES 235 MURRAY HIL PKWY RUTHERFORD NJ RICHARD SMITH APT 1L 136 E 161 ST. NEW YORK NY JOHN BANNING 160 LOMBARDO AVE. APT 4C FREEPORT NY JOAN IRVING APT 2J 123 E 32 ST. NEW YORK NY ANTHONY ROMANS 271 PRESIDENT ST. FREEPORT NY 11520

SET DROPBLNKLINE =ON DIANE JONES 235 MURRAY HIL PKWY RUTHERFORD NJ RICHARD SMITH APT 1L 136 E 161 ST. NEW YORK NY JOHN BANNING 160 LOMBARDO AVE. APT 4C FREEPORT NY JOAN IRVING APT 2J 123 E 32 ST. NEW YORK NY ANTHONY ROMANS 271 PRESIDENT ST. FREEPORT NY ROSEMARIE BLACKWOOD

Copyright 2007, Information Builders. Slide 30 DUPLICATECOL Copyright 2007, Information Builders. Slide 30  Multiple Verb Sets Show each Verbset in its own columns  DUPLICATECOL = OFF aligns common columns to show higher verb accumulations above more detail information. Style sheet attribute VERBSET or LINE allows user to specify styling by verb set.

Copyright 2007, Information Builders. Slide 31 DUPLICATECOL Copyright 2007, Information Builders. Slide 31 SET DUPLICATECOL = &DUPL TABLE FILE EMPLOYEE HEADING "DUPLICATECOL IS SET TO &DUPL" SUM CSAL AVE.CSAL BY DEPARTMENT SUM CSAL AVE.CSAL BY DEPARTMENT BY CJC END

Copyright 2007, Information Builders. Slide 32 DUPLICATECOL=ON Copyright 2007, Information Builders. Slide 32 PAGE 1.1 DUPLICATECOL IS SET TO ON AVE DEPARTMENT CURR_SAL CURR_SAL CURR_JOBCODE MIS $108, $18, A07 A17 B02 B03 B04 B14 PRODUCTION $114, $19, A01 A07 A15 A17 B02 B04

Copyright 2007, Information Builders. Slide 33 DUPLICATECOL=OFF Copyright 2007, Information Builders. Slide 33 DUPLICATECOL IS SET TO OFF AVE DEPARTMENT CURR_JOBCODE CURR_SAL CURR_SAL MIS $108, $18, A07 $9, $9, A17 $27, $27, B02 $18, $18, B03 $18, $18, B04 $21, $21, B14 $13, $13, PRODUCTION $114, $19, A01 $9, $9, A07 $11, $11, A15 $26, $26, A17 $29, $29, B02 $16, $16, B04 $21, $21,120.00

Copyright 2007, Information Builders. Slide 34 DUPLICATECOL Copyright 2007, Information Builders. Slide 34 SET DUPLICATECOL = OFF TABLE FILE GGSALES1 SUM UNITS NOPRINT DOLLARS NOPRINT BY REGION NOPRINT SUM UNITS DOLLARS BY REGION NOPRINT BY ST SUM UNITS DOLLARS COMPUTE PCT_OF_BUDGET; AS 'Percent,of,Budget' BY REGION NOPRINT BY ST BY CITY BY PRODUCT … TYPE=TITLE, COLUMN=N10, SIZE=12, $ TYPE=DATA, LINE=2, COLUMN=N10, SIZE=12, STYLE=BOLD, $

Copyright 2007, Information Builders. Slide 35 SUBTOTALs and SUMMARIZE  SUBTOTALs ABOVE Detail  ACROSS … SUMMARIZE  SUMMARIZE ALPHA COLUMNS  SUBFOOT WITHIN

Copyright 2007, Information Builders. Slide 36  ROW-TOTAL gives totals at then end of a line when used with ACROSS.  ACROSS-TOTAL allows summations at multiple ACROSS levels  ON acrossfield SUBTOTAL/SUB- TOTAL/RECOMPUTE/SUMMARIZE allows for recalculation of numeric fields. ACROSS: SUMMARIZE

SUBTOTALs ABOVE the Details SET SUBTOTAL=ABOVE SET SUBTOTALS=ABOVE TABLE FILE CAR SUM RC DC BY COUNTRY BY CAR ON COUNTRY SUBTOTAL AS '*TOTAL' ON TABLE SUMMARIZE AS 'WORLD TOTAL' END

SUBTOTALs ABOVE the Data PAGE 1 COUNTRY CAR RETAIL_COST DEALER_COST WORLD TOTAL 173, ,794 *TOTAL ENGLAND 45,319 37,853 ENGLAND JAGUAR 22,369 18,621 ENGLAND JENSEN 17,850 14,940 ENGLAND TRIUMPH 5,100 4,292 *TOTAL FRANCE 5,610 4,631 FRANCE PEUGEOT 5,610 4,631 *TOTAL ITALY 51,065 41,235 ITALY ALFA ROMEO 19,565 16,235 ITALY MASERATI 31,500 25,000

ACROSS: Summarize Copyright 2007, Information Builders. Slide 39 DEFINE FILE CAR SALESCAT/I7 = IF SALES LT 2000 THEN 1 ELSE 2; SEATS/I7 = SEATS; END TABLE FILE CAR SUM RCOST OVER DCOST OVER COMPUTE MARKUP/F7.2% = (RCOST - DCOST)/DCOST; BY COUNTRY ACROSS SEATS/R ACROSS-TOTAL ACROSS SALESCAT/R IF SEATS EQ 2 OR 4 IF COUNTRY EQ ‘ENGLAND’ OR ‘ITALY’ END …

ACROSS: Summarize SEATS 2 4 TOTAL SALESCAT COUNTRY ENGLAND RETAIL_COST 13, , ,828 DEALER_COST 11, , ,659 MARKUP.19%..19%..39% ITALY RETAIL_COST 31,500 13,640. 5,925 51,065 DEALER_COST 25,000 11,320. 4,915 41,235 MARKUP.26%.20%..21%.67% Copyright 2007, Information Builders. Slide 40

ACROSS: Summarize Copyright 2007, Information Builders. Slide 41 DEFINE FILE CAR SALESCAT/I7 = IF SALES LT 2000 THEN 1 ELSE 2; SEATS/I7 = SEATS; END TABLE FILE CAR SUM RCOST OVER DCOST OVER COMPUTE MARKUP/F7.2% = (RCOST - DCOST)/DCOST BY COUNTRY ACROSS SEATS/R ACROSS SALESCAT/R ON SEATS SUMMARIZE IF SEATS EQ 2 OR 4 END

ACROSS: Summarize SEATS 2 4 TOTAL SALESCAT COUNTRY ENGLAND RETAIL_COST 13, , ,828 DEALER_COST 11, , ,659 MARKUP.19%..19%..19% ITALY RETAIL_COST 31,500 13,640. 5,925 51,065 DEALER_COST 25,000 11,320. 4,915 41,235 MARKUP.26%.20%..21%.24% Copyright 2007, Information Builders. Slide 42

ACROSS: Summarize Copyright 2007, Information Builders. Slide 43 DEFINE FILE CAR SALESCAT/I7 = IF SALES LT 2000 THEN 1 ELSE 2; SEATS/I7 = SEATS; END TABLE FILE CAR SUM RCOST NOPRINT OVER DCOST NOPRINT OVER COMPUTE MARKUP/F7.2% = (RCOST - DCOST)/DCOST; AS '' BY COUNTRY ACROSS SEATS/R ACROSS SALESCAT/R ON SALESCAT RECOMPUTE IF COUNTRY EQ 'ENGLAND' OR 'ITALY' IF SEATS EQ 2 OR 4 END

ACROSS: Summarize SEATS 2 4 SALESCAT 1 2 TOTAL 1 2 TOTAL COUNTRY ENGLAND.19%..19%.19%..19% ITALY.26%.20%.24%..21%.21% Copyright 2007, Information Builders. Slide 44

SET SUMMARYLINES 7.7 -? SET SUMMARYLINES SUMMARYLINES -SET &OUTPT = &OUTPT + 1; TABLE FILE EMPLOYEE SUM 'EMPLOYEE.EMPINFO.CURR_SAL' NOPRINT COMPUTE Salary/A20 = '*****' | FTOA(EMPLOYEE.EMPINFO.CURR_SAL, '(D12.2)', 'A15'); 'EMPLOYEE.EMPINFO.ED_HRS' AS 'Education,Hours' BY 'EMPLOYEE.EMPINFO.DEPARTMENT' BY 'EMPLOYEE.EMPINFO.EMP_ID' AS 'Employee' ON EMPLOYEE.EMPINFO.DEPARTMENT RECOMPUTE * AS '*TOTAL' HEADING "SUMMARIZE Alpha Columns &SUMMARYLINES " " "" " "

SUMMARIZE Alpha Columns OLD Education DEPARTMENTEmployeeSalaryHours MIS ***** 13, ***** 18, ***** 18, ***** 21, ***** 9, ***** 27, *TOTAL MIS PRODUCTION ***** 11, ***** 9, ***** 29, ***** 26, ***** 21, ***** 16, *TOTAL PRODUCTION120.00

SUMMARIZE Alpha Columns NEW Education DEPARTMENTEmployeeSalaryHours MIS ***** 13, ***** 18, ***** 18, ***** 21, ***** 9, ***** 27, *TOTAL MIS***** 108, PRODUCTION ***** 11, ***** 9, ***** 29, ***** 26, ***** 21, ***** 16, *TOTAL PRODUCTION***** 114,

Copyright 2007, Information Builders. Slide 48 SUBFOOT WITHIN Copyright 2007, Information Builders. Slide 48  BY fieldname SUBFOOT WITHIN  ON sortfieldname SUBFOOT WITHIN “ <fieldname <prefix.fieldname Generates {prefix.} fieldname WITHIN sortfieldname

Copyright 2007, Information Builders. Slide 49 SUBFOOT WITHIN Copyright 2007, Information Builders. Slide 49 TABLE FILE EMPLOYEE SUM CURR_SAL AS 'Salary' BY DPT BY CURR_JOBCODE ON DPT SUBFOOT WITHIN "</1 Departmental Totals:" " Average Salary is <AVE.CURR_SAL " " Minimum Salary is <MIN.CURR_SAL " " Maximum Salary is <MAX.CURR_SAL " " TOTAL SALARY IS <CURR_SAL </1 " ON TABLE SUBFOOT WITHIN "Company Totals: " " Average Salary is <AVE.CURR_SAL " " Minimum Salary is <MIN.CURR_SAL " " MAXIMUM Salary is <MAX.CURR_SAL " " Total Salary is <CURR_SAL " END

Copyright 2007, Information Builders. Slide 50 SUBFOOT WITHIN Copyright 2007, Information Builders. Slide 50 DEPARTMENT CURR_JOBCODE Salary MIS A07 $9, A17 $27, B02 $18, B03 $18, B04 $21, B14 $13, Departmental Totals: Average Salary is $18, Minimum Salary is $9, Maximum Salary is $27, TOTAL SALARY IS $108, PRODUCTION A01 $9, A07 $11, A15 $26, A17 $29,700.00

Copyright 2007, Information Builders. Slide 51 SUBFOOT WITHIN Copyright 2007, Information Builders. Slide 51 DEPARTMENT CURR_JOBCODE Salary PRODUCTION B02 $16, B04 $21, Departmental Totals: Average Salary is $19, Minimum Salary is $9, Maximum Salary is $29, TOTAL SALARY IS $114, Company Totals: Average Salary is $18, Minimum Salary is $9, MAXIMUM Salary is $29, Total Salary is $222,284.00

Copyright 2007, Information Builders. Slide 52 Documentation  SYSCOLUM

Copyright 2007, Information Builders. Slide 53 SYSCOLUM Copyright 2007, Information Builders. Slide 53  Dynamic  Information about the Master File Description  FILE/SEGMENT/FIELD information  Includes Description and Remarks  Includes DEFINE/COMPUTE/FILTERS  + The Expression  Changes as the Product Changes

Copyright 2007, Information Builders. Slide 54 SYSCOLUM File Information (extract) Copyright 2007, Information Builders. Slide 54 FILENAME=SYSCOLUM,SUFFIX=FMI, REMARKS=Cataloged Column Information,$ SEGNAME=SYSCOLUM,SEGTYPE=S2 FIELD=TBNAME,,A64,A64,INDEX=I,$ FIELD=TBCREATOR,,A18,A18,$'EDADBA' or appname FIELD=DBMS_CREATOR,,A8,A8,$AFD if exists FIELD=TBTYPE,,A8,A8,$MFD SUFFIX FIELD=VIEW_OF,,A84,A84,$ NAME OF REAL MFD FOR BV FIELD=FDEFCENT,,I4,I4,$ FILE LEVEL DEFAULT CENTURY FIELD=FYRTHRESH,,I4,I4,$ FILE LEVEL YEAR THRESH FIELD=IS_CUBE,,A1,A1,ACCEPT=Y OR N,$

Copyright 2007, Information Builders. Slide 55 SYSCOLUM Segment Information (extract) Copyright 2007, Information Builders. Slide 55 SEGNAME=SYSSEG, SEGTYPE=S1, PARENT=SYSCOLUM FIELD=SEGNO,,I2S,I4,$ SEGMENT NUMBER FIELD=SEGNAME,,A64,A64,$MFD - SEGNAME/CRSEGNAME FIELD=SEGTYPE,,A4,A4,$MFD - SEGTYPE FIELD=LOCSEGNAME,,A64,A64,$MFD - SEGNAME FROM LOCAL MFD. FIELD=SKEYS,,I2,I4,$MFD - SKEYS FIELD=PARNO,,I2S,I4,$ PARENT SEGMENT NUMBER OF THIS FIELD FIELD=PARENT,,A64,A64,$MFD - PARENT FIELD=TAG,,A8,A8,$ FIELD=FILENAME,,A64,A64,$ File from which segment originated FIELD=SEGSUFFIX,,A8,A8,$SUFFIX FOR A SEGMENT AS SEPARATE FILE FIELD=SEGDESC,,A256,A256,$SEGMANET DESCRIPTION

Copyright 2007, Information Builders. Slide 56 SYSCOLUM Field Information (extract) Copyright 2007, Information Builders. Slide 56 SEGNAME=SYSFIELD,SEGTYPE=S1,PARENT=SYSSEG FIELD=NAME,,A66,A66,$MFD FIELD=COLNO,,I4,I4,$System generated record counter … FIELD=ALIAS,,A66,A66,$MFD - ALIAS FIELD=INDEXED,,A1,A1,ACCEPT=Y OR N OR ' ',$MFD - F(INDX) FIELD=ACTUAL,,A8,A8,$MFD - ACTUAL … FIELD=TITLE,,A78,A78,$Drived from TITLE in master file FIELD=HELPMESSAGE,,A78,A78,$Derived from HELPMESSAGE FIELD=USAGE,,A8,A8,$MFD – USAGE … FIELD=DEFINE,,A1,A1,ACCEPT=Y OR N OR C OR F OR S,$ FIELD=DEFTEXT,,A256,A256,$ TEXT OF DEFINE … FIELD=LONGDESC,,A2048,A2048,$ Derived from DESCRIPTION

Ggsales1 MASTER FILENAME=GGSALES1, SUFFIX=FOC, $ SEGMENT=SALES01, SEGTYPE=S1, $ FIELDNAME=SEQ_NO, ALIAS=SEQ, USAGE=I5, TITLE='Sequence#', DESCRIPTION='Sequence number in database', $,,, DEFINE YEAR/A4 WITH SEQ_NO=EDIT( DATE,'9999'); $ FILTER NINETYSEVEN WITH SEQ_NO=YEAR EQ '1997'; $ FIELDNAME=UNITS, ALIAS=E10, USAGE=I8C, TITLE='Unit Sales', DESCRIPTION='Number of units sold', $ FIELDNAME=DOLLARS, ALIAS=E11, USAGE=I8C, TITLE='Dollar Sales', DESCRIPTION='Total dollar amount of reported sales', $ FIELDNAME=BUDUNITS, ALIAS=E12, USAGE=I08, TITLE='Budget Units', DESCRIPTION='Number of units budgeted', $ FIELDNAME=BUDDOLLARS, ALIAS=E13, USAGE=I08, TITLE='Budget Dollars', DESCRIPTION='Total sales quota in dollars', $ COMPUTE PCT_OF_BUDGET/F7.2%=UNITS/BUDUNITS * 100;, $ FILTER EAST WITH SEQ_NO=REGION EQ 'Northeast' OR 'Southeast'; $ FILTER FOODS WITH SEQ_NO=CATEGORY EQ 'Coffee' OR 'Food'; $

Copyright 2007, Information Builders. Slide 58 SYSCOLUM Describe Copyright 2007, Information Builders. Slide 58 DEFINE FILE SYSCOLUM DEF_TYPE/A15= DECODE DEFINE('C' 'Computes' 'F' 'Filters' 'Y' 'Defines‘ ELSE 'Columns '); XREMARKS/A256=IF DEFINE EQ 'F' OR 'C' OR 'Y' THEN GETTOK(DEFTEXT, 256, -1, '=', 256, 'A256') ELSE REMARKS; DEFORDER/I1 = DECODE DEFINE('C' 1 'Y' 3 'F' 4 ELSE 2); END TABLE FILE SYSCOLUM PRINT SHORTNAME SHORTALIAS USAGE XREMARKS AS 'Remarks,or,Definition' BY SEGNO NOPRINT BY DEFINE NOPRINT ROWS ‘C’ OVER ‘N’ OVER ‘Y’ OVER ‘F’ BY DEF_TYPE NOPRINT BY COLNO NOPRINT ON DEF_TYPE SUBHEAD "<DEF_TYPE " HEADING "Report of file: &FileName" "As of: &DATEMtrDYY" " “ END

Report of file: ggsales1 As of: April 17, 2009 Remarks or SHORTNAMESHORTALIASUSAGEDefinition Computes PCT_OF_BUDGETF7.2%UNITS/BUDUNITS * 100; Columns SEQ_NOSEQI5Sequence number in database CATEGORYE02A11Product category PCDE03A04Product Identification code (for sale) PRODUCTE04A16Product name REGIONE05A11Region code STE06A02State CITYE07A20City STCDE08A05Store identification code (for sale) DATEE09I8YYMDDate of sales report UNITSE10I8CNumber of units sold DOLLARSE11I8CTotal dollar amount of reported sales BUDUNITSE12I08Number of units budgeted BUDDOLLARSE13I08Total sales quota in dollars Defines YearA4EDIT( DATE,'9999'); Filters NINETYSEVENI1Year EQ '1997'; EASTI1REGION EQ 'Northeast' OR 'Southeast'; FOODSI1CATEGORY EQ 'Coffee' OR 'Food'; SYSCOLUM Describe