SIR/XS Next Release of SIR New York Conference 2005.

Slides:



Advertisements
Similar presentations
HTML Forms. collect information for passing to server- side processes built up from standard widgets –text-input, radio buttons, check boxes, option lists,
Advertisements

CC SQL Utilities.
Tutorial 6 Creating a Web Form
The Web Warrior Guide to Web Design Technologies
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
C# Programming: From Problem Analysis to Program Design1 2 Your First C# Program.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
A First Program Using C#
Dublin Conference 2008 SIR/XS Workshop. Approach n One single project n Range of tasks n Your choice to ‘mix and match’ n Plenty of tasks to keep everyone.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
ASP.NET Programming with C# and SQL Server First Edition
SIR Conference Dublin xs Conversion presented by Nick Gawrit, heartbase.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
Processing SIRxs Journals Presented at SIR-UK Conference Dublin, Ireland, June 2008 © Tom Shriver, DataVisor 2008.
XP 1 Microsoft Word 2002 Tutorial 1 – Creating a Document.
1 Working with MS SQL Server Textbook Chapter 14.
Converting SIR 3.2 Databases to SIR2002 A Practical Guide to Coming of Age in SIR Land © Tom Shriver, DataVisor 2002.
Web Scripting [PHP] CIS166AE Wednesdays 6:00pm – 9:50pm Rob Loy.
Information Systems Services What’s New In SIR/XS Dave Doulton.
22/10/ June Changes I have seen. What I like about SIR/XS.
ITCS373: Internet Technology Lecture 5: More HTML.
A Baker's Dozen Tricks in a Button Thirteen Tricks of the SIR Trade Rolled into a Single Useful Application © Tom Shriver, DataVisor 2002.
Conference 2004 SIR Development. Current Release SIR2002 n Data Management –Multiple Databases –Integrated Master Modules –SQLServer for ODBC –Secondary.
HTML Forms. Slide 2 Forms (Introduction) The purpose of input forms Organizing forms with a and Using different element types to get user input A brief.
Manchester Conference 2003 SIR User Conference Manchester July 4 th 2003.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
HTML Forms.
SIRxs in Review aka The Joys of XS Presented at SIR-UK Conference Dublin, Ireland, June 2008 © Tom Shriver, DataVisor 2008.
Microsoft Visual Basic 2012: Reloaded Fifth Edition Chapter One An Introduction to Visual Basic 2012.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Emdeon Office Batch Management Services This document provides detailed information on Batch Import Services and other Batch features.
LINGO TUTORIAL.
C# Programming: From Problem Analysis to Program Design
ASP.NET Programming with C# and SQL Server First Edition
Running a Forms Developer Application
Chapter 2: The Visual Studio .NET Development Environment
In this session, you will learn to:
Unit 4 Representing Web Data: XML
CS 330 Class 7 Comments on Exam Programming plan for today:
Working in the Forms Developer Environment
Chapter 2 Introduction to C++ Programming
Relational Database Design
SQL and SQL*Plus Interaction
Forms and Reports 09.
Mail Merge for Lotus Notes and Excel User Guide
Guide To UNIX Using Linux Third Edition
Tutorial 1 – Creating a Document
Intro to PHP & Variables
Databases.
Customization
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Objectives Insert a script element Write JavaScript comments
DATABASE MANAGEMENT SYSTEM
C# Programming: From Problem Analysis to Program Design
What I like about SIR/XS.
CIS16 Application Development Programming with Visual Basic
WEB PROGRAMMING JavaScript.
Windows xp PART 1 DR.WAFAA SHRIEF.
Lesson 13: Epic Appointment Scheduling Reports
SIRxs in Review aka The Joys of XS Presented at SIR-UK Conference
Web DB Programming: PHP
Aleph Beginning Circulation
8 6 MySQL Special Topics A Guide to MySQL.
WORKING WITH SHARED DOCUMENTS
Contents Preface I Introduction Lesson Objectives I-2
Presentation transcript:

SIR/XS Next Release of SIR New York Conference 2005

SIR/XS Major New Features Other Improvements 32 character names New journaling and recovery New XML Procedure New GUI Debugger New PQL Server Multiple Data Files New schema features Other Improvements New Syntax – slash separator not needed New gui controls Regular expression functions Encryption

Alpha Release Welcome to try Expect to work No version control No SQL, Master, old Forms No version control Help/documentation still 2002 Email tony@sir.com.au For instructions on new features Comments Report Bugs

SIR/XS 32 character names VisualPQL Variables Sub-Routines Sub-Procedures Labels Buffer Names Filenames Database Schema Database Names Record Names Variable Names Index Names Passwords Tabfiles & Tables Families Members

Standard Names 1 – 32 characters Start with alpha Capitalized Contain letters, numbers, four special characters $ # @ _

Non-Standard Names Enclosed in curly braces { } From 1 to 30 characters (plus braces) No translation Any characters Stored without braces so sort normally

Other Syntax Deprecate use of slash Standard variable lists in () Needed in schema commands Optional everywhere else Standard variable lists in () New syntax for TABULATE TABULATE [[Wafer,]Stub,]Header / OPTIONS TABULATE HEADER = (EXP) STUB = (EXP) WAFER = (EXP) OPTIONS

Standard summary variable list Variable names or three keywords ALL All (with regard to INCLUDE/EXCLUDE) AS Use alternate name S(1) AS SALARY or S(1) 'Salary‘ TO Creates list of selected variables A to B end of the list when: List starts and stops with brackets () End of input e.g. next command (not next clause on same command) Special character - slash / is valid, other may be Name that is not a variable – if also not valid keyword gives ‘Error 4 Keyword is invalid'

New Schema STANDARD SCHEMA RECORD SCHEMA RECORD num,name ‘Label’ Variable definitions RECORD SCHEMA STANDARD VARIABLE varname RECORD num,name ‘Label’ VAR DOC command WRITE SCHEMA Writes TO lists Writes in Variable Order

Multiple Data Files Split the .sr3 data file No overhead for existing single file databases Split based on serial key ranges Case structure – case values Caseless – record type/key value DATA FILES ‘filename’ FROM () filename Before any data added Requires restructure

Existing Data Structure Top Level Index Other Index Levels Data Level

New Data Structure FILE INDEX Top Level Index Other Index Levels Data Level

ENCRYPT Encrypts data 128 bit encryption BLOWFISH algorithm ENCRYPT/DECRYPT PQL Functions

New PQL Debugger GUI Interface Step through source Set breakpoints at lines See values in variables Set values in variables Set watchpoints (break when value changes) Step into/over subroutines

Routine to debug PROGRAM/RETRIEVAL/SUBROUTINE DEBUG {= name} Stores as a subroutine If name not specified Real subroutine uses subroutine name Other SYSTEM.DEBUG Generates debug source code Can be useful even if not debugging Specify NOEXECUTE if just want to debug

Run Debugger Choose which module to debug Module starts Lists source Lists variables Look at other stuff Members/Files/Buffers

No Execution Window Deprecated Commands accept character bell box cursor All template commands display text erase screen field input fill keypad on line attribute line character mapkey mouse refresh screen sense mouse horizontal menu vertical menu screen graphics

Improved Recovery Journaling Rewritten Itemize rewritten Roll back Roll forward Auto recover Transaction processing Incremental Unload

Journal Update Record File Header Database Name Before update Version of Software Update Header Data/Schema Update Level Started Date/Time Started Date/Time Finished (for data updates) User Name Update Record Before update Before delete After insert After update Existing record previous update level User (in multi-user mode)

Journal Utilities Journal Recover Journal Rollback Itemize Upload Rolls forward from given place Journal Rollback Rolls back from given place Auto Recover on connect Itemize Lists contents (headers) Upload Creates machine independent text file

Journal Processing New PQL commands to process journals Audit Trail Access to header data Access to record values Audit Trail Other recovery strategies

Journal Commands PROCESS JOURNAL JOURNAL RECORD IS PQL access to record variables END JOURNAL RECORD IS END PROCESS JOURNAL

PROCESS JOURNAL [FROM = updlevel | START = date [,time] ] [THRU = updlevel | END = date [,time] ] [REVERSE] [FILENAME= fname ] (sr5 is the default) Return Data [DATE = varname] [ENDDATE = varname] [TIME = varname] [ENDTIME = varname] [LEVEL = varname] [RECORD = varname] [TYPE = varname] [USER = varname]

Example program integer*4 jtype value labels jtype (1) 'Record written‘ (2) 'Before rewrite‘ (3) 'After rewrite‘ (4) 'Deleted record‘ (-1) ‘Data header‘ (-4) ‘Schema header‘ (-5) ‘User header' process journal TYPE= JTYPE RECORD = jrec level = jlevel FROM = 13 ifthen (jtype gt 0) . write [vallab(JTYPE)] 'Record Type ' jrec .else . write [vallab(JTYPE)] 'Update level ' jlevel fi journal record employee write id name salary end journal record end process journal end program

Transaction Processing* Start Transaction End Transaction (Commit) Abort Transaction Journal Based Rollback on Abort

Incremental Unload* Creates Journal of Updates Add to end of Unload Automatic processing of levels Automatic restore by reload Optional separate file

XML XML File structure XML Names Text File Hierarchical Tags enclose Resembles HTML with own tags XML Names Begin with character (or _ :) Case sensitive Allow letters, numbers - _ : . (No spaces)

Example XML <company> <person> <name>John D Jones</name> <salary>2150</salary> <birthday>1956</ birthday > </person> <name>James A Arblaster</name> <salary>1500</salary> < birthday >1961</ birthday > </company>

XML SAVE FILE Procedure Standard Clauses FILENAME = filename BOOLEAN = (logical expression) MISSCHAR = character SAMPLE = fraction SORT = variable,.... Special Clauses ROOT = 'string' BREAK = variable ( TAG = 'string', ATTRIBUTES = (varname (format) ),...) ELEMENTS = (varname (format) ),...)) DTD [= filename] SCHEMA [= filename]

Example XML <company> - ROOT = ‘people’ <person> - BREAK = ( id tag = ‘person’ - ELEMENTS =(name,salary,birthday)) <name>John D Jones</name> <salary>2150</salary> <birthday>1956</birthday> </person> <person> <name>James A Arblaster</name> <salary>1500</salary> < birthday >1961</ birthday > </company>

SIR Server Similar in concept to SQLServer Machine Independent Started on network Waits for users to logon Process requests Returns results Machine Independent

Concept Send commands (text) to server Tell server to execute Carry on or wait Get status and count of output lines All output to standard output can go back to client

Client/Server Functions SERLOG(Client,Server_name,Password) SERSEND(Client_Id,string) SERSENDB(Client_Id,buffername) SEREXEC(client_id,wait_factor) SERTEST(client_id,wait_factor) SERLINES(client_id) SERGET(client_id,skiplines) SERADMIN

Client Sample Program Logon Send Request (check error codes) Get output line at a time Logoff

GUI Improvements New Messages SPIN & SLIDER Controls TREE Control Right Mouse click Mouse over VSCROLL SPIN & SLIDER Controls TREE Control

Other Features Suggestions encouraged and welcomed Various improvements Regular expression functions REGEXP – Searches REGREP - Replaces STDOUT as filename Cross record functions work with string values CNT CNTR MAX MAXR MIN MINR PWRITE/ PREAD outputs last amended date and time option to overwrite based on date/time Compare two PWRITE to spot differences Facility to rename family

Where Next Finish Features Integrate with menus Master, SQL and old Forms Test Documentation and Help Beta Release in 3 months

SIR/XS New York Conference 2005