1 Inside Module 8 Working with Speed Demon Page n What is Speed Demon?2 n Speed Demon versus Suprtool3 n Speed Demon intrinsics6 n SPDEDBSCAN7 n SPDEDBINIT8.

Slides:



Advertisements
Similar presentations
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.
Advertisements

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.
AN INTRODUCTION TO PL/SQL Mehdi Azarmi 1. Introduction PL/SQL is Oracle's procedural language extension to SQL, the non-procedural relational database.
1 Suprtool2 Programming with Suprtool2 Page n Calling Suprtool from a program2 n Invoking Suprtool for an end-user3 n Examples of user interfaces for Suprtool.
Introducing Programming a general discussion. What is a Program? Sets of instructions that get the computer to do something Programs may be a few lines.
Query Manager. QM is a collection of tools you can use to obtain information from the AS/400 database Used to –select, arrange, and analyze information.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 13 Introduction to SQL Programming Techniques.
Modules, Hierarchy Charts, and Documentation
ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET.
Backup and Recovery Part 1.
7/17/2009 rwjBROOKDALE COMMUNITY COLLEGE1 Unix Comp-145 C HAPTER 2.
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.
Chapter 8 Printing 1. In COBOL you send data to the printer by writing data to a file. In COBOL, the printer is defined as a file, and it is opened, closed,
Chapter Seven Advanced Shell Programming. 2 Lesson A Developing a Fully Featured Program.
UNESCO ICTLIP Module 4. Lesson 4 Database Design, and Information Storage and Retrieval Lesson 4. Advanced features of WinISIS.
1 HowMessy How Messy is Your Database Page n How messy is your database? 2 n Hashing algorithm5 n Interpreting master dataset lines12 n Master dataset.
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.
CSCI 6962: Server-side Design and Programming Validation Tools in Java Server Faces.
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.
Weeding in ALEPH Library Staff Training © South Dakota Library Network, 2013 ©Ex Libris (USA), 2011 Modified for SDLN Version
Higher Grade Computing Studies 2. Languages and Environments Higher Computing Software Development S. McCrossan 1 Classification of Languages 1. Procedural.
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.
Chapter Four UNIX File Processing. 2 Lesson A Extracting Information from Files.
PowerPoint Presentation: Richard H. Baum, Ph.D. DeVry Institute of Technology 9th Edition Structured COBOL Programming Nancy Stern Hofstra University Robert.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 24 Managing and Reporting Database Information 1 Morrison / Wells / Ruffolo.
Printing on power systems Program/ Command Data Report Layout (Printer File) Job Output Queue *FILE Spooled File.
Transforming TurboIMAGE Data for Eloquence, Oracle, and More By Bob Green, Robelle
Using OS Isolation Layers for Two-Step Migration Janardhanan PS Systems Technology & Software Division Hewlett Packard Company [Contact:
Structured COBOL Programming Nancy Stern Hofstra University Robert A. Stern Nassau Community College James P. Ley University of Wisconsin-Stout.
Introducing Python CS 4320, SPRING Lexical Structure Two aspects of Python syntax may be challenging to Java programmers Indenting ◦Indenting is.
11- 1 Chapter 11.  Avoiding Logic Errors by Validating Input  What to Do If Input Errors Occur  Global Considerations in COBOL  When Data Should Be.
5 1 Data Files CGI/Perl Programming By Diane Zak.
Chapter 9: Advanced SQL and PL/SQL Guide to Oracle 10g.
13-1 Sequential File Processing Chapter Chapter Contents Overview of Sequential File Processing Sequential File Updating - Creating a New Master.
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.
13- 1 Chapter 13.  Overview of Sequential File Processing  Sequential File Updating - Creating a New Master File  Validity Checking in Update Procedures.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Session 1 Module 1: Introduction to Data Integrity
Chapter 10 Algorithmic Thinking. Learning Objectives Explain similarities and differences among algorithms, programs, and heuristic solutions List the.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
FILE ORGANIZATION.
11- 1 Chapter 11.  Avoiding Logic Errors by Validating Input  What to Do If Input Errors Occur  Global Considerations in COBOL  When Data Should Be.
Dayu Zhang 9/10/2014 Lab03. Outline Brief Review of the 4 Steps in Hello.cpp Example Understand endl and \n Understand Comment Programming Exercise -
Week 4 - Monday.  What did we talk about last time?  Precedence  Selection statements  Loops  Lab 3.
B Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Working with PDF and eText Templates.
ORAFACT Text Processing. ORAFACT Searching Inside Files grep - searches for patterns within files grep [options] [[-e] pattern] filename [...] -n shows.
Midterm OPERATING SYSTEM. Objectives At the end of the course, the student should be able to: Define the operating system; Demonstrate the abstract view.
11/18/2003 Smart Card Authentication Mechanism Tim W. Baldridge, CISSP Marshall Space Flight Center Office of the Chief Information Officer.
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe.
1 Inside Module 3 Working with Eloquence Page n Commands to access Eloquence databases2 n Opening and closing a database3 n Eloquence and Base Command4.
FILES AND EXCEPTIONS Topics Introduction to File Input and Output Using Loops to Process Files Processing Records Exceptions.
ASP.NET Programming with C# and SQL Server First Edition
Inside Module 10 Editing TurboIMAGE Datasets Page
McGraw-Hill Technology Education
For Monday Read WebCT quiz 18.
FILE ORGANIZATION.
Chapter 3 The DATA DIVISION.
Suprtool Suprtool High Speed Database Extract for HP 3K/9K
Designing and Writing Control-Break Programs
Chapter 14 Sorting and Merging.
Iteration: Beyond the Basic PERFORM
Chapter Four UNIX File Processing.
Inside Module 3 Working with Eloquence Page
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 9 Latest Features in Suprtool
McGraw-Hill Technology Education
Inside Module 8 Extracting Data Page Using the Extract command 2
Presentation transcript:

1 Inside Module 8 Working with Speed Demon Page n What is Speed Demon?2 n Speed Demon versus Suprtool3 n Speed Demon intrinsics6 n SPDEDBSCAN7 n SPDEDBINIT8 n SPDEDBSHUT11

2 What is Speed Demon? Speed Demon n Reads records sequentially n Same as serial DBGET for user programs n Useful when you want to extract more than 50% of a dataset n Works best in 3G languages, such as COBOL, Pascal and FORTRAN

3 Comparing Speed Demon and Suprtool n Suprtool is a stand-alone utility program n Selects, sorts, and extracts records n Puts extracted records in an output file n Output is available to application programs for further processing n Speed Demon is an intrinsic library n Extracts records n Cannot select or sort records n Moves extracted records directly to the application program

4 Extracting records Application program SPEED DEMON Records calls extracts transferred to Report program

5 Versions of Speed Demon n Compatibility mode (CM) version on MPE V n Faster than DBGET n Slower than Suprtool n Uses a small amount of stack space n Native mode (NM) version on MPE/iX n Faster than DBGET n As fast as Suprtool

6 Speed Demon intrinsics n SPDEDBINIT selects dataset and field list n SPDEDBSCAN replaces calls to DBGET mode-2 n SPDEDBSHUT cleans up after dataset scan n SPDEEXPLAIN prints error messages

7 SPDEDBSCAN replaces DBGET mode-2 SPDEDBSCAN intrinsic n Has similar parameters to DBGET, but without NO SET, MODE or LIST options n Must call SPDEDBINIT before SET and LIST n Mode-2 serial access is always assumed

8 SPDEDBINIT selects dataset and field list SPDEDBINIT intrinsic n Mode-1 returns the entire record n Mode-2 allows you to specify a list of field names n Required before each SPDEDBSCAN n Scans only one dataset at a time n Requires database opened with DBOPEN command

9 SPDEDBINIT in mode-1 returns complete record n Call "SPDEDBINIT" using db-base db-set-d-sales db-mode-1 db-status-area spde-db-control db-dummy-arg. 01 spde-db-control. 05 spde-db-version pic s9(4) comp value spde-db-bufferpic s9(4) comp value zeroes. 05 spde-filler pic x(20) value spaces.

10 SPDEDBINIT in mode-2 returns specific fields n Speed Demon accepts all valid TurboIMAGE field lists except “*” list n Move "CUST-ACCOUNT,PRODUCT-NO, PRODUCT-PRICE;" to db-list-d-sales. n Call "SPDEDBINIT" using db-base db-set-d-sales db-mode-2 db-status-area spde-db-control db-list-d-sales.

11 SPDEDBSHUT cleans up after DBSCAN SPDEDBSHUT intrinsic n Mode-1 closes the database n Mode-2 closes the database and prints a performance report n If omitted, will cause next SPDEDBINIT to fail n Call "SPDEDBSHUT" using db-base db-set-d-sales db-mode-1 db-status-area spde-db-control db-dummy-arg.

12 Summary n Replacement for DBGET mode-2 n Intrinsics

13