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.

Slides:



Advertisements
Similar presentations
Chapter 10 Excel: Data Handling or What do we do with all that data?
Advertisements

CC SQL Utilities.
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
INTRODUCTORY MICROSOFT ACCESS Lesson 6 – Integrating Access
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.
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.
Computer Science & Engineering 2111 Text Functions 1CSE 2111 Lecture-Text Functions.
CPS120: Introduction to Computer Science INPUT/OUTPUT.
The Web Warrior Guide to Web Design Technologies
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.
Chapter 7 Data Management. Agenda Database concept Import data Input and edit data Sort data Function Filter data Create range name Calculate subtotal.
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 11 1 Microsoft Office Excel 2003 Tutorial 11 – Importing Data Into Excel.
2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table.
Tutorial 11: Connecting to External Data
Pasewark & Pasewark 1 Access Lesson 6 Integrating Access Microsoft Office 2007: Introductory.
1 Access Lesson 6 Integrating Access Microsoft Office 2010 Introductory Pasewark & Pasewark.
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.
Lesson 1 – Microsoft Excel The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
11 Chapter 2: Working with Data in a Project 2.1 Introduction to Tabular Data 2.2 Accessing Local Data 2.3 Importing Text Files 2.4 Editing Tables in the.
Chapter 2: Working with Data in a Project
© 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 4 – Creating New.
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.
Chapter 10: Working with Large Data Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
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.
1 Data List Spreadsheets or simple databases - a different use of Spreadsheets Bent Thomsen.
1 Inside Module 4 Selecting Records with Suprtool Page n Using the If command 2 n Comparing fields4 n Selecting by pattern-matching 7 n Let’s do a crossword.
Data Storage Choices File or Database ? Binary or Text file ? Variable or fixed record length ? Choice of text file record and field delimiters XML anyone.
© 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 13 – Advanced.
Agenda Reporting Work on Assignment 4! Printing on power systems.
EPIB 698C Lecture 2 Notes Instructor: Raul Cruz 2/14/11 1.
11 3 / 12 CHAPTER Databases MIS105 Lec15 Irfan Ahmed Ilyas.
Transforming TurboIMAGE Data for Eloquence, Oracle, and More By Bob Green, Robelle
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
1 Chapter 2: Working with Data in a Project 2.1 Introduction to Tabular Data 2.2 Accessing Local Data 2.3 Accessing Remote Data 2.4 Importing Text Files.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
Confidential ACL Functions Corporate Audit Services Technology Solutions Team Charlene Vallandingham and Jack Hauschild September 29, 2008.
Introducing Python CS 4320, SPRING Lexical Structure Two aspects of Python syntax may be challenging to Java programmers Indenting ◦Indenting is.
MySQL Importing and creating a database. CSV (Comma Separated Values) file CSV = Comma Separated Values – they are simple text files containing data which.
Academic Year 2015 Autumn. MODULE CC2006NI: Data Modelling and Database Systems Academic Year 2015 Autumn.
1 Inside Module 8 Extracting Data Page n Using the Extract command2 n Coercion3 n $-functions4 n Extract from a table7.
Chapter 4: Variables, Constants, and Arithmetic Operators Introduction to Programming with C++ Fourth Edition.
Adding Reports to a Database. Why do we use Reports? Reports are well-designed printed pages that offer several advantages: Reports are well-designed.
NXT File System Just like we’re able to store multiple programs and sound files to the NXT, we can store text files that contain information we specify.
COMPUTER SKILLS MS-ACCESS. Introduction Access is a piece of software known as a database management system. At its most basic level, it can be used to.
Chapter 7 Creating Templates, Importing Data, and Working with SmartArt, Images, and Screen Shots Microsoft Excel 2013.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 8 BACKNEXTEND 8-1 LINKS TO OBJECTIVES Import data from Access, a Web site, or a CSV text file.
SIMPLE FILTERS. CONTENTS Filters – definition To format text – pr Pick lines from the beginning – head Pick lines from the end – tail Extract characters.
Creating Database Objects
NEWCNT Import/load option
Lesson 5-Exploring Utilities
CPS120: Introduction to Computer Science
Project 9 Creating Pop-up Windows, Adding Scrolling Messages, and Validating Forms.
Chapter 6 Filters.
Inside Module 10 Editing TurboIMAGE Datasets Page
Access Lesson 14 Import and Export Data
HTML Forms and User Input
Inside Module 7 Exporting Data to the World Page
Chapter 3 The DATA DIVISION.
Sirena Hardy HRMS Trainer
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
PHP.
Inside Module 3 Working with Eloquence Page
Inside Module 7 Programming with Suprtool2 Page
Microsoft Excel 2007 – Level 2
Inside Module 6 Working with Suprlink Page Accessing Suprlink 4
Inside Module 9 Latest Features in Suprtool
CHAPTER 17 The Report Writer Module
Chapter 18 Finalizing a Database.
Inside Module 8 Extracting Data Page Using the Extract command 2
Creating Database Objects
Presentation transcript:

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 Decimals 8 n Specifying fieldnames10 n Creating Web pages12 n Summary of formatting commands17 n Resetting defaults18 n XML command19 n Clean your data23

Exporting Data to other Applications Extract the data using Suprtool and Suprlink Convert the files using STExport Transfer the file to the PC Import the delimited file Suprtool Suprlink STExport

Data needs to be converted Image and Eloquence data has: - Fixed-width fields - Binary storage formats (J2, K2, P28, etc) - Structure defined in Root File. PC Applications require: - Variable-length fields - ASCII values for numerics - Field delimiters - Field name declarations

STExport converts the data STExport reads self-describing files Outputs ASCII files Allows you to specify: field delimiters to use date format fieldnames in first record numeric format fixed or variable length quotes on character fields HTML - table or preformatted XML output

Ways to run STExport On MPE From the MPE prompt : run stexport.pub.robelle From Suprtool >export From inside of Suprtool >export input custsd >export output custexp >export exit In=20. Out=20. CPU-Sec=1. Wall-Sec=1. On HP-UX /opt/robelle/bin/stexport

For example >export $in custsd $out custexp $xeq In=19. Out=19. CPU-Sec=1. Wall-Sec=2. $print custexp "Vancouver",200000,10010,"20","Wayne","Humphreys","BC",..... "Coquitlam",200000,10014,"20","Elizabeth","Welton","BC",..... "Richmond",200000,10011,"20","William","Kirk","BC",..... "Calgary",200000,10017,"20","Jack","Morrison","AL",..... "Edmonton",200000,10015,"20","James","Young","AL", "Coquitlam",200000,10012,"20","Percy","Ferguson","BC",..... "Surrey",200000,10020,"20","Walley","Nisbet","BC",.....

In Microsoft Excel Transfer to PC, File/Open in Microsoft Excel:

Dates and Decimals Use Suprtool’s ITEM command to qualify the fields: >get d-sales >item deliv-date,date,YYYYMMDD >item product-price,decimal,2 >out salesd,link >x IN=8, OUT=8. CPU-Sec=1. Wall-Sec=1. >form salesd File: SALESD.HANS.TRAINING (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 etc

continued Specify date format in STEXPORT: >export $in salesd $date DDMMYY "/" $output * $x 10020,04/10/97, ,98.31, ,2,2753, ,16/10/97, ,98.31, ,1,1376, ,16/10/97, ,145.62, ,1,2039, ,16/10/97, ,192.20, ,1,2691, ,20/10/97, ,24.59, ,3,1033, ,20/10/97, ,139.85, ,1,1958, ,28/10/97, ,146.60, ,1,2052, ,20/10/97, ,69.92, ,1,979,7970 In=8. Out=8. CPU-Sec=1. Wall-Sec=1.

Specifying field names Use HEADING command to add fieldnames in the first record: $heading '"Description","Model"' $heading add ',"Product Code"' $output * $xeq "Description","Model","Product Code" "Skil 3/8 Variable Speed Drill","#6523", "B&D Router","# ", "Skil Var. Sp. Auto-Scroll Saw","#4560", "Skil 8 1/2 Circular Saw","#5665", etc..... HEADING FIELDNAMES uses Image field names.

Fixed-length output Force fixed-length with COLUMNS command $input prodsd $columns fixed $out * $x "Description","Model","Product Code" "Skil 3/8 Variable Speed Drill","#6523", "B&D Router","# ", "Skil Var. Sp. Auto-Scroll Saw","#4560", "Skil 8 1/2 Circular Saw","#5665", "B&D Cordless Screwdriver","# ", Also see SPACES and ZERO commands

Preparing Data For The Web STExport can create HTML files Data can be formatted in a table HTML TABLE command Or it can be formatted like a List Standard listing HTML PREFORMATTED command Formatting is applied by STExport Numeric data is right justified, with decimal points Alpha data is left justified Dates are formatted as you specify

Preparing HTML Tables Use the HTML TABLE command $input reptfile $heading none $heading column "Account #" $heading column "Amount" $heading column "Date" $heading column "Product #" $heading column "Last Name" $heading column "First Name" $html table title "Orders" heading "BC Sales over $100" $output bcsales $xeq

Table With Column Headings The table has one column per field, and one row per record

Listing-style Data Use the PREFORMATTED option instead of TABLE

HTML Exercise Create an HTML Table that looks like this:

Summary of formatting Commands CommandOptions (default underlined) ColumnsFixed None DateNone DecimalPeriod Comma DelimiterNone Comma Tab “string” FloatingDefault Fixed Scientific HeadingNone Fieldnames “string” Column “string” HTMLNone Preformatted Table QuoteNone Double Single SignNone Floating Leading Trailing SpacesNone Trailing ZeroNone Leading

Settings survive the task.... Specified settings apply to subsequent tasks Suprtool resets most settings at the end of each task STExport resets input and output files, but remembers your settings Can specify once, and use many times. To reset commands, you must set a new preference: heading none floating default delimiter comma...etc

XML Command XML Output version doctype file record

XML data Los Altos Ralph Perkins CA Room 655 Los Altos

Xml Tag Characters Special characters in Tags Set xmltagchar “.”

New Stuff Escape Command SQL import Some Database Importers require an “escape” character STExport takes care of this for you

Clean your Data Clean command Replaces certain characters with whatever you choose Does all byte fields

Summary STExport reformats data for other applications Controlling STExport’s output layout Can be invoked in 3 ways on MPE Creating Web Pages Resetting defaults