Inside Module 9 Latest Features in Suprtool

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

The Line Class Suppose you are involved in the development of a large mathematical application, and this application needs an object to represent a Line.
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.
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.
1 Chapter Three Using Methods. 2 Objectives Learn how to write methods with no arguments and no return value Learn about implementation hiding and how.
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.
2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table.
OBJECT MODULE FORMATS. The object module format we have employed as an educational device is called OMF (relocatable object format). It’s one of the earliest.
Concepts of Database Management Seventh Edition
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.
Unix Talk #2 (sed). 2 You have learned…  Regular expressions, grep, & egrep  grep & egrep are tools used to search for text in a file  AWK -- powerful.
Ts_print in a few easy steps There are four screens: Entities, Data Items, Date, and Report Format.
(Stream Editor) By: Ross Mills.  Sed is an acronym for stream editor  Instead of altering the original file, sed is used to scan the input file line.
 Agenda: 4/24/13 o External Data o Discuss data manipulation tools and functions o Discuss data import and linking in Excel o Sorting Data o Date and.
Transforming TurboIMAGE Data for Eloquence, Oracle, and More By Bob Green, Robelle
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
Module 1.3 Verilog Basics UNIT 1 : Introduction to Verilog Data Types.
Introducing Python CS 4320, SPRING Lexical Structure Two aspects of Python syntax may be challenging to Java programmers Indenting ◦Indenting is.
CSC141 Introduction to Computer Programming Teacher: AHMED MUMTAZ MUSTEHSAN Lecture - 6.
IBM TSpaces Lab 2 Customizing tuples and fields. Summary Blocking commands Tuple Expiration Extending Tuples (The SubclassableTuple) Reading/writing user.
1 Suprtool High Speed Database Extract for HP 3K/9K Training Workbook Copyright Robelle Solutions Technology Inc.
© Wang Bin 2004 Java Threads. © Wang Bin 2004 In this lesson, you will learn to: u Define the concepts of threads and multithreading  Identify the functions.
ORAFACT Text Processing. ORAFACT Searching Inside Files grep - searches for patterns within files grep [options] [[-e] pattern] filename [...] -n shows.
Editing and Debugging Mumps with VistA and the Eclipse IDE Joel L. Ivey, Ph.D. Dept. of Veteran Affairs OI&T, Veterans Health IT Infrastructure & Security.
Scheduling Reports in BOXI 4.2
Lesson 5-Exploring Utilities
User-Written Functions
CPSC 231 Organizing Files for Performance (D.H.)
Drawings and Templates
Introduction to Classes and Objects
Data-Basics Training & Support
Arrays: Checkboxes and Textareas
Objectives Identify the built-in data types in C++
Inside Module 10 Editing TurboIMAGE Datasets Page
Logan-Hocking Schools
On new..
PROGRAMMING THE BASH SHELL PART IV by İlker Korkmaz and Kaya Oğuz
Microsoft Excel 2003 Illustrated Complete
Inside Module 7 Exporting Data to the World Page
Introduction to MS-DOS
IPC144 Introduction to Programming Using C Week 1 – Lesson 2
String Objects & its Methods
Tutorial 1 – Introduction To Microsoft Access 2003
Welcome to the LMS Quick Manager Guide.
Chapter 2: The Linux System Part 2
Chapter 3 The DATA DIVISION.
Guide To UNIX Using Linux Third Edition
Suprtool Suprtool High Speed Database Extract for HP 3K/9K
Working with Headers and Footers
Chapter 5 SDL - Data 2007, rev. 08 SEG2101 Chapter 5.
Tutorial 1 – Introduction To Microsoft Access 2003
C Preprocessor(CPP).
Data Types & File Size Calculations
Unix Talk #2 (sed).
File I/O in C Lecture 7 Narrator: Lecture 7: File I/O in C.
Chapter 4 File Basics.
Inside Module 3 Working with Eloquence Page
Procedures Organized by Farrokh Alemi, Ph.D. Narrated by Yara Alemi
Inside Module 7 Programming with Suprtool2 Page
Inside Module 1 Introduction to Suprtool Page What is Suprtool? 3
Classes and Objects.
Java – Inheritance.
Studbook Animal Lists.
Welcome to the LMS Quick Manager Guide.
Inside Module 5 Working with Files Page Copying files 2
Inside Module 8 Extracting Data Page Using the Extract command 2
Chapter 9 Introduction To Classes
String Objects & its Methods
Presentation transcript:

Inside Module 9 Latest Features in Suprtool The latest and greatest features Variable Substitution $total $counter $Clean

Development is a continuous process We are always working on new features New version every month or so We constantly improve and work on our products. Suprtool is no exception. There are always new features being planned, designed, worked on and implemented. This section is to give you up-to-the- minute progress report on some of the latest features in Suprtool.

Variable Substitution MPE version has had Variable Substitution for two years Internal MPE routine Same as used by the CI HP-UX now has the same feature Suprtool functions take precedence $stddate, $total, $date, $today are not replaced Variable must be set and exported prior to running program Suprtool command line, $read function STExport and Suprlink as well Must have Set Varsub On Suprtool, STExport and Suprlink on MPE have had Variable Substitution for over two years now. We have recently added Variable Substitution for the three programs on HP-UX. The feature is invoked in the same manner, >Set Varsub On. However, you cannot have an environment variable resolved if it has the same name as a Suprtool function, such as $date, $stddate etc.

$counter function Sequential number function Allows you to retain original output order > get morder > def mycount,1,4,double > ext mycount=$counter > ext orderno > out myfile,link > xeq For years, Suprtool has had the ability to output a record number to an output file with the num option of the output command: >in mysdfile >out myfile,num,data The above could would generate an output file called myfile, however, you would lose the SD information and you can only put the number at the beginning or the end of the data. Suprtool now has a counter function that allows you to place a $counter anywhere in the output record as well as preserve the SD information. >def mycount,1,4,double >ext field1 >ext field2 >ext mycount=$counter >out myfile,link >xeq The file myfile will be self-describing and contain the fields field1, field2 and mycount. The field mycount is defined as a double integer, since this is the only field type that the $counter function can use. Each record will have a unique ascending number starting at one.

Clean my data $clean function in Suprtool clean “^9” Set cleanchar “ “ update extract mybytefield=$clean(mybytefield) The Clean command is used to tell Suprtool which characters it needs to look for in a given byte type field. For example: clean "^9","^10","." tells Suprtool to replace all occurrences of the tab character (Decimal 9), LineFeed (Decimal 10) and periods to whatever the Clean character is set to. The Clean command takes both, decimal notation and the character itself. However, it is probably most convenient to use the Decimal notation for the characters that you wish to clean. The Decimal notation is indicated by the caret "^" character. By default, Suprtool replaces any of the characters specified in the clean command with a space. You can change the replacement character with the following set command: >set CleanChar ".“ This command sets the replacement character to a period. You call the clean function the same way you normally use other functions available to If and Extract. For example: >extract address1=$clean(address1)

Clean Example >base mydb,1,; >get customer >set cleanchar " " >update >ext address(1) = $clean(address(1)) >ext address(2) = $clean(address(2)) >ext address(3) = $clean(address(3)) >xeq The above task will look at the three instances of address and replace all occurrences of the tab, linefeed, null and bell characters with a space.