SlideShare une entreprise Scribd logo
1  sur  28
SASTechies [email_address] http://www.sastechies.com
[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009
[object Object],[object Object],11/13/09 SAS Techies  2009
[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009
[object Object],11/13/09 SAS Techies  2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009
Data Set Descriptor  The attributes of Total are determined by the expression in the statement.  11/13/09 SAS Techies  2009 data perm.update;  infile invent; input Item $ 1-13 IDnum $ 15-19 InStock 21-22 BackOrd 24-25; Total=instock+backord;   run;  Data Set Name: PERM.UPDATE  Member Type: DATA  Engine: V8 Created: 11:25 Friday, August 7, 1998  Observations: 0  Variables: 5  Indexes: 0  Observation Length: 30
[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009
[object Object],[object Object],[object Object],Raw Data File Invent  11/13/09 SAS Techies  2009 data perm.update;   infile invent;   input Item $ 1-13 IDnum $ 15-19   Instock 21-22 BackOrd 24-25;   Total=instock+backord; run;   >----+----1----+----2----+ V   Bird Feeder LG088    3   20 •   6 Glass Mugs SB082   6   12     Glass Tray  BQ049 12     6     Padded Hangrs  MN256 15   20     Jewelry Box  AJ498 23     0     Red Apron  AQ072   9   12     Crystal Vase  AQ672 27     0     Picnic Basket  LS930 21     0     Brass Clock  AN910   2   10  
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009 Item         IDnum InStock BackOrd Total   Bird Feeder  LG088       3      20    23
[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009
[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009 Obs= Pad Lrecl= End= DLM= DSD EOF= FILEVAR= FIRSTOBS= LENGTH= LINESIZE= MISSOVER N= _INFILE_
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009
[object Object],[object Object],data finance.duejan;  set  finance.loans; Interest=amount*(rate/12);  run; SAS Data Set Finance.Loans  11/13/09 SAS Techies  2009 Account  Amount  Rate  Months  Payment 101-1092   22000  0.1000      60    467.43 101-1731  114000   0.0950     360    958.57 101-1289   10000    0.1050      36    325.02 101-3144    3500   0.1050      12    308.52
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009
[object Object],[object Object],11/13/09 SAS Techies  2009
[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009
[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009
11/13/09 SAS Techies  2009
[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009
[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009
[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009
[object Object],[object Object],11/13/09 SAS Techies  2009
11/13/09 SAS Techies  2009 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
[object Object],[object Object],[object Object],11/13/09 SAS Techies  2009
[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 Patient Age Height Weight Fee 1 27 72 168 85.20 2 34 66 152 124.80 3 31 61 123 149.75 4 43 63 137 149.75 5 51 71 158 124.80
[object Object],[object Object],[object Object],[object Object],SAS Techies  2009 11/13/09

Contenu connexe

Tendances

Introduction To Sas
Introduction To SasIntroduction To Sas
Introduction To Sas
halasti
 
Cdisc sdtm implementation_process _v1
Cdisc sdtm implementation_process _v1Cdisc sdtm implementation_process _v1
Cdisc sdtm implementation_process _v1
ray4hz
 
SAS Macros part 2
SAS Macros part 2SAS Macros part 2
SAS Macros part 2
venkatam
 
Base SAS Exam Questions
Base SAS Exam QuestionsBase SAS Exam Questions
Base SAS Exam Questions
guestc45097
 

Tendances (20)

Basics Of SAS Programming Language
Basics Of SAS Programming LanguageBasics Of SAS Programming Language
Basics Of SAS Programming Language
 
Data Match Merging in SAS
Data Match Merging in SASData Match Merging in SAS
Data Match Merging in SAS
 
Understanding sas data step processing.
Understanding sas data step processing.Understanding sas data step processing.
Understanding sas data step processing.
 
Sas cheat
Sas cheatSas cheat
Sas cheat
 
Arrays in SAS
Arrays in SASArrays in SAS
Arrays in SAS
 
SDTM - Adverse Events Vs. Clinical Events
SDTM - Adverse Events Vs. Clinical EventsSDTM - Adverse Events Vs. Clinical Events
SDTM - Adverse Events Vs. Clinical Events
 
Introduction to SAS
Introduction to SASIntroduction to SAS
Introduction to SAS
 
ADaM - Where Do I Start?
ADaM - Where Do I Start?ADaM - Where Do I Start?
ADaM - Where Do I Start?
 
Introduction To Sas
Introduction To SasIntroduction To Sas
Introduction To Sas
 
SAS Programming Notes
SAS Programming NotesSAS Programming Notes
SAS Programming Notes
 
Sas Plots Graphs
Sas Plots GraphsSas Plots Graphs
Sas Plots Graphs
 
SDTM modelling: from study protocol to SDTM-compliant datasets
SDTM modelling: from study protocol to SDTM-compliant datasets SDTM modelling: from study protocol to SDTM-compliant datasets
SDTM modelling: from study protocol to SDTM-compliant datasets
 
Cdisc sdtm implementation_process _v1
Cdisc sdtm implementation_process _v1Cdisc sdtm implementation_process _v1
Cdisc sdtm implementation_process _v1
 
SAS BASICS
SAS BASICSSAS BASICS
SAS BASICS
 
SDTM (Study Data Tabulation Model)
SDTM (Study Data Tabulation Model)SDTM (Study Data Tabulation Model)
SDTM (Study Data Tabulation Model)
 
SAS Macros part 2
SAS Macros part 2SAS Macros part 2
SAS Macros part 2
 
Trial Design Domains
Trial Design DomainsTrial Design Domains
Trial Design Domains
 
SDTM Fnal Detail Training
SDTM Fnal Detail TrainingSDTM Fnal Detail Training
SDTM Fnal Detail Training
 
A complex ADaM dataset - three different ways to create one
A complex ADaM dataset - three different ways to create oneA complex ADaM dataset - three different ways to create one
A complex ADaM dataset - three different ways to create one
 
Base SAS Exam Questions
Base SAS Exam QuestionsBase SAS Exam Questions
Base SAS Exam Questions
 

Similaire à Understanding SAS Data Step Processing

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
 
Eff Plsql
Eff PlsqlEff Plsql
Eff Plsql
afa reg
 
Database development coding standards
Database development coding standardsDatabase development coding standards
Database development coding standards
Alessandro Baratella
 

Similaire à Understanding SAS Data Step Processing (20)

Sas
SasSas
Sas
 
Prog1 chap1 and chap 2
Prog1 chap1 and chap 2Prog1 chap1 and chap 2
Prog1 chap1 and chap 2
 
Sas classes in mumbai
Sas classes in mumbaiSas classes in mumbai
Sas classes in mumbai
 
SAS Commands
SAS CommandsSAS Commands
SAS Commands
 
Improving Effeciency with Options in SAS
Improving Effeciency with Options in SASImproving Effeciency with Options in SAS
Improving Effeciency with Options in SAS
 
SAS Mainframe -Program-Tips
SAS Mainframe -Program-TipsSAS Mainframe -Program-Tips
SAS Mainframe -Program-Tips
 
Hechsp 001 Chapter 2
Hechsp 001 Chapter 2Hechsp 001 Chapter 2
Hechsp 001 Chapter 2
 
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
 
Sas-training-in-mumbai
Sas-training-in-mumbaiSas-training-in-mumbai
Sas-training-in-mumbai
 
Introduction to-sas-1211594349119006-8
Introduction to-sas-1211594349119006-8Introduction to-sas-1211594349119006-8
Introduction to-sas-1211594349119006-8
 
SAS/Tableau integration
SAS/Tableau integrationSAS/Tableau integration
SAS/Tableau integration
 
Eff Plsql
Eff PlsqlEff Plsql
Eff Plsql
 
Sas
SasSas
Sas
 
SAS - Training
SAS - Training SAS - Training
SAS - Training
 
Database development coding standards
Database development coding standardsDatabase development coding standards
Database development coding standards
 
SAP BASIS Skills for Functional Consultants
SAP BASIS Skills for Functional ConsultantsSAP BASIS Skills for Functional Consultants
SAP BASIS Skills for Functional Consultants
 
Sas summary guide
Sas summary guideSas summary guide
Sas summary guide
 
Lsmw
LsmwLsmw
Lsmw
 
Sap basis made_easy321761331053730
Sap basis made_easy321761331053730Sap basis made_easy321761331053730
Sap basis made_easy321761331053730
 
Sap basis made easy
Sap basis made easySap basis made easy
Sap basis made easy
 

Dernier

Dernier (20)

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...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
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...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 

Understanding SAS Data Step Processing

  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. Data Set Descriptor The attributes of Total are determined by the expression in the statement. 11/13/09 SAS Techies 2009 data perm.update; infile invent; input Item $ 1-13 IDnum $ 15-19 InStock 21-22 BackOrd 24-25; Total=instock+backord; run; Data Set Name: PERM.UPDATE Member Type: DATA Engine: V8 Created: 11:25 Friday, August 7, 1998 Observations: 0 Variables: 5 Indexes: 0 Observation Length: 30
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25. 11/13/09 SAS Techies 2009 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
  • 26.
  • 27.
  • 28.

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
  20. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  21. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  22. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  23. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  24. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  25. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  26. SASTechies.com Sharad C Narnindi - Attic Technologies 2005
  27. SASTechies.com Sharad C Narnindi - Attic Technologies 2005