SAS Viewer giving way to Universal Viewer Steve Wright, Quintiles, RTP, NC

Similar documents
One SAS To Rule Them All

Using Graph-N-Go With ODS to Easily Present Your Data and Web-Enable Your Graphs Curtis A. Smith, Defense Contract Audit Agency, La Mirada, CA

OLAP Drill-through Table Considerations

Week - 01 Lecture - 04 Downloading and installing Python

How to import text files to Microsoft Excel 2016:

Digital Mapping with OziExplorer / ozitarget

Comparative Analysis of OPACs. be of greater benefit and value given my current role as Reference and Adult Services Librarian

LeakDAS Version 4 The Complete Guide

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller

Information Visualization

Worldox GX Cheat Sheet

BE Share. Microsoft Office SharePoint Server 2010 Basic Training Guide

Interface. 2. Interface Adobe InDesign CS2 H O T

Remodeling Your Office A New Look for the SAS Add-In for Microsoft Office

SolAce EMC Desktop Edition Upgrading from version 3 to 4

Excel 2013 Beyond TheBasics

Excel Basics Fall 2016

WHAT IS THE CONFIGURATION TROUBLESHOOTER?

Cleaning up your SAS log: Note Messages

Tutorial on Using Windows 8

6.001 Notes: Section 15.1

Designing Web Applications: Lessons from SAS User Interface Analysts Todd Barlow, SAS Institute Inc., Cary, NC

To create a notebook on desktop version 1. Open One Note 2. File > New. o FILE. Options

MAPLOGIC CORPORATION. GIS Software Solutions. Getting Started. With MapLogic Layout Manager

Let s Make a Front Panel using FrontCAD

A Practical Introduction to SAS Data Integration Studio

Microsoft SharePoint 2010

(Refer Slide Time 3:31)

CHIPS Newsletter Vol 16 - Yahoo! Mail. Official Newsletter of

Week - 03 Lecture - 18 Recursion. For the last lecture of this week, we will look at recursive functions. (Refer Slide Time: 00:05)

Importing Local Contacts from Thunderbird

XBMC. Ultimate Guide. HenryFord 3/31/2011. Feel free to share this document with everybody!

How To Use My Alternative High

SAS Studio: A New Way to Program in SAS

Lesson 3 Transcript: Part 1 of 2 - Tools & Scripting

Guide - The limitations in screen layout using the Item Placement Tool

Spectroscopic Analysis: Peak Detector

It s not the Yellow Brick Road but the SAS PC FILES SERVER will take you Down the LIBNAME PATH= to Using the 64-Bit Excel Workbooks.

Basic Fiction Formatting for Smashwords in OpenOffice L. Leona Davis. Copyright 2012 L. Leona Davis All Rights Reserved

2007, 2008 FileMaker, Inc. All rights reserved.

Organizing your Outlook Inbox

Introduction to Cascade Server (web content management system) Logging in to Cascade Server Remember me Messages Dashboard Home

(Refer Slide Time: 00:01:30)

If Statements, For Loops, Functions

Mastering the Actuarial Tool Kit

Paper AD12 Using the ODS EXCEL Destination with SAS University Edition to Send Graphs to Excel

Lastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software.

CHIPS Newsletter Vol 5 - Yahoo! Mail. Official Newsletter of

Lakeshore Contact Management Module

Publications Database

Automating Digital Downloads

Citrix Connectivity Help. Table of Contents

Team : Let s Do This CS147 Assignment 7 (Low-fi Prototype) Report

***** Archive and Backup your Data before updating***** ****Ensure that you are running a minimum version of before updating****

Blackfin Online Learning & Development

SAS Universal Viewer 1.3

SISG/SISMID Module 3

SAS Visual Analytics Environment Stood Up? Check! Data Automatically Loaded and Refreshed? Not Quite

Hash Objects for Everyone

MITOCW watch?v=zm5mw5nkzjg

Project Collaboration

ProvideX. NOMADS Enhancements

An Introductory Tutorial: Learning R for Quantitative Thinking in the Life Sciences. Scott C Merrill. September 5 th, 2012

MAPLOGIC CORPORATION. GIS Software Solutions. Getting Started. With MapLogic Layout Manager

Q. We are forever being told to make backups. Which is the best program to use to backup my QL files?

Analysis Tool Project

MicroSurvey Users: How to Report a Bug

New Program Update Sept 12, 2012 Build 187

Lecture 34 SDLC Phases and UML Diagrams

BI-09 Using Enterprise Guide Effectively Tom Miron, Systems Seminar Consultants, Madison, WI

Configuring a Microsoft Windows 2000 DHCP and DNS Server

The purpose of this tutorial is to introduce you to the Construct 2 program. First, you will be told where the software is located on the computer

New website Training:

Module 1: Introduction RStudio

Note on homework for SAS date formats

Part 1: Understanding Windows XP Basics

Paper William E Benjamin Jr, Owl Computer Consultancy, LLC

Working with the website editor...5. Editing page properties Creating a new page Adding and editing content records...

Summary See complete responses

AT&T Connect Mobile and iphone User Guide

Lastly, in case you don t already know this, and don t have Excel on your computers, you can get it for free through IT s website under software.

Troubleshooting An Embedded Sametime Install by Julian Robichaux, panagenda originally published on socialbizug.org, November 2013

EXCEL 2010 BASICS JOUR 772 & 472 / Ira Chinoy

Effort Free IT User Guidelines

Depending on the computer you find yourself in front of, here s what you ll need to do to open SPSS.

DataCove Tutorial: How to Perform a Search

Section 1. System Technologies and Implications. Modules

Web Content Management

HOW TO EXPORT BUYER NAMES & ADDRESSES FROM PAYPAL TO A CSV FILE

So, Your Data are in Excel! Ed Heaton, Westat

Unit 10: Advanced Actions

Compare and Merge Track Changes

Lesson 1: Writing Your First JavaScript

(Refer Slide Time 01:41 min)

Targeted Content Channel Creation Tutorial

Getting Started. Excerpted from Hello World! Computer Programming for Kids and Other Beginners

Viewer 2 Beta Frequently Asked Questions

AGENT123. Full Q&A and Tutorials Table of Contents. Website IDX Agent Gallery Step-by-Step Tutorials

Makefile Tutorial. Eric S. Missimer. December 6, 2013

Hp Printer Can T Delete Print Job Windows 7

Transcription:

Paper PO09-2009 SAS Viewer giving way to Universal Viewer Steve Wright, Quintiles, RTP, NC ABSTRACT: The SAS Viewer tool has been a useful, free, but somewhat limited tool provided by SAS for a long time. It is free. It has bugs and limitation. Starting with SAS9, this tool often will be unable to access the default data tables. The Universal Viewer is a fresh take on a tool to fit this niche. Everyone will find that a number of the things this tools does are just right. It does not lock datasets. It will not return the converse when using missing values in the where statement. You will want to be aware of a surprise or two. INTRODUCTION The Universal Viewer (UV) is a totally reworked application. It handles and presents data differently. It is a library or directory oriented tool whereas its older sibling, SAS Viewer (SV), focused only on individual datasets. The 'where' statement process is data aware and scoffs at quotes for character variables. YES! I don t have to spend hours trying to figure out who has the file opened and locked for that file update that must be completed in the next 5 minutes! But do remember, you need to get updated data in UV when it has been recreated. The old application took observation limits lightly, searching all records when the where clause was updated, but only displaying the maximum allowed. The new tool is dead serious. If you specify to only use x records, and the first x records do not contain records with the specified conditions, you get no records displayed, even if a target record is found in the x+1st record. In this paper, I will elaborate on the similarities and differences between these two tools. UV has areas of real merit, things that are missing, and places where some beautification is needed. A new version of UV is due out soon after publication date, so see me at the conference for an updated version of this presentation. THE FINEST ASPECT OF UNIVERSAL VIEWER One issue that has caused more lost production time than anything else with SV is locked datasets. The old SV locks files. If SAS tried writing to one of these files, you get an error in SAS, and at this point, you have to shut down SV. You cannot just close that one file, as Windows and SAS seem to conspire against that option. Unlike some other Windows applications, SV does not in any way tag the file so that you can determine who went to lunch and left your file locked. Now with UV, data files are not locked. This means that data creators and data gazers will no longer lock horns over a locked file. It should be noted that currently text files, like SAS code, are still locked in UV. FORMAL INTRODUCTION OF THE UNIVERSAL VIEWER When you open the first dataset with UV, you probably will be surprised to find that it brought all its pals with it. Not only did it pull in the Demography file, but it opens everything in the same directory! This is nice if you want to look around. This can be problematic if you have a lot of data real estate in this directory, and you just want to take a quick peek at a small file. When you bring a file into UV, all data files in the directory get scanned, and the metadata gets stored. However, the file is not opened until requested. Now if the length, width, or content of the file changes between bringing it in when the whole directory of files is opened, and when you actually open it, the file might be different than the metadata describes it.

If the number of obs has changed, it just opens the file with the actual number of records. The metadata still has the old number of obs listed. But if you have changed any variable characteristics, or any other dataset characteristic it gives you an error. MORE ABOUT METADATA With a single click on any dataset, the 'contents' of that file pop up. Very standard information is presented, and you can sort on the metadata columns! The sort only requires you to click the column head. If you click another time, the sort is inverted. The sort is only single column, and always refers back to the original order for each sort. For instance, sorting on Type, then Length, does not accomplish anything different than just sorting on just Length. All variables of length x are sorted in the original 'varnum' order. One annoyance you might notice is if you place your cursor in the right window, the dataset in question is not highlighted, or anyway identified by UV. If you click back on any heading on the left side, the file in question is again highlighted.

HANGING OUT WITH DATA Opening a data file is just a double click away. You may open several files and move between them using the tabs. Most people I have seen using SV did not realize that it had tabs at the bottom. You just needed to set an option to Workbook style. Many other things are similar between these two applications. You can resize columns, hide or rearrange columns, and new to UV, you can freeze columns. This can be very helpful especially on wide data tables. Sorting the data is just like sorting the metadata. Click on a single column, and you get an immediate sort. Click a second time, and the sort is reversed. Click on another, and the sort goes back to the original data order, that being by 'varnum', before the next sort is performed. Beware that UV by default brings in 'pages' of data, not the whole dataset. If the data it has more rows than you allotted for a 'page', only part of the data is brought in. Therefore your sort reflects just the data in that page. I will discuss this further when we discuss the 'where' functionality.

FINDING WHERE YOU WANT TO BE The Filter or where statement has matured from a very simple line command to a GUI with a chooser for both field names and Boolean expressions. It is nice to be able to simply choose your field. The tool also is data aware, so it enters the quotes around character fields. Note the result below from the above selection. The filter also can do date comparisons using a calendar under the advanced tab. One drawback to a chooser based system is that you have to play by the rules. One current rule is that you cannot do inequalities with character variables. Therefore it is not possible, for instance, to select an Isodate range. Isodates are naturally sorting

character strings. The following syntax does not work in the current version: mydate>2008-07 - to select dates after July of 08. The old SV application had a confusing way of dealing with missing numeric data. If you selected (excluding the quotes) "abc<." you get all records. The selection "abc>." displays no records. However, "abc=." displays what you probably wanted all along; it displays the converse, only the NON-missing values! In the current release, UV does not accept '.' as a valid reference, so you can't do what you want. If you have missing values, and all positive real values, you can eliminate the missings by selecting for values greater than 0. But if you try -1, the missing values do not go away. Hopefully something will be improved in the next release. If you have a 0,1 variable with missing values, you currently have an issue. The observation limits in SV were only related to presentation. Any Sort or Where statement used all the records in the file. This was very useful. If you wanted to find outside limits or rare events you could set the obs limit to 100, and usually get all the information you wanted via a sort or selection. With UV, all processing is restricted to the number of rows you specify in the Performance tab. If the records you are interested in are beyond the current 'page', you will not find them, unless you move to another page of data. For users familiar with SV, this can be a significant issue if they are not aware of this restriction. MISCELLANEA SV has had issues with certain newer functionality, even those from SAS8, like the TimeAMpm format. UV also will present these newer SAS formats whereas its less in shape older brother just ignored the façade of these formats and presents just the facts - just the bare numbers With some of the more advanced features of SAS9 data, like long format names, SV just fails to open the file at all. Thus in these cases, UV is the only game in town. The current version of UV is called a Technology Release. There are a number of things that do not work as expected. The next release is due out shortly after this paper goes to publication. I will be rewriting this paper for the meetings, based on the next release, so please stop at the presentation and get the additional information. I have intentionally left some problem areas vague so as to not dishearten you towards that which is an interesting and versatile new application. Remember, I am using what is just a Technology Release. CONCLUSION It has been clear for a long time that we needed a big update to SAS Viewer. The Institute has done a good job launching an effort to rethink and rebuild a tool for this niche. Not everyone is going to be happy with the new, free Universal Viewer. The fact that it does not lock files will catapult it forward in many community work environments where locked files have been an issue. It has made switching between files more intuitive. Importantly it supports new features found in newer releases of SAS. The filtering and sorting functionality are significantly changed and mostly improved. Experienced users of SAS Viewer will have to be careful when doing sorting or subsetting, because Universal Viewer only looks at the current 'page' of data. Thankfully, SAS will still build free tools, though they might not receive the same level of priority as other tools. Please get an updated copy of this paper at the conference. It will reflect post publication enhancements to this tool. CONTACT INFORMATION Your comments and questions are valued and encouraged. Contact the authors at: Steve Wright Quintiles, Inc. RTP, NC Email: steve.wright@quintiles.com SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration.