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.

Slides:



Advertisements
Similar presentations
RP Designs Semi-Custom e-Commerce Package. Overview RP Designs semi- custom e-commerce package is a complete website solution. Visitors can browse a catalog.
Advertisements

Topic: Sales Tax and 1099 Reporting
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
MASTER QUOTE OVERVIEW.
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.
What is New in Inventory & Purchasing? Presented by: Derek Kratz.
1099 Pro, Inc. – Software for Pro Enterprise Edition Features.
User Friendly Item Maintenance A Family of Enhancements For iSeries 400 DMAS from  Copyright I/O International, 2006, 2007, 2008, 2010 Skip Intro Exit.
Jewelry Inventory Management Software Your Logo Here Welcome to a demonstration of Del Mar Data Systems Jewelry Inventory Management.
©2008 TTW Where “Lean” principles are considered common sense and are implemented with a passion! Product Training Purchase Orders.
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.
1 SYSTEMS DESIGN Pertemuan 13 s.d 20 Matakuliah: A0554/Analisa dan Perancangan Sistem Informasi Akuntansi Tahun: 2006.
High Lights of SAP Business One for Manufacturing.
1 of 19 VAT on Core / DA0483-w1 Last updated: VAT on Core.
Lesson 32: Designing a Relational Database. 2 Lesson Objectives After studying this lesson, you will be able to:  Identify and apply principles for good.
Introduction to Query Part 2. Query Topics Joining Files Defining Result Fields Complex Record Selection Formatting Output Creating Reports Using Multiple.
Integrate your people maximize your knowledge Tel SalesBase Customer.
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.
Easy update New security features Batch enhancements Improved buying and DSD module Margin, markdown and forecast Label printing automation More synchronizing.
Food Recall System Pre Code System Design Layout Version 1.0.
1 Dbedit Editing TurboIMAGE Datasets Page n How can Dbedit help me with my work?3 n Accessing Dbedit 4 n Finding entries with a known key 6 n What if I.
Product Name: Reporting to the Max. The following presentation demonstrates the features and benefits of an enhanced reports available for the Cougar.
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.
MDS Enhancements TSH User Group Meeting MDS Base Modifications 248 Cases Updated this Year Cases Completed By System Area ODBC2 Purchasing22 Pricing7.
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.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 3 Analyzing Data and Creating Reports.
1. To start the process, Warehouse Stationery (WSL) will invite you to use The Warehouse Group Supplier Electronic Portal and will send you the link to.
Transforming TurboIMAGE Data for Eloquence, Oracle, and More By Bob Green, Robelle
FILES AND DATABASES. A FILE is a collection of records with similar characteristics, e.g: A Sales Ledger Stock Records A Price List Customer Records Files.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
Elliott Links Edward M. Kwang President. Elliott Notes, Attributes & Links Notes & Attributes –Expand Elliott database without modification –They are.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
1 Suprtool High Speed Database Extract for HP 3K/9K Training Workbook Copyright Robelle Solutions Technology Inc.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Finding a PersonBOS Finding a Person! Building an algorithm to search for existing people in a system Rahn Lieberman Manager Emdeon Corp (Emdeon.com)
PestPac Software. Pay On Commission Commission can be paid on Production, Receipt, or Up-Front. Production: Commission will be paid when work is completed/an.
Chapter 11: Sequential File Merging, Matching, and Updating Programming Logic and Design, Third Edition Comprehensive.
Databases Flat Files & Relational Databases. Learning Objectives Describe flat files and databases. Explain the advantages that using a relational database.
Midwest alio ® Conference November 13-14, 2013 Fixed Assets Michael Williams.
Chapter 1 Page ref. Chapter 1 Company File Setup and Maintenance 1.
Invoices and Service Invoices Training Presentation for Raytheon Supply Chain Platform (RSCP) April 2016.
How to Create eInvoices in SCP-RR Training Presentation for Supply Chain Platform: Rolls-Royce January 2016.
Create eInvoices Training Presentation for Supply Chain Platform: Rolls-Royce February 2014.
Invoices Training Presentation for Supply Chain Platform: BAE Systems May 2015.
1 Files and databases Suppose a school stores information about its students on record cards. Each student has their own card; this is their record. Record.
DEVRY CIS 336 W EEK 7 G ROUP P ROJECT T ASK 5 Check this A+ tutorial guideline at
Compatible with the latest browsers; Chrome, Safari, Firefox, Opera and Internet Explorer 9 and above.
Create a PO-Based Invoice
BASIC INFORMATION ABOUT DATABASE MANAGEMENT SOFTWARE
Inside Module 10 Editing TurboIMAGE Datasets Page
Inside Module 7 Exporting Data to the World Page
Database Applications – Microsoft Access
Ready, Set, GoTransactions
Creating and Modifying Queries
Chapter 3 The DATA DIVISION.
Suprtool Suprtool High Speed Database Extract for HP 3K/9K
Programming Logic and Design Fourth Edition, Comprehensive
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 3 Working with Eloquence Page
Inside Module 7 Programming with Suprtool2 Page
Inside Module 2 Working with Databases Page
Inside Module 6 Working with Suprlink Page Accessing Suprlink 4
Inside Module 9 Latest Features in Suprtool
Product Training Purchase Invoices
Flat Files & Relational Databases
Inside Module 5 Working with Files Page Copying files 2
Inside Module 8 Extracting Data Page Using the Extract command 2
Welcome 1 This is a document to explains the chosen concept to the animator. This will take you through a 5 section process to provide the necessary details.
Presentation transcript:

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 n Performance guidelines 43 Inside Module 6

2 Suprlink expands Suprtool capabilities Suprlink n Adds multi-file linking to Suprtool’s remarkable speed n Works on IMAGE, KSAM, and MPE files n Merges up to 8 files into one n Creates one sorted file as input to your report programs We love Suprtool’s speed, but couldn’t we have multiple dataset extracts too?  

3 Suprlink ties your data together DB Report program File1File3 File2 Suprlink Combined file Suprtool

4 Three ways to access Suprlink n Use the RUN command to use Suprlink directly :run suprlink.pub.robelle +input file1 +link file2 +output file3 +exit n Use the Suprtool LINK command to start Suprlink :run suprtool.pub.robelle >link +input file1 +link file2 +output file3 +exit >

5 Three ways to access Suprlink continued n Use Suprtool’s LINK command to pass commands to Suprlink :run suprtool.pub.robelle >link input file1 >link link file2 >link output file3 >link exit n On HP-UX run Suprlink directly. –/opt/robelle/bin/suprlink

6 I need all invoices over $100 for British Columbia customers, now! n Step 1:Identify the required data, and their sources n Step 2:Use Suprtool to select and sort records from each dataset or file, extracting the required fields n Step 3:Link the extracted files n Step 4:Produce the report from the linked file

7 What should the report look like? May 12, :18 BC Sales over $100 Page 1 Account# Name Purch DateAmountProduct# Melander John Nisbet Walley

8 Step 1: Where are the records located? n Suprtool’s FORM SETS command lists all the sets in a database opened with the BASE command, and describes their attributes n Use the FORM dataset command to list field names in a dataset n Use COBOL Copylib or Cognos Qschema listings to get the layouts of non-IMAGE files

9 What datasets are in the Store database? :run suprtool.pub.robelle >base store.demo >form sets Database: STORE.DEMO.ROBELLE Set Item Entry Load Entry Sets: Num Type Count Capacity Count Factor Length B/F M-CUSTOMER 1 M % 55 7 M-PRODUCT 2 M % M-SUPPLIER 3 M % 49 8 D-INVENTORY 4 D % D-SALES 5 D % 19 14

10 >form m-customer Database: STORE.DEMO.ROBELLE M-CUSTOMER Master Set# 1 Entry: Offset CITY X12 1 CREDIT-RATING J2 13 CUST-ACCOUNT Z8 17 > CUST-STATUS X2 25 NAME-FIRST X10 27 NAME-LAST X16 37 STATE-CODE X2 53 STREET-ADDRESS 2X25 55 POSTAL-CODE X6 105 Capacity: 211 (7) Entries: 20 Bytes: 110 What fields are in the m-customer dataset?

11 What fields are in the d-sales dataset? >form d-sales Database: STORE.DEMO.ROBELLE D-SALES Detail Set# 5 Entry: Offset CUST-ACCOUNT Z8 1 (!M-CUSTOMER) DELIV-DATE J2 9 PRODUCT-NO Z8 13 (M-PRODUCT) PRODUCT-PRICE J2 21 PURCH-DATE J2 25 SALES-QTY J1 29 SALES-TAX J2 31 SALES-TOTAL J2 35 Capacity: 602 (14) Entries: 8 Bytes: 38

12 Step 2: Extracting and sorting records n First, we need to read all the customer records of British Columbia customers and extract the cust-account, name-last, and name-first fields n Next, we have to read all the records of invoices over $100 and extract the cust-account, product-no, purch-date, and sales-total fields n The cust-account field is common to both records, so we will sort both files by this cust-account

13 Reading records of British Columbia customers n Use Suprtool to select and sort British Columbia customers >get m-customer >if state-code = "BC" >sort cust-account >extract cust-account,name-last,name-first >output custfile,temp,link >xeq

14 List of British Columbia customers >input custfile;list standard;xeq CUST-ACCONAME-LASTNAME-FIRST 10001HamiltonDarlene 10002LacknerGordon 10003MelanderJohn 10008SarafinThomas NisbetWalley

15 What is a self-describing file? n It is a standard MPE disc file n It has user labels that contain a mini-dictionary describing record structures n Use the FORM command to see the structure Hi, my name is Peter from BC

16 Suprlink requires self-describing (SD) files n Suprlink uses self-describing files as input and creates SD files as output n The LINK option of the Suprtool OUTPUT command specifies a self-describing file >output custfile,temp,link n In our example, Custfile and Tranfile are self-describing files that Suprlink can use as input

17 n Use Suprtool again to select and sort records with invoices greater than $100 >get d-sales >item sales-total,decimal,2 >if sales-total > >sort cust-account >sort purch-date >extract cust-account,sales-total,purch-date,product-no >output tranfile,temp,link >xeq Reading records of invoices over $100

18 List of invoices over $100 >input tranfile;list standard;xeq CUST-ACCO SALES-TOTAL PURCH-DATE PRODUCT-NO

19 Step 3: Linking customer and invoice records n Use Suprlink to merge the extracted records :run suprlink.pub.robelle +input tranfile +link custfile +output reptfile,temp +exit

20 What is the structure of the merged file? > form reptfile File: REPTFILE.DATA.SALES (SD Version B.00.00) Entry: Offset CUST-ACCOUNT Z8 1 > SALES-TOTAL I2 9 > PURCH-DATE I2 13 > PRODUCT-NO Z8 17 NAME-LAST X16 25 NAME-FIRST X10 41 Limit: 6 EOF: 5 Entry Length: 50 Blocking: 81

21 How does the merged file look? >input reptfile;list standard;xeq CUST-ACCOSALES-TOTALPURCH-DATEPRODUCT-NNAME-LASTNAME-FIRST MelanderJohn MelanderJohn MelanderJohn Nisbet Walley Nisbet Walley...

22 How does the link work? Hamilton Darlene Lackner Gordon Melander John Sarafin Thomas Oxenbury Gordon Humphreys Wayne Kirk William Ferguson Percy Andersen Colin Nisbet Walley Link file - 12 records Input file - 6 records

23 How the link works Input file - 6 records Hamilton Darlene Lackner Gordon Melander John Sarafin Thomas Oxenbury Gordon Humphreys Wayne Kirk William Ferguson Percy Andersen Colin Nisbet Walley Link file - 12 records Melander John Melander John Melander John Nisbet Walley Nisbet Walley Output file - 5 records

24 What happens if we reverse the linking order? >link input custfile >link link tranfile >link output reptfile,temp >link xeq >input reptfile;list standard;xeq CUST-ACCONAME-LAST NAME-FIRST SALES-TOTALPURCH-DATEPRODUCT-N 10003MelanderJohn Nisbet Walley

Hamilton Darlene Lackner Gordon Melander John Sarafin Thomas Oxenbury Gordon Humphreys Wayne Kirk William Ferguson Percy Andersen Colin Nisbet Walley Input file - 12 records Reversing the input and link files Link file - 6 records Melander John Nisbet Walley Output file - 2 records

26 What if an invoice does not match a customer record? n By default, Suprlink drops input records without a matching record in the link file n Specify LINK OPTIONAL to override this default and include unmatched input records n LINK OPTIONAL does not include link records without a matching record in the input file

27 Including unmatched records >link input tranfile >link link custfile optional >link output reptfile,temp >link xeq

Input file - 6 records Hamilton Darlene Lackner Gordon Melander John Sarafin Thomas Oxenbury Gordon Humphreys Wayne Kirk William Ferguson Percy Andersen Colin Nisbet Walley Link file - 12 records Including unmatched input records Melander John Melander John Melander John Nisbet Walley Nisbet Walley Output file - 6 records

29 Step 4: Produce the report n Use your favorite report writer to format the final report, adding headings, titles, and other features n The report writer has almost no work to do n Use Suprtool LIST command if the reporting needs are basic

30 Suprtool can (almost) produce the report >input reptfile >extract cust-account,name-last,name-first,purch-date,& >>sales-total,product-no >list standard,title "BC Sales over $100",& >>heading "Account# Name ",& >>"Purch Date Amount Product#" >xeq May 12, :10 BC Sales over $100Page 1 Account# Name Purch Date Amount Product# MelanderJohn MelanderJohn MelanderJohn NisbetWalley NisbetWalley

31 Suprlink Exercise 1 n From the Store database, find all the British Columbia supplied products that have inventories less than 20 n You should include the product number, quantity in stock, as well as the supplier's name and number

32 Can I add more information to the report? n The boss has asked to see product descriptions on the report May 12, :18 BC Sales over $100 Page 1 Account# Name Purch Date Amount Product# Product Melander John Drill Drill Saw 10020Nisbet Walley Saw Jigsaw

33 Which dataset contains product descriptions? >form sets Database: STORE.DEMO.ROBELLE Set Item Entry Load Entry Sets: NumType CountCapacityCountFactorLengthB/F M-CUSTOMER 1 M % 557 M-PRODUCT 2 M % 2412 M-SUPPLIER 3 M % 498 D-INVENTORY 4 D % 1522 D-SALES 5 D % 1914

34 What fields are in the product dataset? >form m-product Database: STORE.DEMO.ROBELLE M-PRODUCT Master Set# 2 Entry: Offset PRODUCT-DESC X30 1 PRODUCT-MODEL X10 31 PRODUCT-NO Z8 41 > Capacity: 307 (12) Entries: 13 Bytes: 48

35 Selecting the required fields n We want to read the product-no and product-desc fields in the product master dataset n We want to read all the fields in Reptfile n Product-no field is common to both records

36 Reading product description records >get m-product >sort product-no >extract product-no,product-desc >output prodfile,temp,link >xeq

37 Re-sorting the invoices on the product field n Suprlink input and link files must have the same sort key, so the invoices have to be re-sorted on the product-no field >input reptfile >sort product-no >output = input >xeq

38 Linking product descriptions to the invoices n >link input reptfile >link link prodfile >link output listfile temp >link xeq

39 How does the new report look? >input listfile >extract cust-account,name-last,name-first,purch-date,sales-total,product-no >extract product-desc >list standard,title "BC Sales over $100",& >>heading "Account# Name ",& >>"Purch Date Amount Product# and Description" >sort cust-account >sort purch-date >xeq Account# Name Purch Date Amount Product# and Description Melander John Makita 3/8" Var. Speed Drill Melander John Makita 8 1/4" Circular Saw Melander John Makita 1" Jigsaw Nisbet Walley Makita 3/8" Var. Speed Drill Nisbet Walley Makita 8 1/4" Circular Saw IN=5, OUT=5. CPU-Sec=1. Wall-Sec=1.

40 Suprlink Exercise 2 n Add the product price to the list in Exercise 1 (page 31) SUPPLIER- PRODUCT-N ON-HAND-QTY SUPPLIER-NAME Makita Canada Inc Makita Canada Inc Makita Canada Inc Makita Canada Inc Black & Decker...

41 Specifying Link Fields n You can specify link fields: + input tranfile by cust-account + link custfile by account-num n Useful when files created with,QUERY instead of,LINK n Also useful for specifying a secondary link key: + link majors by ssn cmaj n If field names different in the input file: + link majors by ssn cmaj from ssn currmaj

42 Suprlink requirements n Suprlink requires enough disc space for the original database, each input file, the final output file, and hidden Sortscr files n Input and link files must be self-describing files n Input and link files must be sorted on the same key field n Link keys can be any type except a floating-point field type

43 Performance guidelines n Avoid using Suprlink if repeated sorting is required n Minimize record sizes by only selecting necessary fields n Minimize file sizes by only selecting required records

44 Summary n Suprlink theory n Input files versus link files n Implied record selection n Optional linking n Adding more information n Performance tips