SlideShare uma empresa Scribd logo
1 de 13
Vibrant Technologies
& Computers
SAS COURSE
Make Career With Us!!
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
sastraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
sastraining.vibranttechnologies.co.in
 Easy to input and output data sets
 Preferred for data manipulation
 “proc” used to complete analyses with built-in functions
 Macros used to build your own functions
 SAS Structure
 Efficient SAS Code for Large Files
 SAS Macro Facility
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
sastraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
sastraining.vibranttechnologies.co.in
SAS Structure
• Data Step: input, create, manipulate or output
data
– Always start with a data line
– Ex. data one;
• Procedure Step: complete an operation on
data
– Always start with a proc line
– Ex. proc contents;
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
sastraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
sastraining.vibranttechnologies.co.in
Statements for Reading Data
• data statement names the data set you are
making
• Can use any of the following commands to
input data
– infile Identifies an external raw data file to read
with an INPUT statement
– input Lists variable names in the input file
– cards Indicates internal data
– set Reads a SAS data set
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
sastraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
sastraining.vibranttechnologies.co.in
Example
data temp;
infile ‘g:sharedBIO271summerbaby.csv' delimiter=','
dsd;
input id headcir length bwt gestwks mage mnocig
mheight mppwt fage fedyrs fnocig fheig;
run;
proc print data = temp (obs=10);
run;
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
sastraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
sastraining.vibranttechnologies.co.in
Delimiter Option
• blank space (default)
• DELIMITER= option specifies that the INPUT
statement use a character other than a blank
as a delimiter for data values that are read
with list input
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
sastraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
sastraining.vibranttechnologies.co.in
Delimiter Example
Sometimes you want to input the data yourself
Try the following data step:
data nums;
infile datalines dsd delimiter=‘&';
input X Y Z;
datalines;
1&2&3
4&5&6
7&8&9 ;
Notice that there are no semicolons until the end of the
datalines
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
sastraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
sastraining.vibranttechnologies.co.in
DSD option
• Change how SAS treats delimiters when list input is used and
sets the default delimiter to a comma. When you specify DSD,
SAS treats two consecutive delimiters as a missing value and
removes quotation marks from character values.
• Use the DSD option and list input to read a character value
that contains a delimiter within a quoted string. The INPUT
statement treats the delimiter as a valid character and
removes the quotation marks from the character string before
the value is stored. Use the tilde (~) format modifier to retain
the quotation marks.
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
sastraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
sastraining.vibranttechnologies.co.in
Example: Reading Delimited Data
SAS data step:
data scores;
infile datalines delimiter=',';
input test1 test2 test3;
datalines;
91,87,95
97,,92
,1,1
;
Output:
Obs test1 test2 test3
1 91 87 95
2 97 92 1
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
sastraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
sastraining.vibranttechnologies.co.in
Dynamic Data Exchange (DDE)
• Dynamic Data Exchange (DDE) is a method of dynamically
exchanging information between Windows applications. DDE
uses a client/server relationship to enable a client application
to request information from a server application. In Version 8,
the SAS System is always the client. In this role, the SAS
System requests data from server applications, sends data to
server applications, or sends commands to server
applications.
• You can use DDE with the DATA step, the SAS macro facility,
SAS/AF applications, or any other portion of the SAS System
that requests and generates data. DDE has many potential
uses, one of which is to acquire data from a Windows
spreadsheet or database application.
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
sastraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
sastraining.vibranttechnologies.co.in
Dynamic Data Exchange (DDE)
• NOTAB is used only in the context of Dynamic
Data Exchange (DDE). This option enables you
to use nontab character delimiters between
variables.
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
sastraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
sastraining.vibranttechnologies.co.in
Statements for Outputting Data
• file: Specifies the current output file for PUT
statements
• put: Writes lines to the SAS log, to the SAS procedure
output file, or to an external file that is specified in
the most recent FILE statement.
Example:
data _null_;
set new;
file 'c:out.csv' delimiter=',' dsd;
put seqno no ;
run;
B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
sastraining.vibranttechnologies.co.in
enquiry@vibrantgroup.co.in
androidtraining.vibranttechnologies.co.in
Where to Get More Information
Vibrant Group:
www.vibrantgroup.co.in
Vibrant Technologies & Computers
www.vibranttechnologies.co.in/technologies.vibrantgroup.co.
in
Vibrant HR Team
www.hr.vibrangroup.co.in

Mais conteúdo relacionado

Destaque

GCP Gaming 2016 Keynote Seoul, Korea
GCP Gaming 2016 Keynote Seoul, KoreaGCP Gaming 2016 Keynote Seoul, Korea
GCP Gaming 2016 Keynote Seoul, KoreaChris Jang
 
Science communications: Writing for impact
Science communications: Writing for impact Science communications: Writing for impact
Science communications: Writing for impact ScienceCommunications
 
Alcatel Lucent: The LTW Necessity – Ensuring high performance indoor experien...
Alcatel Lucent: The LTW Necessity – Ensuring high performance indoor experien...Alcatel Lucent: The LTW Necessity – Ensuring high performance indoor experien...
Alcatel Lucent: The LTW Necessity – Ensuring high performance indoor experien...Small Cell Forum
 
Radsok Presentation Ipe
Radsok Presentation IpeRadsok Presentation Ipe
Radsok Presentation Ipemistybeals
 
Keynote Presentation - The Power of Storytelling with Andrew Griffiths
Keynote Presentation - The Power of Storytelling with Andrew GriffithsKeynote Presentation - The Power of Storytelling with Andrew Griffiths
Keynote Presentation - The Power of Storytelling with Andrew GriffithsAndrew Griffiths Enterprises
 
SAUG Summit 2009 - Session 9 SAP Solution Architect
SAUG Summit 2009 - Session 9 SAP Solution ArchitectSAUG Summit 2009 - Session 9 SAP Solution Architect
SAUG Summit 2009 - Session 9 SAP Solution ArchitectPhil Gleadhill
 
World Wide Technology (WWT) TEC37 Webinar: Customer Experience Transcript
World Wide Technology (WWT) TEC37 Webinar: Customer Experience TranscriptWorld Wide Technology (WWT) TEC37 Webinar: Customer Experience Transcript
World Wide Technology (WWT) TEC37 Webinar: Customer Experience TranscriptWorld Wide Technology
 
Kentico 8 EMS API Deep Dive
Kentico 8 EMS API Deep DiveKentico 8 EMS API Deep Dive
Kentico 8 EMS API Deep DiveBrian McKeiver
 
593 Managing Enterprise Data Quality Using SAP Information Steward
593 Managing Enterprise Data Quality Using SAP Information Steward593 Managing Enterprise Data Quality Using SAP Information Steward
593 Managing Enterprise Data Quality Using SAP Information StewardVinny (Gurvinder) Ahuja
 
Synthesis of Linear and Non-Separable Planar Array Patterns
Synthesis of Linear and Non-Separable Planar Array PatternsSynthesis of Linear and Non-Separable Planar Array Patterns
Synthesis of Linear and Non-Separable Planar Array PatternsMichael Buckley
 
[Military] [article] [armada international] land based air defence
[Military] [article] [armada international] land based air defence[Military] [article] [armada international] land based air defence
[Military] [article] [armada international] land based air defencezerliz3
 

Destaque (12)

GCP Gaming 2016 Keynote Seoul, Korea
GCP Gaming 2016 Keynote Seoul, KoreaGCP Gaming 2016 Keynote Seoul, Korea
GCP Gaming 2016 Keynote Seoul, Korea
 
Science communications: Writing for impact
Science communications: Writing for impact Science communications: Writing for impact
Science communications: Writing for impact
 
Alcatel Lucent: The LTW Necessity – Ensuring high performance indoor experien...
Alcatel Lucent: The LTW Necessity – Ensuring high performance indoor experien...Alcatel Lucent: The LTW Necessity – Ensuring high performance indoor experien...
Alcatel Lucent: The LTW Necessity – Ensuring high performance indoor experien...
 
Radsok Presentation Ipe
Radsok Presentation IpeRadsok Presentation Ipe
Radsok Presentation Ipe
 
Keynote Presentation - The Power of Storytelling with Andrew Griffiths
Keynote Presentation - The Power of Storytelling with Andrew GriffithsKeynote Presentation - The Power of Storytelling with Andrew Griffiths
Keynote Presentation - The Power of Storytelling with Andrew Griffiths
 
SAUG Summit 2009 - Session 9 SAP Solution Architect
SAUG Summit 2009 - Session 9 SAP Solution ArchitectSAUG Summit 2009 - Session 9 SAP Solution Architect
SAUG Summit 2009 - Session 9 SAP Solution Architect
 
World Wide Technology (WWT) TEC37 Webinar: Customer Experience Transcript
World Wide Technology (WWT) TEC37 Webinar: Customer Experience TranscriptWorld Wide Technology (WWT) TEC37 Webinar: Customer Experience Transcript
World Wide Technology (WWT) TEC37 Webinar: Customer Experience Transcript
 
Kentico 8 EMS API Deep Dive
Kentico 8 EMS API Deep DiveKentico 8 EMS API Deep Dive
Kentico 8 EMS API Deep Dive
 
593 Managing Enterprise Data Quality Using SAP Information Steward
593 Managing Enterprise Data Quality Using SAP Information Steward593 Managing Enterprise Data Quality Using SAP Information Steward
593 Managing Enterprise Data Quality Using SAP Information Steward
 
Synthesis of Linear and Non-Separable Planar Array Patterns
Synthesis of Linear and Non-Separable Planar Array PatternsSynthesis of Linear and Non-Separable Planar Array Patterns
Synthesis of Linear and Non-Separable Planar Array Patterns
 
Thermometric titration
Thermometric titrationThermometric titration
Thermometric titration
 
[Military] [article] [armada international] land based air defence
[Military] [article] [armada international] land based air defence[Military] [article] [armada international] land based air defence
[Military] [article] [armada international] land based air defence
 

Mais de VibrantGroup

Zend training-course-navi-mumbai-zend-course-provider-navi-mumbai
Zend training-course-navi-mumbai-zend-course-provider-navi-mumbaiZend training-course-navi-mumbai-zend-course-provider-navi-mumbai
Zend training-course-navi-mumbai-zend-course-provider-navi-mumbaiVibrantGroup
 
Weblogic Application Server training-course-navi-mumbai-weblogic application ...
Weblogic Application Server training-course-navi-mumbai-weblogic application ...Weblogic Application Server training-course-navi-mumbai-weblogic application ...
Weblogic Application Server training-course-navi-mumbai-weblogic application ...VibrantGroup
 
Software-automation-testing-course-navi-mumbai-software-automation-testing-co...
Software-automation-testing-course-navi-mumbai-software-automation-testing-co...Software-automation-testing-course-navi-mumbai-software-automation-testing-co...
Software-automation-testing-course-navi-mumbai-software-automation-testing-co...VibrantGroup
 
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbai
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbaiSiebel training-course-navi-mumbai-siebel-course-provider-navi-mumbai
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbaiVibrantGroup
 
Shell Scripting-training-course-navi-mumbai-shell-scripting-course-provider-n...
Shell Scripting-training-course-navi-mumbai-shell-scripting-course-provider-n...Shell Scripting-training-course-navi-mumbai-shell-scripting-course-provider-n...
Shell Scripting-training-course-navi-mumbai-shell-scripting-course-provider-n...VibrantGroup
 
Oracle11g training-course-navi-mumbai-oracle11gl-course-provider-navi-mumbai
Oracle11g training-course-navi-mumbai-oracle11gl-course-provider-navi-mumbaiOracle11g training-course-navi-mumbai-oracle11gl-course-provider-navi-mumbai
Oracle11g training-course-navi-mumbai-oracle11gl-course-provider-navi-mumbaiVibrantGroup
 
Netbackup training-course-navi-mumbai-netbackup-course-provider-navi-mumbai
Netbackup training-course-navi-mumbai-netbackup-course-provider-navi-mumbaiNetbackup training-course-navi-mumbai-netbackup-course-provider-navi-mumbai
Netbackup training-course-navi-mumbai-netbackup-course-provider-navi-mumbaiVibrantGroup
 
Mainframe training-course-navi-mumbai-mainframe-course-provider-navi-mumbai
Mainframe training-course-navi-mumbai-mainframe-course-provider-navi-mumbaiMainframe training-course-navi-mumbai-mainframe-course-provider-navi-mumbai
Mainframe training-course-navi-mumbai-mainframe-course-provider-navi-mumbaiVibrantGroup
 
Jboss Application Server training-course-navi-mumbai-jboss-course-provider-na...
Jboss Application Server training-course-navi-mumbai-jboss-course-provider-na...Jboss Application Server training-course-navi-mumbai-jboss-course-provider-na...
Jboss Application Server training-course-navi-mumbai-jboss-course-provider-na...VibrantGroup
 
Datastage training-course-navi-mumbai-datastage-course-provider-navi-mumbai
Datastage training-course-navi-mumbai-datastage-course-provider-navi-mumbaiDatastage training-course-navi-mumbai-datastage-course-provider-navi-mumbai
Datastage training-course-navi-mumbai-datastage-course-provider-navi-mumbaiVibrantGroup
 
Aix admin-course-provider-navi-mumbai | Aix admin course provider Navi Mumbai...
Aix admin-course-provider-navi-mumbai | Aix admin course provider Navi Mumbai...Aix admin-course-provider-navi-mumbai | Aix admin course provider Navi Mumbai...
Aix admin-course-provider-navi-mumbai | Aix admin course provider Navi Mumbai...VibrantGroup
 
Aix admin course provider Navi Mumbai | AIX Admin Course Training Navi Mumbai...
Aix admin course provider Navi Mumbai | AIX Admin Course Training Navi Mumbai...Aix admin course provider Navi Mumbai | AIX Admin Course Training Navi Mumbai...
Aix admin course provider Navi Mumbai | AIX Admin Course Training Navi Mumbai...VibrantGroup
 

Mais de VibrantGroup (12)

Zend training-course-navi-mumbai-zend-course-provider-navi-mumbai
Zend training-course-navi-mumbai-zend-course-provider-navi-mumbaiZend training-course-navi-mumbai-zend-course-provider-navi-mumbai
Zend training-course-navi-mumbai-zend-course-provider-navi-mumbai
 
Weblogic Application Server training-course-navi-mumbai-weblogic application ...
Weblogic Application Server training-course-navi-mumbai-weblogic application ...Weblogic Application Server training-course-navi-mumbai-weblogic application ...
Weblogic Application Server training-course-navi-mumbai-weblogic application ...
 
Software-automation-testing-course-navi-mumbai-software-automation-testing-co...
Software-automation-testing-course-navi-mumbai-software-automation-testing-co...Software-automation-testing-course-navi-mumbai-software-automation-testing-co...
Software-automation-testing-course-navi-mumbai-software-automation-testing-co...
 
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbai
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbaiSiebel training-course-navi-mumbai-siebel-course-provider-navi-mumbai
Siebel training-course-navi-mumbai-siebel-course-provider-navi-mumbai
 
Shell Scripting-training-course-navi-mumbai-shell-scripting-course-provider-n...
Shell Scripting-training-course-navi-mumbai-shell-scripting-course-provider-n...Shell Scripting-training-course-navi-mumbai-shell-scripting-course-provider-n...
Shell Scripting-training-course-navi-mumbai-shell-scripting-course-provider-n...
 
Oracle11g training-course-navi-mumbai-oracle11gl-course-provider-navi-mumbai
Oracle11g training-course-navi-mumbai-oracle11gl-course-provider-navi-mumbaiOracle11g training-course-navi-mumbai-oracle11gl-course-provider-navi-mumbai
Oracle11g training-course-navi-mumbai-oracle11gl-course-provider-navi-mumbai
 
Netbackup training-course-navi-mumbai-netbackup-course-provider-navi-mumbai
Netbackup training-course-navi-mumbai-netbackup-course-provider-navi-mumbaiNetbackup training-course-navi-mumbai-netbackup-course-provider-navi-mumbai
Netbackup training-course-navi-mumbai-netbackup-course-provider-navi-mumbai
 
Mainframe training-course-navi-mumbai-mainframe-course-provider-navi-mumbai
Mainframe training-course-navi-mumbai-mainframe-course-provider-navi-mumbaiMainframe training-course-navi-mumbai-mainframe-course-provider-navi-mumbai
Mainframe training-course-navi-mumbai-mainframe-course-provider-navi-mumbai
 
Jboss Application Server training-course-navi-mumbai-jboss-course-provider-na...
Jboss Application Server training-course-navi-mumbai-jboss-course-provider-na...Jboss Application Server training-course-navi-mumbai-jboss-course-provider-na...
Jboss Application Server training-course-navi-mumbai-jboss-course-provider-na...
 
Datastage training-course-navi-mumbai-datastage-course-provider-navi-mumbai
Datastage training-course-navi-mumbai-datastage-course-provider-navi-mumbaiDatastage training-course-navi-mumbai-datastage-course-provider-navi-mumbai
Datastage training-course-navi-mumbai-datastage-course-provider-navi-mumbai
 
Aix admin-course-provider-navi-mumbai | Aix admin course provider Navi Mumbai...
Aix admin-course-provider-navi-mumbai | Aix admin course provider Navi Mumbai...Aix admin-course-provider-navi-mumbai | Aix admin course provider Navi Mumbai...
Aix admin-course-provider-navi-mumbai | Aix admin course provider Navi Mumbai...
 
Aix admin course provider Navi Mumbai | AIX Admin Course Training Navi Mumbai...
Aix admin course provider Navi Mumbai | AIX Admin Course Training Navi Mumbai...Aix admin course provider Navi Mumbai | AIX Admin Course Training Navi Mumbai...
Aix admin course provider Navi Mumbai | AIX Admin Course Training Navi Mumbai...
 

Último

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 

Último (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 

SAS training-course-navi-mumbai-sas-course-provider-navi-mumbai

  • 1. Vibrant Technologies & Computers SAS COURSE Make Career With Us!! B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
  • 2. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 sastraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in sastraining.vibranttechnologies.co.in  Easy to input and output data sets  Preferred for data manipulation  “proc” used to complete analyses with built-in functions  Macros used to build your own functions  SAS Structure  Efficient SAS Code for Large Files  SAS Macro Facility
  • 3. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 sastraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in sastraining.vibranttechnologies.co.in SAS Structure • Data Step: input, create, manipulate or output data – Always start with a data line – Ex. data one; • Procedure Step: complete an operation on data – Always start with a proc line – Ex. proc contents;
  • 4. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 sastraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in sastraining.vibranttechnologies.co.in Statements for Reading Data • data statement names the data set you are making • Can use any of the following commands to input data – infile Identifies an external raw data file to read with an INPUT statement – input Lists variable names in the input file – cards Indicates internal data – set Reads a SAS data set
  • 5. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 sastraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in sastraining.vibranttechnologies.co.in Example data temp; infile ‘g:sharedBIO271summerbaby.csv' delimiter=',' dsd; input id headcir length bwt gestwks mage mnocig mheight mppwt fage fedyrs fnocig fheig; run; proc print data = temp (obs=10); run;
  • 6. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 sastraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in sastraining.vibranttechnologies.co.in Delimiter Option • blank space (default) • DELIMITER= option specifies that the INPUT statement use a character other than a blank as a delimiter for data values that are read with list input
  • 7. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 sastraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in sastraining.vibranttechnologies.co.in Delimiter Example Sometimes you want to input the data yourself Try the following data step: data nums; infile datalines dsd delimiter=‘&'; input X Y Z; datalines; 1&2&3 4&5&6 7&8&9 ; Notice that there are no semicolons until the end of the datalines
  • 8. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 sastraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in sastraining.vibranttechnologies.co.in DSD option • Change how SAS treats delimiters when list input is used and sets the default delimiter to a comma. When you specify DSD, SAS treats two consecutive delimiters as a missing value and removes quotation marks from character values. • Use the DSD option and list input to read a character value that contains a delimiter within a quoted string. The INPUT statement treats the delimiter as a valid character and removes the quotation marks from the character string before the value is stored. Use the tilde (~) format modifier to retain the quotation marks.
  • 9. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 sastraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in sastraining.vibranttechnologies.co.in Example: Reading Delimited Data SAS data step: data scores; infile datalines delimiter=','; input test1 test2 test3; datalines; 91,87,95 97,,92 ,1,1 ; Output: Obs test1 test2 test3 1 91 87 95 2 97 92 1
  • 10. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 sastraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in sastraining.vibranttechnologies.co.in Dynamic Data Exchange (DDE) • Dynamic Data Exchange (DDE) is a method of dynamically exchanging information between Windows applications. DDE uses a client/server relationship to enable a client application to request information from a server application. In Version 8, the SAS System is always the client. In this role, the SAS System requests data from server applications, sends data to server applications, or sends commands to server applications. • You can use DDE with the DATA step, the SAS macro facility, SAS/AF applications, or any other portion of the SAS System that requests and generates data. DDE has many potential uses, one of which is to acquire data from a Windows spreadsheet or database application.
  • 11. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 sastraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in sastraining.vibranttechnologies.co.in Dynamic Data Exchange (DDE) • NOTAB is used only in the context of Dynamic Data Exchange (DDE). This option enables you to use nontab character delimiters between variables.
  • 12. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 sastraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in sastraining.vibranttechnologies.co.in Statements for Outputting Data • file: Specifies the current output file for PUT statements • put: Writes lines to the SAS log, to the SAS procedure output file, or to an external file that is specified in the most recent FILE statement. Example: data _null_; set new; file 'c:out.csv' delimiter=',' dsd; put seqno no ; run;
  • 13. B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173 sastraining.vibranttechnologies.co.in enquiry@vibrantgroup.co.in androidtraining.vibranttechnologies.co.in Where to Get More Information Vibrant Group: www.vibrantgroup.co.in Vibrant Technologies & Computers www.vibranttechnologies.co.in/technologies.vibrantgroup.co. in Vibrant HR Team www.hr.vibrangroup.co.in