SlideShare une entreprise Scribd logo
1  sur  25
SASTechies [email_address] http://www.sastechies.com
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies  2009 11/13/09
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies  2009 11/13/09
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies  2009 11/13/09
[object Object],[object Object],SAS Techies  2009 11/13/09
[object Object],[object Object],[object Object],SAS Techies  2009 11/13/09
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies  2009 11/13/09
SAS file in any library  except Work  indicates that the SAS file is stored permanently  SAS Techies  2009 11/13/09 Permanent SAS Files                                                 Clinic  .  Admit  Clinic  .  Admit2           Temporary SAS File                      Work  .  Test  Temporary SAS File,  One-Level Name                                 Test
[object Object],[object Object],SAS Techies  2009 11/13/09
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies  2009 11/13/09
[object Object],[object Object],SAS Techies  2009 11/13/09 Data Set Name:  CLINIC.INSURE  Member Type:  DATA  Engine:  V8  Created:  10:05 Tuesday, March 30, 1999  Observations:  21  Variables:  7  Indexes:  0  Observation Length: 64     Name    Sex       Age       Weight       Jones     M     48     128.6    Laverne        M     58     158.3    Jaffe     F     .     115.5    Wilson     M     28     170.1
[object Object],[object Object],[object Object],[object Object],A variable's type is either  character  or  numeric .  SAS Techies  2009 11/13/09 Name ------ Policy Total Name Type ---- Num  Num Char Length -----   8   8    20  Format --------- DOLLAR8.2 Informat -------- COMMA10. Label ------------- Policy Number Total Balance Patient Name
SAS Techies  2009 11/13/09 Description Default Length Max Length Variable Name <32 32 characters Value  CHAR NUM 8 bytes 8 bytes 32767 (32Kb) any bytes
SAS Techies  2009 11/13/09 ,[object Object],[object Object],[object Object],[object Object],Missing          values     Name    Sex     Age     Weight        M     48     128.6    Laverne      M     58     158.3    Jaffe     F     .     115.5    Wilson     M     28     170.1
[object Object],SAS Techies  2009 11/13/09 $ASCII w . DATE w . NENGO w . $BINARY w . DATETIME w . PD w.d $VARYING w . HEX w . PERCENT w . $ w . JULIAN w . TIME w . COMMA w.d MMDDYY w . w.d
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies  2009 11/13/09
[object Object],[object Object],[object Object],SAS Techies  2009 11/13/09
[object Object],[object Object],SAS Techies  2009 PROC OPTIONS < option(s)>; RUN; Proc options option=firstobs value; run; 11/13/09 Number|NoNumber Date|nodate Pageno Pagesize Linesize Mprint Mlogic Symbolgen Compress=yes|no BYLINE|NOBYLINE DETAILS|NODETAILS FIRSTOBS= FORMCHAR= FORMDLIM= LABEL|NOLABEL OBS= REPLACE|NOREPLACE SOURCE|NOSOURCE
Default Yearcutoff=1920 SAS Techies  2009 11/13/09 Date Expression Interpreted As 12/07/41 18Dec15 04/15/30 15Apr95 12/07/1941 18Dec2015 04/15/1930 15Apr1995 Date Expression SAS Date Informat Interpreted As 06Oct59 date7.   06Oct1959 17Mar1783 date9.   17Mar1783
[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies  2009 11/13/09
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies  2009 11/13/09
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies  2009 11/13/09
[object Object],[object Object],[object Object],SAS Techies  2009 11/13/09
SAS Techies  2009 11/13/09
SAS Techies  2009 11/13/09 NOTE: Invalid data for RecHR in line 14 35-37.   RULE: ----+----1----+----2----+----3----+----4----+----5---  14  2575 Quigley, M 74 152 Q13 11 26 I ID=2575 Name=Quigley, M RestHR=74 MaxHR=152 RecHR=. TimeMin=11 TimeSec=26 Tolerance=I _ERROR_=1 _N_=14  NOTE: 21 records were read from the infile TESTS.   The minimum record length was 45.   The maximum record length was 45.   NOTE: The data set CLINIC.STRESS has 21 observations and 8 variables.   NOTE: DATA statement used:   real time 2.04 seconds   cpu time 0.06 seconds

Contenu connexe

Tendances

Introduction To Sas
Introduction To SasIntroduction To Sas
Introduction To Sas
halasti
 
SAS Macros part 1
SAS Macros part 1SAS Macros part 1
SAS Macros part 1
venkatam
 
CDISC SDTM Domain Presentation
CDISC SDTM Domain PresentationCDISC SDTM Domain Presentation
CDISC SDTM Domain Presentation
Ankur Sharma
 
Base sas interview questions
Base sas interview questionsBase sas interview questions
Base sas interview questions
Dr P Deepak
 

Tendances (20)

SAS - overview of SAS
SAS - overview of SASSAS - overview of SAS
SAS - overview of SAS
 
SAS Programming Notes
SAS Programming NotesSAS Programming Notes
SAS Programming Notes
 
Sas cheat
Sas cheatSas cheat
Sas cheat
 
SAS Macros
SAS MacrosSAS Macros
SAS Macros
 
Introduction To Sas
Introduction To SasIntroduction To Sas
Introduction To Sas
 
Basics of SAS
Basics of SASBasics of SAS
Basics of SAS
 
SAS Programming For Beginners | SAS Programming Tutorial | SAS Tutorial | SAS...
SAS Programming For Beginners | SAS Programming Tutorial | SAS Tutorial | SAS...SAS Programming For Beginners | SAS Programming Tutorial | SAS Tutorial | SAS...
SAS Programming For Beginners | SAS Programming Tutorial | SAS Tutorial | SAS...
 
SAS basics Step by step learning
SAS basics Step by step learningSAS basics Step by step learning
SAS basics Step by step learning
 
Where Vs If Statement
Where Vs If StatementWhere Vs If Statement
Where Vs If Statement
 
SAS Macros part 1
SAS Macros part 1SAS Macros part 1
SAS Macros part 1
 
Sas Functions INDEX / INDEXC / INDEXW
Sas Functions INDEX / INDEXC / INDEXWSas Functions INDEX / INDEXC / INDEXW
Sas Functions INDEX / INDEXC / INDEXW
 
Sas
SasSas
Sas
 
CDISC SDTM Domain Presentation
CDISC SDTM Domain PresentationCDISC SDTM Domain Presentation
CDISC SDTM Domain Presentation
 
Introduction to SAS Data Set Options
Introduction to SAS Data Set OptionsIntroduction to SAS Data Set Options
Introduction to SAS Data Set Options
 
Base sas interview questions
Base sas interview questionsBase sas interview questions
Base sas interview questions
 
SDTM (Study Data Tabulation Model)
SDTM (Study Data Tabulation Model)SDTM (Study Data Tabulation Model)
SDTM (Study Data Tabulation Model)
 
Sas practice programs
Sas practice programsSas practice programs
Sas practice programs
 
Introduction to clinical sas
Introduction to clinical sasIntroduction to clinical sas
Introduction to clinical sas
 
Utility Procedures in SAS
Utility Procedures in SASUtility Procedures in SAS
Utility Procedures in SAS
 
Introduction to Stata
Introduction to Stata Introduction to Stata
Introduction to Stata
 

Similaire à Basics Of SAS Programming Language

Prog1 chap1 and chap 2
Prog1 chap1 and chap 2Prog1 chap1 and chap 2
Prog1 chap1 and chap 2
rowensCap
 
Introduction to-sas-1211594349119006-8
Introduction to-sas-1211594349119006-8Introduction to-sas-1211594349119006-8
Introduction to-sas-1211594349119006-8
thotakoti
 
I need help with Applied Statistics and the SAS Programming Language.pdf
I need help with Applied Statistics and the SAS Programming Language.pdfI need help with Applied Statistics and the SAS Programming Language.pdf
I need help with Applied Statistics and the SAS Programming Language.pdf
Madansilks
 

Similaire à Basics Of SAS Programming Language (20)

Understanding SAS Data Step Processing
Understanding SAS Data Step ProcessingUnderstanding SAS Data Step Processing
Understanding SAS Data Step Processing
 
Prog1 chap1 and chap 2
Prog1 chap1 and chap 2Prog1 chap1 and chap 2
Prog1 chap1 and chap 2
 
SAS Commands
SAS CommandsSAS Commands
SAS Commands
 
Sas classes in mumbai
Sas classes in mumbaiSas classes in mumbai
Sas classes in mumbai
 
Introduction to-sas-1211594349119006-8
Introduction to-sas-1211594349119006-8Introduction to-sas-1211594349119006-8
Introduction to-sas-1211594349119006-8
 
SAS Internal Training
SAS Internal TrainingSAS Internal Training
SAS Internal Training
 
SAS Online Training by Real Time Working Professionals in USA,UK,India,Middle...
SAS Online Training by Real Time Working Professionals in USA,UK,India,Middle...SAS Online Training by Real Time Working Professionals in USA,UK,India,Middle...
SAS Online Training by Real Time Working Professionals in USA,UK,India,Middle...
 
SAS - Training
SAS - Training SAS - Training
SAS - Training
 
Improving Effeciency with Options in SAS
Improving Effeciency with Options in SASImproving Effeciency with Options in SAS
Improving Effeciency with Options in SAS
 
8323 Stats - Lesson 1 - 03 Introduction To Sas 2008
8323 Stats - Lesson 1 - 03 Introduction To Sas 20088323 Stats - Lesson 1 - 03 Introduction To Sas 2008
8323 Stats - Lesson 1 - 03 Introduction To Sas 2008
 
BAS 150 Lesson 4 Lecture
BAS 150 Lesson 4 LectureBAS 150 Lesson 4 Lecture
BAS 150 Lesson 4 Lecture
 
Stata tutorial university of princeton
Stata tutorial university of princetonStata tutorial university of princeton
Stata tutorial university of princeton
 
Sas summary guide
Sas summary guideSas summary guide
Sas summary guide
 
Introducción al Software Analítico SAS
Introducción al Software Analítico SASIntroducción al Software Analítico SAS
Introducción al Software Analítico SAS
 
Draft sas and r and sas (may, 2018 asa meeting)
Draft sas and r and sas (may, 2018 asa meeting)Draft sas and r and sas (may, 2018 asa meeting)
Draft sas and r and sas (may, 2018 asa meeting)
 
Hechsp 001 Chapter 2
Hechsp 001 Chapter 2Hechsp 001 Chapter 2
Hechsp 001 Chapter 2
 
I need help with Applied Statistics and the SAS Programming Language.pdf
I need help with Applied Statistics and the SAS Programming Language.pdfI need help with Applied Statistics and the SAS Programming Language.pdf
I need help with Applied Statistics and the SAS Programming Language.pdf
 
Sas
SasSas
Sas
 
Sas-training-in-mumbai
Sas-training-in-mumbaiSas-training-in-mumbai
Sas-training-in-mumbai
 
Sas Talk To R Users Group
Sas Talk To R Users GroupSas Talk To R Users Group
Sas Talk To R Users Group
 

Plus de guest2160992

Plus de guest2160992 (7)

Reading Fixed And Varying Data
Reading Fixed And Varying DataReading Fixed And Varying Data
Reading Fixed And Varying Data
 
Arrays in SAS
Arrays in SASArrays in SAS
Arrays in SAS
 
SAS Functions
SAS FunctionsSAS Functions
SAS Functions
 
SAS ODS HTML
SAS ODS HTMLSAS ODS HTML
SAS ODS HTML
 
Sas Plots Graphs
Sas Plots GraphsSas Plots Graphs
Sas Plots Graphs
 
SAS Access / SAS Connect
SAS Access / SAS ConnectSAS Access / SAS Connect
SAS Access / SAS Connect
 
SAS Proc SQL
SAS Proc SQLSAS Proc SQL
SAS Proc SQL
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Basics Of SAS Programming Language

  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. SAS file in any library except Work indicates that the SAS file is stored permanently SAS Techies 2009 11/13/09 Permanent SAS Files                                                 Clinic . Admit Clinic . Admit2          Temporary SAS File                      Work . Test Temporary SAS File, One-Level Name                                 Test
  • 9.
  • 10.
  • 11.
  • 12.
  • 13. SAS Techies 2009 11/13/09 Description Default Length Max Length Variable Name <32 32 characters Value CHAR NUM 8 bytes 8 bytes 32767 (32Kb) any bytes
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19. Default Yearcutoff=1920 SAS Techies 2009 11/13/09 Date Expression Interpreted As 12/07/41 18Dec15 04/15/30 15Apr95 12/07/1941 18Dec2015 04/15/1930 15Apr1995 Date Expression SAS Date Informat Interpreted As 06Oct59 date7. 06Oct1959 17Mar1783 date9. 17Mar1783
  • 20.
  • 21.
  • 22.
  • 23.
  • 24. SAS Techies 2009 11/13/09
  • 25. SAS Techies 2009 11/13/09 NOTE: Invalid data for RecHR in line 14 35-37. RULE: ----+----1----+----2----+----3----+----4----+----5--- 14 2575 Quigley, M 74 152 Q13 11 26 I ID=2575 Name=Quigley, M RestHR=74 MaxHR=152 RecHR=. TimeMin=11 TimeSec=26 Tolerance=I _ERROR_=1 _N_=14 NOTE: 21 records were read from the infile TESTS. The minimum record length was 45. The maximum record length was 45. NOTE: The data set CLINIC.STRESS has 21 observations and 8 variables. NOTE: DATA statement used: real time 2.04 seconds cpu time 0.06 seconds

Notes de l'éditeur

  1. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  2. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  3. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  4. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  5. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  6. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  7. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  8. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  9. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  10. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  11. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  12. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  13. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  14. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  15. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  16. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  17. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  18. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  19. SASTechies.com Sharad C Narnindi - Attic Technologies 2005