We think you have liked this presentation. If you wish to download it, please recommend it to your friends in any social system. Share buttons are a little bit lower. Thank you!
Presentation is loading. Please wait.
Published byBenjamin O'Connor
Modified over 2 years ago
© OCS Consulting Analysis software in.NET and SAS ® Jules van der Zalm, OCS Consulting, the Netherlands
© OCS Consulting Goal of this presentation To show the audience a way to develop an application with a familiarly looking user interface that is based on SAS technology on the background.
Agenda Introduction The user interface A simple example The SAS backend Communication A more complex example Programming practices Conclusion Questions © OCS Consulting
Introduction Why such applications? What do I need? The components of an application © OCS Consulting
Five major components User interface Call to SAS program SAS programs SAS Workspace Server Information Dataset © OCS Consulting
Information Dataset Regular SAS dataset in WORK Describes every (changing) element on the user interface Columns like Element Name, Element Type, Value, Enabled Y/N, Visible Y/N Examples later in the presentation © OCS Consulting
User Interface Developed independently from SAS Communicates with SAS Any preferred language, also web Can be replaced after completion © OCS Consulting
A simple example © OCS Consulting 5+5*5 30 %let calc=5+5*5; %include calculate.sas; /** CALCULATE.SAS **/ data work.calc; result = &calc.; dun; data work.ids; set work.calc; name = CalcResult; type = TextBox; value = put(result, 8.); run; /* End of Program. */ %let calc=5+5*5; %include calculate.sas; /** CALCULATE.SAS **/ data work.calc; result = &calc.; run; data work.ids; set work.calc; name = CalcResult; type = TextBox; value = put(result, 8.); run; /* End of Program. */ dataset work.ids NameTypeValue CalcResultTextBox30
The SAS backend SAS Workspace Server UI creates SAS code SAS code is executed by WS © OCS Consulting
Communication Two-way communication From UI to SAS: code and macro vars From SAS to UI: information dataset © OCS Consulting
A More Complex Example © OCS Consulting FieldValueVis. GrpPatientsY LBVisitVisitN BtnRevertRevertN BtnSaveSaveN LBLabGrp1N LBLabGrp2N et cetera GrpTrialsS14-04-C300Y GrpTrialsS83-01-B12Y GrpTrialsT V01Y GrpVisitsN
A More Complex Example © OCS Consulting %let GrpTrials=S83-01-B12; ===== getPatients.sas ===== data work.ids; set db.patients (where = (trial = &GrpTrials)); field = GrpPatients; value = patno; visible = Y; run; /* End of Program. */ %include getPatients.sas; (where = (trial = &GrpTrials)); S83-01-B12 S83-01-B12 FieldValueVis. GrpPatients00101Y GrpPatients00102Y GrpPatients00104Y GrpPatients00201Y GrpPatients00202Y
A More Complex Example © OCS Consulting %let GrpTrials=S83-01-B12; %let GrpPatients=001002; %include DataEntry.sas; ===== DataEntry.sas ===== %createIDSforVisits(tr=&GrpTrials, pt=&GrpPatients); %createIDSforLabGroups(tr=&GrpTrials); %createIDSforLabParams(tr=&GrpTrials); === %createIDSforVisits === work.visits; set ds.visits (where); field = GrpVisits; value = visitname; visible = Y; output; field = LBVisit; value = Visit; visible = Y; output; run; ==%createIDSforLabGroups== proc sql noprint; create table work.labgrps as select distinct(labgrp) as value from ds.labdata; quit; data work.labgrps; set work.labgrps; field = LBLabGrp||_n_; visible = Y; run; ==%createIDSforLabParams==... you get my drift! data work.ids; set work.visits work.labgrps work.labprms; keep field value visible; run; /* End of Program. */
A More Complex Example © OCS Consulting FieldValueVis. LBLabGrp1HematologyY LBLabGrp2ChemistryY LBLabGrp3UrinalysisY LB101WBCY LB102RBCY et cetera LB112N LB Y LB Y LB307N LB308N et cetera GrpVisitsSCREENINGY GrpVisitsBASELINEY GrpVisitsVISIT 1Y
A More Complex Example © OCS Consulting FieldValueVis. Txt101Y Txt102Y et cetera Txt112N Txt Y Txt Y Txt307N et cetera %let GrpTrials=S83-01-B12; %let GrpPatients=00102; %let GrpVisits=BASELINE; %include getLabValues.sas;
Some More Information Datasets © OCS Consulting Field TrialName PatNumber Tab1 Tab2 Visit Revert Save Lab1_1 Lab1_2 Lab1_3 Lab2_1 Lab2_2 Lab2_3 Reminder Demography Type GroupBox Tab Label GroupBox Button TextBox Spinner DataGrid Value work.demog Text S83-01-B Data entry Data review Visit BASELINE Revert Save work.mdem Vis End Color RD GR OR GR RD GR Default 1 1 1
Some More Information Datasets Graphs Datagrids PDF or RTF documents Anything you can produce from SAS © OCS Consulting
Programming Practices © OCS Consulting
Conclusion Users cannot read or edit the application or SAS code Output doesnt require additional validation if programs dont change Important to define design upfront Windows-based interface makes it user friendly © OCS Consulting
23-Aug-14 HTML/XHTML Forms. 2 What are forms? is just another kind of XHTML/HTML tag Forms are used to create (rather primitive) GUIs on Web pages Usually.
Chapter 10, Slide 1Starting Out with Visual Basic 3 rd Edition Chapter 11 Developing Web Applications.
OSMOSiS S.C. Systems Limited. OSMOSiS What is OSMOSiS ? The OSMOSiS software suite is a complete environment for creating and managing comprehensive.
Data Base. Objective Become familiar with database terminology. Create a project to display data for a single database table. Use a DataGrid control.
Introduction to Macro Introduction to Visual Basic for Application Recording a Macro Looking at the code of Recorded Macro.
AESuniversity Ad hoc Reporting. Ad hoc Reports What are ad hoc reports? Why would you use ad hoc reports? Creating an ad hoc report from a query Building.
It is expected that this training will take about 20 minutes to complete. It is aimed at users who are unfamiliar with Gemini, and is intended to give.
Microsoft Dynamics® SL Customization Manager and Professional Service Tools Library.
CYPRESS Software Testing By Rick Clements
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide STARTING OUT WITH Visual Basic 2008 FOURTH EDITION Tony Gaddis.
GETTING STARTED WITH HTML5 - By Suresh Kumar. Agenda History, Vision & Future of HTML5 Getting Started With HTML5 Structure of a Web Page Forms Audio.
This Power Point Presentation is Designed to: Learn/Review To learn how to create/complete and submit an eGrants VISTA Grants Application based on the.
Pennsylvania Banner Users Group APEX Day at Immaculata APEX 101.
SAPScript Forms. SAPScript Form Components SAPScript Form Components A form of the graphical Form Painter consists of five components. In alphanumeric.
State of Connecticut Core-CT Project Query 8 hrs Updated 4/14/2003.
AJAX Development By Gary Mandela December 26, 2006
Using MS Access for your research 12 steps (give or take a few) to giving up the excel habit Steven Citron-Pousty
Introduction to Settings WEAVE: Assessment on Your Own Terms.
SharePoint List Custom Actions Feature Product Overview Nimrod Geva Product Group Manager, KWizCom
Copyright © 2003 Pearson Education, Inc. Slide 7-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
1 NatQuery 3/05 An End-User Perspective On Using NatQuery To Extract Data From ADABAS Presented by Treehouse Software, Inc.
PrevNext | Slide 1 MACUL 2004 Conference Grand Rapids, MI March 10, 2004 The Michigan Electronic Grants System MEGS Last.
IEXL -- Green is great but sometimes only color will do … Simplify creation of spreadsheets, directly from the Iseries Keep your cost down Leverage your.
Introduction to Crystal Reports Allows you to produce the report you want from virtually any data source. Designed to help analyze and interpret.
Microsoft Access is a database management system from Microsoft that combines the relational Microsoft Jet Database Engine with a Graphical User.
1 Applets Programming Enabling Application Delivery Via the Web.
Effecting Efficiency Effortlessly Daniel Carden, Quanticate.
With TimeCard appointments are tagged with information that converts them into time sheets. This way you can report time and expenses from inside your.
1 Lecture 7: Implementation Options: Overview of VB. Net, Flash, html, etc. Brad Myers / / : Introduction to Human Computer Interaction.
The Path to Accessible PDFs Sandra Clark Senior Developer The Constella Group
© 2016 SlidePlayer.com Inc. All rights reserved.