1 PowerHouse and Suprtool Page n Why use Suprtool?2 n Combining Suprtool and QUIZ 4 n Linking multiple files8 n Creating complex subfiles14 n Importing.

Slides:



Advertisements
Similar presentations
DT266/2 Information Systems COBOL Revision. Chapters 1 & 2 Hutty & Spence Divisions of a Cobol Program Identification Division Program-ID. Environment.
Advertisements

Organisation Of Data (1) Database Theory
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
CC SQL Utilities.
What is a Database By: Cristian Dubon.
1 Working with Suprlink Page n Accessing Suprlink4 n A sample scenario6 n Self-describing files15 n Linking files19 n Adding information32 n Suprlink requirements41.
Jewelry Inventory Management Software Your Logo Here Welcome to a demonstration of Del Mar Data Systems Jewelry Inventory Management.
Creating Web Page Forms. Objectives Describe how Web forms can interact with a server-based program Insert a form into a Web page Create and format a.
Using Objects and Properties
1 Inside Module 5 Working with Files Page n Copying files 2 n Working with ordinary disc files3 n Defining fields 4 n New or existing files7 n Writing.
Guide To UNIX Using Linux Third Edition
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
© 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 3 – Finding, Filtering,
Introduction to Query Part 2. Query Topics Joining Files Defining Result Fields Complex Record Selection Formatting Output Creating Reports Using Multiple.
Introduction to Database Systems
1 Inside Module 2 Working with Databases Page n Choosing input from databases2 n Reading an entire dataset serially6 n Determining fields in a dataset8.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Advanced File Processing
©2008 TTW Where “Lean” principles are considered common sense and are implemented with a passion! Product Training Cash and Cash Management.
XP Tutorial 6New Perspectives on Creating Web Pages with HTML, XHTML, and XML 1 Creating Web Page Forms Designing a Product Registration Form Tutorial.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
UNESCO ICTLIP Module 4. Lesson 4 Database Design, and Information Storage and Retrieval Lesson 4. Advanced features of WinISIS.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
Excel Projects 5 & 6 Notes Mr. Ursone. Excel Project 5: Sorting a List  Sorting: Arranging records in a specific sequence  The Sort command is on the.
1 Inside Module 9 Latest Features in Suprtool n Variable Substitution n $Counter n $Clean and $FindClean n $Total and $Subtotal n $SPLIT n $EDIT n $NUMBER.
Inside Module 7 Exporting Data to the World Page n Exporting data to other applications2 n STExport converts the data4 n Running STExport5 n Dates and.
Guide To UNIX Using Linux Fourth Edition
Database Basics   Describe the basic organization of a database.   Summarize advantage to using database software.   Define GIGO, and explain how.
Key Data Management Tasks in Stata
Advanced File Processing. 2 Objectives Use the pipe operator to redirect the output of one command to another command Use the grep command to search for.
Chapter Five Advanced File Processing Guide To UNIX Using Linux Fourth Edition Chapter 5 Unix (34 slides)1 CTEC 110.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
Transforming TurboIMAGE Data for Eloquence, Oracle, and More By Bob Green, Robelle
Any Questions? Control Breaks Agenda Control Breaks –Also known as Reports with sub-totals.
WHAT IS A DATABASE? A DATABASE IS A COLLECTION OF DATA RELATED TO A PARTICULAR TOPIC OR PURPOSE OR TO PUT IT SIMPLY A GENERAL PURPOSE CONTAINER FOR STORING.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Copyright © 2010 – MICS 2010, Curt Hill Instructor Tools: Test Data Generation Curt Hill Valley City State University.
Microsoft ® Office Access 2003 Training Get to know Access CGI presents:
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
Chapter Five Advanced File Processing. 2 Lesson A Selecting, Manipulating, and Formatting Information.
Verification & Validation. Batch processing In a batch processing system, documents such as sales orders are collected into batches of typically 50 documents.
Lesson 2: Designing a Database and Creating Tables.
1.  Introduction  The Benefits of the Report Writer Module ◦ For Detail and Summary Printing ◦ For Control Break Processing ◦ For Printing Headings.
1 Suprtool High Speed Database Extract for HP 3K/9K Training Workbook Copyright Robelle Solutions Technology Inc.
Javadoc Summary. Javadoc comments Delemented by /** and */ Used to document – Classes – Methods – Fields Must be placed immediately above the feature.
Excel part 5 Working with Excel Tables, PivotTables, and PivotCharts.
FILE ORGANIZATION.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
Chapter 10: Working with Large Data Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
B Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Working with PDF and eText Templates.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
What Should a DBMS Do? Store large amounts of data Process queries efficiently Allow multiple users to access the database concurrently and safely. Provide.
Inside Module 10 Editing TurboIMAGE Datasets Page
Inside Module 7 Exporting Data to the World Page
FILE ORGANIZATION.
Chapter 3 The DATA DIVISION.
Chapter 14 Sorting and Merging.
Exercise Open the Store database and copy the m-customer dataset into a file called Custfile Then look at the contents of Custfile >base store >get m-customer.
Inside Module 7 Programming with Suprtool2 Page
Inside Module 1 Introduction to Suprtool Page What is Suprtool? 3
Inside Module 2 Working with Databases Page
Inside Module 6 Working with Suprlink Page Accessing Suprlink 4
Inside Module 9 Latest Features in Suprtool
CHAPTER 17 The Report Writer Module
Inside Module 5 Working with Files Page Copying files 2
The ultimate in data organization
Inside Module 8 Extracting Data Page Using the Extract command 2
Presentation transcript:

1 PowerHouse and Suprtool Page n Why use Suprtool?2 n Combining Suprtool and QUIZ 4 n Linking multiple files8 n Creating complex subfiles14 n Importing external data for QUIZ 15 n Suprtool subtotal and count operations16 PowerHouse and Suprtool

2 Why preselect data with Suprtool? n Suprtool features n Fast and efficient serial reads of files n Powerful and flexible selection features n Efficient sort routines n Links files on any field with minimum disc I/O n Interfaces with many application tools n QUIZ features n Powerful, flexible report writer n Uses standard data retrieval methods

3 Reading input files n Suprtool can read n IMAGE datasets n KSAM files n MPE disc files n Tape files n Other files with fixed-length records n QUIZ can read n QDD or PDL declared files n PowerHouse subfiles n MPE disc files can be declared in the PowerHouse dictionary

4 A typical QUIZ and Suprtool task n Choose an input method for QUIZ ; Suprtool cannot create subfiles 1. Create an empty subfile or 2. Describe a direct or sequential file in PDL or QDD n Use Suprtool to populate the file n Access the output file in QUIZ and link to others

5 Step 1: Creating subfiles n QUIZ >access D-SALES >report summary all >set subfile name SALESUB keep size >set report limit 1 >go n QTP >access D-SALES >subfile SALESUB keep size include D-SALES >set input limit 0 >go n Different results if items redefined more than once

6 Step 2: Populate the subfile with Suprtool :run SUPRTOOL.PUB.ROBELLE >base STORE,5,READER >get D-SALES >if PRODUCT="WIDGET" >sort CUST-ACCOUNT >output SALESUB,erase >xeq IN=20, OUT=6. CPU-Sec=1. Wall-Sec=1.

7 Step 3: QUIZ can now read the subfile n Change the QUIZ report from >access D-SALES >select if PRODUCT="WIDGET" >sort on CUST-ACCOUNT >Heading... to >access *SALESUB >sorted on CUST-ACCOUNT >Heading... n QUIZ TIP : Compiled QUIZ program doesn't require mini-dictionary

8 Linking multiple data files Using Suprlink with PowerHouse n Suprtool reads and selects records from each data file n Suprtool sorts the qualified records on the link field into flat files n Suprlink links the files into one record and writes to the subfile n QUIZ does the final reporting

9 Linking with QUIZ versus Suprlink n QUIZ n Links on key fields n One-to-many links n Link field appears twice in subfile n Suprlink n Links flat files on any sorted field n Each input file record can generate only one output record n Link field appears once in output record

10 M-CUSTOMER File D-SALES File CUST-ACCO NAME-FIRST NAME-LAST PURCH-DATE CUST-ACCO Darlene Hamilton Gordon Lackner John Melander Thomas Serafin Gordon Oxenbury Wayne Humphreys William Kirk Percy Ferguson Colin Andersen Rupert Hillstrom Walley Nisbet n QUIZ links 6 records; 14 records if optional link CUST-ACCOUNT NAME-FIRST NAME-LAST PURCH-DATE CUST-ACCOUNT n Suprlink links 3 records; 11 records if optional link CUST-ACCOUNT NAME-FIRST NAME-LAST PURCH-DATE Linking with Suprlink versus QUIZ

11 Replacing QUIZ with Suprlink n Change one-to-many links to many-to-one; output file cannot contain more records than input file n Field sequence is different from QUIZ output n Link field is not repeated in output record; record length of Suprlink output file is smaller than QUIZ n Optional linkage defaults fields to blanks or zeros

12 Debugging tip First create a self-describing (SD) file with the LINK option >output SALCUST,LINK n Use FORM command to examine record structure >form salcust File: SALCUST.HANS.TECHSUP (SD Version B.00.00) Entry: Offset CUST-ACCOUNT Z8 1 > DELIV-DATE I2 9 PRODUCT-NO Z8 13 PRODUCT-PRICE I2 21 PURCH-DATE I POSTAL-CODEX6135 Limit: 108 EOF: 8 Entry Length: 140 Blocking: 29

13 Creating subfiles from multiple datasets n Indexed link QUIZ >Access D-SALES link to M-CUSTOMER >report summary CUST-ACCOUNT NAME-FIRST & >NAME-LAST PURCH-DATE >set subfile name... QTP >Access D-SALES link to M-CUSTOMER >subfile SALFILE size keep & >include D-SALES, NAME-FIRST, NAME-LAST >set input limit 0 >go n Suprlink does not repeat link field in output record

14 Creating complex subfiles without an indexed link n Suprlink can link files on any field n QUIZ requires an index to link n How do you create a QUIZ subfile with the required fields? n Two steps: 1. Build a one-record subfile of each data file 2. Link subfiles on record number to create new subfile >Access *SALSUB link to record(0) of *CUSTSUB >report summary CUST-ACCOUNT NAME-FIRST... n Subfiles must have correct item definitions; data not important

15 Creating subfiles without a PowerHouse dictionary n Create a one-record subfile with QUIZ >define NAME-FIRST character size 10 = " " >define NAME-LAST character size 20 = " " >define DELIV-DATE Integer size 4 = 0 >report summary all >set subfile name... n Ensure data-types match actual data Integer*4 is not the same as Integer size 4 n Check record length of subfile against data

16 Creating new data fields n Suprtool can summarize at sort breaks >duplicate none keys total Sales-total n Suprtool creates new fields for totals n Field names ST-TOTAL-1, ST-TOTAL-2, etc. n Appended to record n Field format P28 (packed-decimal) n To create a compatible field in QUIZ : >define D-Total packed size 14 = 0

17 A typical requirement: Summary values n Create subfile with sort and total fields n Calculate sort-break totals with Suprtool >get d-sales >sort cust-account >dup none keys total sales-total >extract cust-account >out saltot,erase n Use totals in QUIZ report >access *saltot link to d-sales >define d-pcnt num*3 = & (sales-total/st-total-1)*100 >report.....

18 Carefully examine your requirements Call our toll-free number if you need help Summary of Speeding Up QUIZ n Suprtool delivers qualified data to QUIZ n Data must be in a format QUIZ understands n Use PowerHouse to create its own data structures n Create new items with QUIZ Define commands n Use Suprtool FORM command to examine structure n Use Show Items in QUIZ to display structure

19