1 The Master That Tells All Floria Foote Information Builders June 2008.

Slides:



Advertisements
Similar presentations
4d. Structured Query Language – JOIN Operation Lingma Acheson Department of Computer and Information Science IUPUI CSCI N207 Data Analysis with Spreadsheets.
Advertisements

Introducing DB-123 A New Approach to Database Management Systems Thomas Schneider February 2004.
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.
BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
McGyver for Dynamic Subtotals/Subfoots Presented by David Smith of Brinker International.
Copyright 2007, Information Builders. Slide 1 Accumulation Techniques for Reporting with WebFOCUS Kyle Hachey Systems Engineer.
Copyright 2007, Information Builders. Slide 1 Internals of Retrieval for TABLE/TABLEF/MATCH FILE Cesare Petrizio Information Builders.
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 Restricting Access To a File Walter Brengel June, 2008.
Chapter 3: System design. System design Creating system components Three primary components – designing data structure and content – create software –
Using Relational Databases and SQL Steven Emory Department of Computer Science California State University, Los Angeles Lecture 2: Single-Table Selections.
Welcome to SAS…Session..!. What is SAS..! A Complete programming language with report formatting with statistical and mathematical capabilities.
1 Copyright © Oracle Corporation, All rights reserved. Writing Basic SQL SELECT Statements.
“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 JOIN, MATCH and MORE– Making the Connections Walter F. Blood Technical Director, FOCUS Division May, 2011.
Project Implementation for COSC 5050 Distributed Database Applications Lab2.
Copyright 2007, Information Builders. Slide 1 Tips and Techniques for FOCUS 76 Did You Know? Walter F. Blood Information Builders, Inc.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
CIS Computer Programming Logic
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
“You Asked For It, You Got It!” Best New [Backend ] Features of WebFOCUS Walter Blood Noreen Redden Joel Starkman Information Builders, Inc. August,
Computers Data Representation Chapter 3, SA. Data Representation and Processing Data and information processors must be able to: Recognize external data.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 6 – Designing.
1 FOCUS Internals: Part 1 Update for 7.6.x Renee Teatro FUN Conference August 2008 Internals of Retrieval for TABLE/TABLEF/MATCH FILE.
Project Implementation for COSC 4120 Database Applications Lab 3.
1 By: Nour Hilal. Microsoft Access is a database software where data is stored in one or more Tables. A Database is a group of related Tables. Access.
 2004 Prentice Hall, Inc. All rights reserved. 1 Segment – 6 Web Server & database.
Copyright 2007, Information Builders. Slide 1 Master File Basics Joel Starkman Director of Operations June, 2008.
1 Information Retrieval and Use Data Analysis & Data Modeling, Relational Data Analysis and Logical Data Modeling Geoff Leese September 2009.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Databases MIS 21. Some database terminology  Database: integrated collection of data  Database Management System (DBMS): environment that provides mechanisms.
 2001 Prentice Hall Business Publishing, Accounting Information Systems, 8/E, Bodnar/Hopwood A field may be a single character or number, or it.
Copyright 2007, Information Builders. Slide 1 JOIN, MATCH and MORE– Making the Connections Walter F. Blood Technical Director, FOCUS Division June, 2009.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Performing Calculations—1 of 2 In addition to using queries to retrieve, update, sort, and filter data in a database, you can use a query to perform calculations.
PowerPoint Presentation for Dennis, Wixom, & Tegarden Systems Analysis and Design with UML, 3rd Edition Copyright © 2009 John Wiley & Sons, Inc. All rights.
4a. Structured Query Language - SELECT Statement Lingma Acheson Department of Computer and Information Science IUPUI CSCI N207 Data Analysis with Spreadsheets.
Chapter 10 Designing the Files and Databases. SAD/CHAPTER 102 Learning Objectives Discuss the conversion from a logical data model to a physical database.
Introduction to Databases Queries CS 146. Sample Database: CANDY_CUSTOMER CANDY_PURCHASE CANDY_CUST_TYPE CANDY_PRODUCT.
Copyright © 2004, Oracle. All rights reserved. Retrieving Data Using the SQL SELECT Statement Satrio Agung Wicaksono, S.Kom., M.Kom.
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.
Copyright © 2004, Oracle. All rights reserved. Lecture 4: 1-Retrieving Data Using the SQL SELECT Statement 2-Restricting and Sorting Data Lecture 4: 1-Retrieving.
Announcements Reading for Monday –4.6 Homework 3 – Due 9/29.
1 SYSTEMS ANALYSIS Pertemuan 7 s.d 12 Matakuliah: A0554/Analisa dan Perancangan Sistem Informasi Akuntansi Tahun: 2006.
Planning & Creating a Database By Ms. Naira Microsoft Access.
JOIN Syntax and Techniques Noreen Redden Information Builders Copyright 2011, Information Builders. Slide 1.
Techniques for List Creation (2) Data formatting and control level processing Basics for Interactive Lists Detail lists The Program Interface Interactive.
Copyright 2007, Information Builders. Slide 1 TABLE FILE: The Basics Noreen Redden FOCWizard June, 2008.
Copyright 2007, Information Builders. Slide 1 Cesare Petrizio June, 2008 The File Is Too Large.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
Level 1-2 Trigger Data Base development Current status and overview Myron Campbell, Alexei Varganov, Stephen Miller University of Michigan August 17, 2000.
Simple Queries DBS301 – Week 1. Objectives Basic SELECT statement Computed columns Aliases Concatenation operator Use of DISTINCT to eliminate duplicates.
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
CS122 Using Relational Databases and SQL Huiping Guo Department of Computer Science California State University, Los Angeles 2. Single Table Queries.
Welcome: To the fifth learning sequence “ Data Models “ Recap : In the previous learning sequence, we discussed The Database concepts. Present learning:
Introduction to Databases Queries CS 146. Sample Database: CANDY_CUSTOMER CANDY_PURCHASE CANDY_CUST_TYPE CANDY_PRODUCT.
Dealing with External Data
Writing Basic SQL SELECT Statements
What Happens When You Run A Report
CS122 Using Relational Databases and SQL
Introduction to Database Management System
What is a Database? A collection of data organized in a manner that allows access, retrieval, and use of that data.
Chapter 2 Views.
ICT Programming Lesson 4:
Chapter 2 Database Environment Pearson Education © 2009.
Presentation transcript:

1 The Master That Tells All Floria Foote Information Builders June 2008

2 The MASTER That Tells All The Synonym – The Road Map

3 The MASTER That Tells All The Synonym – The Road Map from the data to the Report EMPLOYEE.FOC

4 The MASTER That Tells All Where Am I Coming From - The FILE Declaration FILE=filename,SUFFIX=filetype,[FDFC=cent,FYRT=yy,] [ACCESS=accessfile/DATASET=datasetname], [REMARKS|DESC=description] [DESC_ln=description in another language] FILENAME=employee, SUFFIX=FOC, $

5 The MASTER That Tells All How Will I Get There – SEGMENT Declaration Logical Grouping of Data For Relational Data Adapters, will represent different tables, identified in the ACCESS file. SEGTYPE - S0 -- no sequence, Sn -- Sequence is low-to-high within parent on first n keys SHn – Sequenced high-to-low within parent on first n keys U -- Only 1 child instance per parent SEGNAME=name, SEGTYPE=, PARENT=, [LOCATION=, [DATASET=,]]

6 The MASTER That Tells All How Will I Get There – SEGMENT Declaration SEGNAME=name, SEGTYPE=, PARENT=, CRFILE=, [CRSEG=, [CRKEY=,]SEGSUF=suffix [,$] SEGTYPE: KU Uses Key to access unique instance in CRFILE KM Uses Key to access multiple instances in CRFILE KL[U] Uses Linkage in CRFILE to access other segments CRKEY: Common field in host and cross-referenced file CRSEG: Name of the segment in its own file/master SEGSUF: File SUFFIX of cross-reference file (if not equal host),$ No field declarations follow

7 The MASTER That Tells All How Will I Get There – SEGMENT Declaration SEGNAME=name, SEGTYPE=, PARENT=, CRFILE=, [CRSEG=,] JOIN_WHERE = where test; [ JOIN_WHERE = where test2;],$ [,$] Special Cases Conditional Cross-References Repeated Groups of Data (SUFFIX=FIX/VSAM) SEGNAME=name, SEGTYPE=, PARENT=, OCCURS=VARIABLE|n|fieldname

8 The MASTER That Tells All How Will I Get There SEGMENT=EMPINFO, SEGTYPE=S1, $ SEGMENT=FUNDTRAN, SEGTYPE=U, PARENT=EMPINFO, $ SEGMENT=JOBSEG, SEGTYPE=KU, PARENT=PAYINFO, CRFILE=JOBFILE, CRKEY=JOBCODE, $ SEGMENT=SECSEG, SEGTYPE=KLU, PARENT=JOBSEG, CRFILE=JOBFILE, $ SEGMENT=ADDRESS, SEGTYPE=S1, PARENT=EMPINFO, $ SEGMENT=ATTNDSEG, SEGTYPE=KM, PARENT=EMPINFO, CRFILE=EDUCFILE, CRKEY=EMP_ID, $ SEGMENT=COURSEG, SEGTYPE=KLU, PARENT=ATTNDSEG, CRFILE=EDUCFILE, $

9 The MASTER That Tells All The Paths to Success

10 The MASTER That Tells All What Will I See When I get There? FIELD Declaration FIELD = field_name, [ALIAS= alternate name], USAGE=usage format, ACTUAL = physical format, [INDEX|FIELDTYPE =I,][ACCEPT=tests,] [DEFCENT=default century,YRTHRESH=year threshold,] [[ TITLE = "default_title" [, TITLE_ln="title_for_ln"...]] [[, DESC="default_desc" [, DESC_ln="desc_for_ln"...]], $ Reserved FIELDNAMES RECTYPE -- Used for Delimited,FIX,VSAM,IMS files to indicate different groups of data. MAPVALUE -- Used within a repeating group to indicate different groups of data

11 The MASTER That Tells All What Will I See When I get There? FIELD Declaration ALIAS Alternate Name Relational Data: Column Name from Relational Table ORDER Used within OCCURS=segment Virtual field containing occurrence number

12 The MASTER That Tells All What Will I See When I get There? GROUP Declaration GROUP = field_name, ALIAS= alternate name, USAGE=alpha format, ACTUAL = alpha physical format, [INDEX|FIELDTYPE =I,][ACCEPT=tests,] [[ TITLE = "default_title" [, TITLE_ln="title_for_ln"...]] [[, DESC="default_desc" [, DESC_ln="desc_for_ln"...]], $ GROUP = field_name, ALIAS= alternate name, ELEMENTS = n [INDEX|FIELDTYPE =I,][ACCEPT=tests,] [[ TITLE = "default_title" [, TITLE_ln="title_for_ln"...]] [[, DESC="default_desc" [, DESC_ln="desc_for_ln"...]], $

13 The MASTER That Tells All How Will I Get There – Field Declaration FIELDNAME=EMP_ID, ALIAS=EID, USAGE=A9, $ GROUP=NAME1, ALIAS=NAME1, ELEMENTS=2, $ FIELDNAME=LAST_NAME, ALIAS=LN, USAGE=A15, $ FIELDNAME=FIRST_NAME, ALIAS=FN, USAGE=A10, $ FIELDNAME=HIRE_DATE, ALIAS=HDT, USAGE=I6YMD, $ FIELDNAME=DEPARTMENT, ALIAS=DPT, USAGE=A10, $ FIELDNAME=CURR_SAL, ALIAS=CSAL, USAGE=D12.2M, $ FIELDNAME=CURR_JOBCODE, ALIAS=CJC, USAGE=A3, $ FIELDNAME=ED_HRS, ALIAS=OJT, USAGE=F6.2, $

14 The MASTER That Tells All What Are the Rules of the Road? – DBA Security FIELD = … END DBA=dbavalue,$ USER=password, ACCESS=R|RW|U|W, [RESTRICT=SEGMENT,NAME=segment name not allowed] [RESTRICT=FIELD,NAME=field name not allowed] [RESTRICT=VALUE, NAME=segment level for testing|SYSTEM VALUE=“IF test (TABLE)| VALIDATE test (MODIFY)],$

15 The MASTER That Tells All Can I Limit the ROUTEs - FILTERs FILTER name [WITH fieldname] = true/false boolean expression;,$ FILTER MIS WITH EMPINFO.EMP_ID =DEPARTMENT EQ 'MIS'; $

16 The MASTER That Tells All What Can I do On the Way Create Virtual/Temporary Fields DEFINE field/format = expression;,$ DEFINE FULL_NAME/A26 WITH EMPINFO.EMP_ID = FIRST_NAME || (' ' | LAST_NAME); $ Evaluated on Retrieval of Detail Information May be used for selection, verb object, sort field

17 The MASTER That Tells All What Can I do Once I Arrive COMPUTE COMPUTE column_name/format = expression;,$ DEFINE FULL_NAME/A26 WITH EMPINFO.EMP_ID = FIRST_NAME || (' ' | LAST_NAME); $ Evaluated after retrieval/sort/aggregation May be used in WHERE TOTAL test or BY … TOTAL

18 The MASTER That Tells All The Journey

19 The MASTER That Tells All The Procedure TABLE FILE EMPLOYEE SUM COMPUTE NEWSAL; COMPUTE NEWDED; BY DEPARTMENT BY FULL_NAME BY EMP_ID NOPRINT ON DEPARTMENT RECOMPUTE AS '*TOTAL' HEADING "" FOOTING "" WHERE MIS; END

20 The MASTER That Tells All The Arrival