TASS Meeting using inputn to re-format data September 25 th, 2009 using inputn to re-format data Dr. Arthur Tabachneck Director, Data Management Note:

Slides:



Advertisements
Similar presentations
Decision Structures - If / Else If / Else. Decisions Often we need to make decisions based on information that we receive. Often we need to make decisions.
Advertisements

IF statement (i) Single statement. IF ( logical expression ) statement Example: read(*,*) a if (a. lt. 0) a = -a write(*,*) a Or read(*,*) a if (a < 0)
This is a template, please replace this with your data This file is at a 4 x 3 resolution This file has a 10 slides On the first slide of your presentation.
Worst, but still importable data I’ve ever seen Arthur Tabachneck Insurance Bureau of Canada.
Next Presentation: Presenter: Arthur Tabachneck Copy and Paste from Word or Excel to SAS Art holds a PhD from Michigan State University, has been a SAS.
Automagically Copying and Pasting Variable Names Arthur Tabachneck Roger DeAngelis Randy Herbison Insurance Bureau of Canada CompuCraft Inc Westat John.
Enough really good SAS ® tips to fill a book Arthur Tabachneck, President and CEO, myqna.org.
This year’s SGF Arthur Tabachneck Insurance Bureau of Canada.
Division of Information Resources & Technology Fall Leadership Retreat September 29, 2006 Lorraine Frost Interim Vice President - IRT.
Gas Chamber at Seaford (a piece of war art) by Frederick Varley What would you name this painting?
Tracking Online Student Engagement Presented by Kimberly Webster eLearning Instructional Coach Ottawa-Carleton District School Board.
Online Course Tutorial VISIT: 2 SELECT YOUR SECONDARY SCHOOL 1 Visit... Select.
Python File Handling. In all the programs you have made so far when program is closed all the data is lost, but what if you want to keep the data to use.
Quantify the Example Data First, code and quantify the data (assign column locations & variable names) Use the sample data to create a data set from the.
TASS Meeting Copy and Paste from Excel to SAS September 19th, 2008 Copy and Paste from Excel to SAS Dr. Arthur Tabachneck, Director Data Management with.
11 Project 2 Towers of Hanoi. 22 Towers of Hanoi is a well known puzzle that can be very difficult to solve manually but can be programmed very easily.
Toronto Area SAS Society December 8, 2006 How One Can Use SAS to Easily Manage an Otherwise Unmanageable Task Dr. Arthur S. Tabachneck Insurance Bureau.
©Colin Jamison 2004 Shell scripting in Linux Colin Jamison.
TASS Meeting Setting GuessingRows when Importing Excel Files September 19th, 2008 Setting GuessingRows when importing Excel Files Dr. Arthur Tabachneck,
E - safety By Jacob Jack Luca. How to stay safe on the internet.  Only speak to people that you know and if you don’t know them don’t contact them in.
RE-830 Online Form Changes. Contents Forgotten Password Changes Branch Office Changes Director/Partner Changes Insurance Changes Licence and Accreditation.
“LAG with a WHERE” and other DATA Step Stories Neil Howard A.
Section 5: Identity Theft.  Prevent myself from becoming a victim of fraud  If I become a victim of fraud, I will know what to do!
TASS Meeting Using Multiple DOW Loops September 25th, 2009 Using Multiple DOW Loops Dr. Arthur Tabachneck Director, Data Management Idea stolen from a.
Online Course Tutorial VISIT: 2 SELECT YOUR SECONDARY SCHOOL 1 Visit... Select.
Temperature Controller for Contact us : (091) (011) , for more :
FESHM Updating Automating the Process. Workflow stages by name Length of time in each stage Approved4 years and 6 months Under Revision6 months, reminders.
TASS Meeting Quickly Finding Project Code March 13th, 2009 A way to quickly find all of your project code Dr. Arthur Tabachneck Director, Data Management.
SAS-L Counts Arthur Tabachneck Insurance Bureau of Canada.
Programming Competitions. USA Computing Olympiad ace.delos.com/usacogate You need to create an account (use KITE address) to gain access. Solution.
Monica Rosati is a certified trained Wedding Makeup Artist with more than 10 years of experience in Bridal hair and makeup in Toronto. Contact her and.
Find the Best Software Companies in Toronto
Contact Us.
Given that Toys “R” Us has declared bankruptcy, what are its current, quick, and debt ratios? Original blog posting (October 5, 2017)
Agenda Bash Shell Scripting – Part II Logic statements Loop statements
What is Survival Model and why it is important?
Project Title Graphic/Chart/Image Include the abstract.
What closing entries would McDonald’s have made in 2016 based on its trial balance? Original blog posting (September 13, 2017)
Find it useful? Give us your reviews through our contact info. Contact Us Call Us: Website:
The Advantages of a Trial Balance Software
Event Staff Hire Event Staff Hire - Event Staff Hire - Do you.
How To Add A Xerox Printer To Google Chrome
Frio River Cabins - Frio Vacation Homes - Frio Country Resort
drainage lymphatique - 6Sense
Website: Contact No: ID:

best seo company canada
BACK SOLUTION:
REGISTRATION OPEN NOW Presented By September 13-14, 2018
What information can be calculated from McDonald’s 2016 trial balance?
Increase Your Productivity by Doing Less
مديريت موثر جلسات Running a Meeting that Works
Soar Annual conference September 27, 2018
Use this for your Banner Template.
Dr. Arthur Tabachneck Director, Data Management
a useful SAS 9.2 feature I wasn’t aware of *
Perl Programming Dr Claire Lambert
Questions may be directed to
Questions may be directed to
What is an IV Vitamin Therapy Appointment Like?
Questions may be directed to
Questions may be directed to
Firebase Vs. MongoDB: Choose the Best Database of 2019
How will Toro account for its two-for-one stock split?
I have… I have… Who has 3:40? Who has 12:20? I have… I have…
One column for each product under kanban control.
Meet Us
Contact Us
Changing a file from being long to being wide*
Presentation transcript:

TASS Meeting using inputn to re-format data September 25 th, 2009 using inputn to re-format data Dr. Arthur Tabachneck Director, Data Management Note: stolen from a sas-l post by Ian Whitlock

TASS Meeting using inputn to re-format data September 25 th, 2009 suppose you had the following data: data have; input info $30.; cards ; 65 04/15/45 04/15/ /04/47 15/04/ APR ;

TASS Meeting using inputn to re-format data September 25 th, 2009 and you needed to have the following file: data need; input age; cards ; ;

TASS Meeting using inputn to re-format data September 25 th, 2009 a data step solution data need; set have; if length(info) le 3 then age = inputn ( info, 'f', 8 ) ; else if length(info) eq 4 then age= year(today())- inputn ( info, 'f', 8 ) ; else age= round(yrdif( inputn (info, 'anydtdte', length(info) ), today(),'Actual')); run ;

TASS Meeting using inputn to re-format data September 25 th, 2009 inputn Enables you to specify a numeric informat at run time Syntax: INPUTN(source, informat. >)

TASS Meeting using inputn to re-format data September 25 th, 2009 Questions? Your comments and questions are valued and encouraged. Contact the author: Dr. Arthur Tabachneck Director, Data Management Insurance Bureau of Canada Toronto, Ontario L3T 5K9