SlideShare a Scribd company logo
1 of 33
SASTechies [email_address] http://www.sastechies.com
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],TLG’s 11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],SAS Techies 2009 11/13/09
[object Object],[object Object],SAS Techies 2009 11/13/09
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],[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],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 11/13/09 Sales Figures for Northern Sectors Sector Manager Sales Northeast Alomar 786.00   Andrews 1,045.00     $1,831.00 Northwest Brown 598.00   Pelfrey 746.00   Reveiz 1,110.00     $2,454.00 Combined sales for the northern sectors were $4,285.00.
[object Object],[object Object],[object Object],SAS Techies 2009 11/13/09 Double overline each value DOL * Double underline each value DUL * Overline each value OL * Start a new page after the last break line PAGE Write a blank line for the last break line SKIP Specify a style element for default summary lines, customized summary lines or both STYLE= Write a summary line in each group of break lines SUMMARIZE Suppress the printing of the value of the break variable in the summary line and of any underlining or overlining in the break lines in the column containing the break variable SUPPRESS
[object Object],[object Object],[object Object],SAS Techies 2009 11/13/09 Attribute  Description  Values  BLINK Controls blinking of current value 1 turns blinking on; 0 turns it off COLOR Controls the color of the current value in the REPORT window 'blue', 'red', 'pink', 'green', 'cyan', 'orange', 'black',  COMMAND Specifies that a series of commands follows a quoted string of SAS commands to submit to the command line FORMAT Specifies a format for the column a SAS format or a user-defined format HIGHLIGHT Controls highlighting of the current value 1 turns highlighting on; 0 turns it off RVSVIDEO Controls display of the current value 1 turns reverse video on; 0 turns it off STYLE= Specifies the style element for the Output Delivery System See  Using the STYLE= Attribute
[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 11/13/09
SAS Techies 2009 11/13/09 Assign a SAS or user-defined format to the item FORMAT= Associate a statistic with an analysis variable statistic Specify a style element (for the Output Delivery System) for the report item STYLE= Specify a numeric variable whose values weight the value of the analysis variable WEIGHT= Define the width of the column in which PROC REPORT displays the report item  WIDTH= Define the item, which must be a data set variable, as an across variable ACROSS Define the item, which must be a data set variable, as an analysis variable ANALYSIS Define the item as a computed variable COMPUTED Define the item, which must be a data set variable, as a display variable DISPLAY Define the item, which must be a data set variable, as a group variable GROUP Define the item, which must be a data set variable, as an order variable ORDER
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[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 Sales Figures for Northern Sectors Sector Manager Sales Northeast Alomar 786.00   Andrews 1,045.00     $1,831.00 Northwest Brown 598.00   Pelfrey 746.00   Reveiz 1,110.00     $2,454.00 Combined sales for the northern sectors were $4,285.00.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[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 Sales for the Southeast Sector Manager Department Sales Jones Paper $40.00   Canned $220.00   Meat/Dairy $300.00   Produce $70.00 Jones   $630.00 Smith Paper $50.00   Canned $120.00   Meat/Dairy $100.00   Produce $80.00 Smith   $350.00 Total sales for these stores were:   $980.00
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[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],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 11/13/09
SAS Techies 2009 options nodate pageno= 1  linesize= 80  pagesize= 60  source;  libname perm 'SAS-data-library'; proc   catalog  cat=perm.sample; delete credit.program credit.log; copy out=tcatall; copy out=testcat; exclude test1 test2 test3  passist (et=slist) / et=log; run ;  * RUN GROUP PROCESSING copy in=perm.formats out=perm.finance; select revenue.format dept.formatc; quit ; 11/13/09
[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],SAS Techies 2009 libname source 'SAS-data-library'; filename tranfile 'transport-file' host-option(s)-for-file-characteristics; proc   cport  library=source file=tranfile memtype=catalog; proc   cport  catalog=source.finance file=tranfile after = '09sep1996'd ; trantab  name=ttable1 type=(format);  run ; 11/13/09
[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 libname newlib 'SAS-data-library'; filename trans2 'transport-file' host-option(s)-for-file-characteristics;  proc   cimport  catalog=newlib.finance infile=trans2; select loan.pmenu loan.scl; run ; 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],[object Object],[object Object],SAS Techies 2009 proc   compare  base=proclib.one compare=proclib.two nosummary;  var gr1; with gr2; title 'Comparison of Variables in Different Data Sets'; run ; 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
[object Object],[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],SAS Techies 2009 11/13/09 To do this Use this option provide a description for a SAS log or procedure output stored in a SAS catalog entry LABEL= route the SAS log to a permanent external file or SAS catalog entry LOG= combine the SAS log and procedure output into a single file LOG= and PRINT= with same destination replace the file instead of appending to it NEW route procedure output to a permanent external file or SAS catalog entry or printer. PRINT=
SAS Techies 2009 options nodate pageno= 1  linesize= 80  pagesize= 60  source;  proc   printto  log=‘c:emp.txt';  run ;  data  numbers; input x y z; datalines; 14.2  25.2  96.8 10.8  51.6  96.8  ; proc   printto  print='output-file' new;  run ; proc   print  data=numbers; title 'Listing of NUMBERS Data Set'; run ; 11/13/09
[object Object],[object Object],[object Object],[object Object],[object Object],SAS Techies 2009 11/13/09
SAS Techies 2009 options nodate pageno= 1  linesize= 80  pagesize= 60 ;  data  elect; input Candidate $  1 - 11  District  13  Vote  15 - 18  Years  20 ; datalines; Cardella  1 1689 8 Latham  1 1005 2 Smith  1 1406 0 Walker  1  846 0 ; proc   rank  data=elect out=results ties=low descending; by district; var vote years; ranks VoteRank YearsRank; run ; 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],[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],[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],[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],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[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
SAS Techies 2009 options pagesize= 40  linesize= 80  nodate pageno= 1  source; libname health 'SAS-data-library'; proc   datasets  library=health nolist; modify group (label='Test Subjects' read=green sortedby=lname); index create vital=(birth salary) / nomiss unique; informat birth date7.; format birth date7.; label salary='current salary excluding bonus'; modify oxygen; rename oxygen=intake; label intake='Intake Measurement'; quit ; 11/13/09
[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

More Related Content

What's hot

Understanding SAS Data Step Processing
Understanding SAS Data Step ProcessingUnderstanding SAS Data Step Processing
Understanding SAS Data Step Processingguest2160992
 
SAS Macros part 1
SAS Macros part 1SAS Macros part 1
SAS Macros part 1venkatam
 
Base sas interview questions
Base sas interview questionsBase sas interview questions
Base sas interview questionsDr P Deepak
 
A Step-By-Step Introduction to SAS Report Procedure
A Step-By-Step Introduction to SAS Report ProcedureA Step-By-Step Introduction to SAS Report Procedure
A Step-By-Step Introduction to SAS Report ProcedureYesAnalytics
 
Report procedure
Report procedureReport procedure
Report procedureMaanasaS
 
Introduction to SAS Data Set Options
Introduction to SAS Data Set OptionsIntroduction to SAS Data Set Options
Introduction to SAS Data Set OptionsMark Tabladillo
 
Introduction to sas
Introduction to sasIntroduction to sas
Introduction to sasAjay Ohri
 
Proc SQL in SAS Enterprise Guide 4.3
Proc SQL in SAS Enterprise Guide 4.3Proc SQL in SAS Enterprise Guide 4.3
Proc SQL in SAS Enterprise Guide 4.3Mark Tabladillo
 
Understanding sas data step processing.
Understanding sas data step processing.Understanding sas data step processing.
Understanding sas data step processing.Ravi Mandal, MBA
 
SAS Access / SAS Connect
SAS Access / SAS ConnectSAS Access / SAS Connect
SAS Access / SAS Connectguest2160992
 
Introduction To Sas
Introduction To SasIntroduction To Sas
Introduction To Sashalasti
 

What's hot (20)

Understanding SAS Data Step Processing
Understanding SAS Data Step ProcessingUnderstanding SAS Data Step Processing
Understanding SAS Data Step Processing
 
SAS Macros part 1
SAS Macros part 1SAS Macros part 1
SAS Macros part 1
 
Base sas interview questions
Base sas interview questionsBase sas interview questions
Base sas interview questions
 
SAS Proc SQL
SAS Proc SQLSAS Proc SQL
SAS Proc SQL
 
Sas Plots Graphs
Sas Plots GraphsSas Plots Graphs
Sas Plots Graphs
 
A Step-By-Step Introduction to SAS Report Procedure
A Step-By-Step Introduction to SAS Report ProcedureA Step-By-Step Introduction to SAS Report Procedure
A Step-By-Step Introduction to SAS Report Procedure
 
SAS BASICS
SAS BASICSSAS BASICS
SAS BASICS
 
Report procedure
Report procedureReport procedure
Report procedure
 
Proc report
Proc reportProc report
Proc report
 
Sas practice programs
Sas practice programsSas practice programs
Sas practice programs
 
Introduction to SAS Data Set Options
Introduction to SAS Data Set OptionsIntroduction to SAS Data Set Options
Introduction to SAS Data Set Options
 
Introduction to sas
Introduction to sasIntroduction to sas
Introduction to sas
 
SAS Internal Training
SAS Internal TrainingSAS Internal Training
SAS Internal Training
 
Basics of SAS
Basics of SASBasics of SAS
Basics of SAS
 
Sas cheat
Sas cheatSas cheat
Sas cheat
 
Proc SQL in SAS Enterprise Guide 4.3
Proc SQL in SAS Enterprise Guide 4.3Proc SQL in SAS Enterprise Guide 4.3
Proc SQL in SAS Enterprise Guide 4.3
 
Understanding sas data step processing.
Understanding sas data step processing.Understanding sas data step processing.
Understanding sas data step processing.
 
SAS Access / SAS Connect
SAS Access / SAS ConnectSAS Access / SAS Connect
SAS Access / SAS Connect
 
Introduction To Sas
Introduction To SasIntroduction To Sas
Introduction To Sas
 
INTRODUCTION TO SAS
INTRODUCTION TO SASINTRODUCTION TO SAS
INTRODUCTION TO SAS
 

Viewers also liked

Improving Effeciency with Options in SAS
Improving Effeciency with Options in SASImproving Effeciency with Options in SAS
Improving Effeciency with Options in SASguest2160992
 
Reading Fixed And Varying Data
Reading Fixed And Varying DataReading Fixed And Varying Data
Reading Fixed And Varying Dataguest2160992
 
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...cambridgeWD
 
Sas Enterprise Guide A Revolutionary Tool
Sas Enterprise Guide A Revolutionary ToolSas Enterprise Guide A Revolutionary Tool
Sas Enterprise Guide A Revolutionary Toolsysseminar
 
Hechsp 001 Chapter 3
Hechsp 001 Chapter 3Hechsp 001 Chapter 3
Hechsp 001 Chapter 3Brian Kelly
 
Sas Macro Examples
Sas Macro ExamplesSas Macro Examples
Sas Macro ExamplesSASTechies
 
Learn SAS Programming
Learn SAS ProgrammingLearn SAS Programming
Learn SAS ProgrammingSASTechies
 
Regression analysis
Regression analysisRegression analysis
Regression analysissaba khan
 
Base SAS Exam Questions
Base SAS Exam QuestionsBase SAS Exam Questions
Base SAS Exam Questionsguestc45097
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysisnadiazaheer
 

Viewers also liked (13)

Improving Effeciency with Options in SAS
Improving Effeciency with Options in SASImproving Effeciency with Options in SAS
Improving Effeciency with Options in SAS
 
SAS ODS HTML
SAS ODS HTMLSAS ODS HTML
SAS ODS HTML
 
Reading Fixed And Varying Data
Reading Fixed And Varying DataReading Fixed And Varying Data
Reading Fixed And Varying Data
 
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...
Clinical Trials Versus Health Outcomes Research: SAS/STAT Versus SAS Enterpri...
 
Sas Enterprise Guide A Revolutionary Tool
Sas Enterprise Guide A Revolutionary ToolSas Enterprise Guide A Revolutionary Tool
Sas Enterprise Guide A Revolutionary Tool
 
Hechsp 001 Chapter 3
Hechsp 001 Chapter 3Hechsp 001 Chapter 3
Hechsp 001 Chapter 3
 
SAS TRAINING
SAS TRAININGSAS TRAINING
SAS TRAINING
 
Sas Macro Examples
Sas Macro ExamplesSas Macro Examples
Sas Macro Examples
 
Learn SAS Programming
Learn SAS ProgrammingLearn SAS Programming
Learn SAS Programming
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Base SAS Exam Questions
Base SAS Exam QuestionsBase SAS Exam Questions
Base SAS Exam Questions
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
SAS basics Step by step learning
SAS basics Step by step learningSAS basics Step by step learning
SAS basics Step by step learning
 

Similar to Utility Procedures in SAS

Similar to Utility Procedures in SAS (20)

Prog1 chap1 and chap 2
Prog1 chap1 and chap 2Prog1 chap1 and chap 2
Prog1 chap1 and chap 2
 
MySQL 5.5
MySQL 5.5MySQL 5.5
MySQL 5.5
 
Oracle tips and tricks
Oracle tips and tricksOracle tips and tricks
Oracle tips and tricks
 
SQL Tuning Overview
SQL Tuning OverviewSQL Tuning Overview
SQL Tuning Overview
 
Sas Talk To R Users Group
Sas Talk To R Users GroupSas Talk To R Users Group
Sas Talk To R Users Group
 
As08 Revised
As08 RevisedAs08 Revised
As08 Revised
 
Tony jambu (obscure) tools of the trade for tuning oracle sq ls
Tony jambu   (obscure) tools of the trade for tuning oracle sq lsTony jambu   (obscure) tools of the trade for tuning oracle sq ls
Tony jambu (obscure) tools of the trade for tuning oracle sq ls
 
Sas
SasSas
Sas
 
Mysqlppt
MysqlpptMysqlppt
Mysqlppt
 
Hechsp 001 Chapter 2
Hechsp 001 Chapter 2Hechsp 001 Chapter 2
Hechsp 001 Chapter 2
 
SAS - Training
SAS - Training SAS - Training
SAS - Training
 
SAS/Tableau integration
SAS/Tableau integrationSAS/Tableau integration
SAS/Tableau integration
 
Module04
Module04Module04
Module04
 
Oracle - Program with PL/SQL - Lession 09
Oracle - Program with PL/SQL - Lession 09Oracle - Program with PL/SQL - Lession 09
Oracle - Program with PL/SQL - Lession 09
 
SAP HANA SPS09 - SAP HANA Core & SQL
SAP HANA SPS09 - SAP HANA Core & SQLSAP HANA SPS09 - SAP HANA Core & SQL
SAP HANA SPS09 - SAP HANA Core & SQL
 
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
 
Les08-Oracle
Les08-OracleLes08-Oracle
Les08-Oracle
 
SAS Commands
SAS CommandsSAS Commands
SAS Commands
 
Sas classes in mumbai
Sas classes in mumbaiSas classes in mumbai
Sas classes in mumbai
 
SQL Optimization With Trace Data And Dbms Xplan V6
SQL Optimization With Trace Data And Dbms Xplan V6SQL Optimization With Trace Data And Dbms Xplan V6
SQL Optimization With Trace Data And Dbms Xplan V6
 

Recently uploaded

Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
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 Scriptwesley chun
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
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 FresherRemote DBA Services
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
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 2024The Digital Insurer
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
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 FMESafe Software
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
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 educationjfdjdjcjdnsjd
 
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 SavingEdi Saputra
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
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...apidays
 
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 DevelopmentsTrustArc
 
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 AutomationSafe Software
 
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 2024The Digital Insurer
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Recently uploaded (20)

Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
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
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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
 
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
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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...
 
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
 
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
 
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
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

Utility Procedures in SAS

  • 2.
  • 3.
  • 4.
  • 5. SAS Techies 2009 11/13/09
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11. SAS Techies 2009 11/13/09 Assign a SAS or user-defined format to the item FORMAT= Associate a statistic with an analysis variable statistic Specify a style element (for the Output Delivery System) for the report item STYLE= Specify a numeric variable whose values weight the value of the analysis variable WEIGHT= Define the width of the column in which PROC REPORT displays the report item WIDTH= Define the item, which must be a data set variable, as an across variable ACROSS Define the item, which must be a data set variable, as an analysis variable ANALYSIS Define the item as a computed variable COMPUTED Define the item, which must be a data set variable, as a display variable DISPLAY Define the item, which must be a data set variable, as a group variable GROUP Define the item, which must be a data set variable, as an order variable ORDER
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. SAS Techies 2009 options nodate pageno= 1 linesize= 80 pagesize= 60 source; libname perm 'SAS-data-library'; proc catalog cat=perm.sample; delete credit.program credit.log; copy out=tcatall; copy out=testcat; exclude test1 test2 test3 passist (et=slist) / et=log; run ; * RUN GROUP PROCESSING copy in=perm.formats out=perm.finance; select revenue.format dept.formatc; quit ; 11/13/09
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24. SAS Techies 2009 options nodate pageno= 1 linesize= 80 pagesize= 60 source; proc printto log=‘c:emp.txt'; run ; data numbers; input x y z; datalines; 14.2 25.2 96.8 10.8 51.6 96.8 ; proc printto print='output-file' new; run ; proc print data=numbers; title 'Listing of NUMBERS Data Set'; run ; 11/13/09
  • 25.
  • 26. SAS Techies 2009 options nodate pageno= 1 linesize= 80 pagesize= 60 ; data elect; input Candidate $ 1 - 11 District 13 Vote 15 - 18 Years 20 ; datalines; Cardella 1 1689 8 Latham 1 1005 2 Smith 1 1406 0 Walker 1 846 0 ; proc rank data=elect out=results ties=low descending; by district; var vote years; ranks VoteRank YearsRank; run ; 11/13/09
  • 27.
  • 28.
  • 29.
  • 30.
  • 31. SAS Techies 2009 options pagesize= 40 linesize= 80 nodate pageno= 1 source; libname health 'SAS-data-library'; proc datasets library=health nolist; modify group (label='Test Subjects' read=green sortedby=lname); index create vital=(birth salary) / nomiss unique; informat birth date7.; format birth date7.; label salary='current salary excluding bonus'; modify oxygen; rename oxygen=intake; label intake='Intake Measurement'; quit ; 11/13/09
  • 32.
  • 33.

Editor's Notes

  1. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  2. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  3. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  4. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  5. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  6. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  7. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  8. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  9. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  10. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  11. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  12. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  13. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  14. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  15. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  16. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  17. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  18. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  19. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  20. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  21. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  22. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  23. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  24. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  25. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  26. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  27. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  28. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  29. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  30. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  31. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005
  32. SASTechies.com Sharad C Narnindi Attic Technologies,Inc 2005