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

Base SAS Statistics Procedures
Base SAS Statistics ProceduresBase SAS Statistics Procedures
Base SAS Statistics Proceduresguest2160992
 
Understanding SAS Data Step Processing
Understanding SAS Data Step ProcessingUnderstanding SAS Data Step Processing
Understanding SAS Data Step Processingguest2160992
 
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
 
Base sas interview questions
Base sas interview questionsBase sas interview questions
Base sas interview questionsDr P Deepak
 
Introduction to SAS
Introduction to SASIntroduction to SAS
Introduction to SASizahn
 
Where Vs If Statement
Where Vs If StatementWhere Vs If Statement
Where Vs If StatementSunil Gupta
 
Report procedure
Report procedureReport procedure
Report procedureMaanasaS
 
Base SAS Full Sample Paper
Base SAS Full Sample Paper Base SAS Full Sample Paper
Base SAS Full Sample Paper Jimmy Rana
 
Base SAS Exam Questions
Base SAS Exam QuestionsBase SAS Exam Questions
Base SAS Exam Questionsguestc45097
 
SAS Macros part 1
SAS Macros part 1SAS Macros part 1
SAS Macros part 1venkatam
 
SAS Macros part 2
SAS Macros part 2SAS Macros part 2
SAS Macros part 2venkatam
 
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
 
SAS Macros part 4.1
SAS Macros part 4.1SAS Macros part 4.1
SAS Macros part 4.1venkatam
 

What's hot (20)

SAS Proc SQL
SAS Proc SQLSAS Proc SQL
SAS Proc SQL
 
Proc report
Proc reportProc report
Proc report
 
Base SAS Statistics Procedures
Base SAS Statistics ProceduresBase SAS Statistics Procedures
Base SAS Statistics Procedures
 
Arrays in SAS
Arrays in SASArrays in SAS
Arrays in SAS
 
Understanding SAS Data Step Processing
Understanding SAS Data Step ProcessingUnderstanding SAS Data Step Processing
Understanding SAS Data Step Processing
 
Sas cheat
Sas cheatSas cheat
Sas cheat
 
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
 
Base sas interview questions
Base sas interview questionsBase sas interview questions
Base sas interview questions
 
Introduction to SAS
Introduction to SASIntroduction to SAS
Introduction to SAS
 
Where Vs If Statement
Where Vs If StatementWhere Vs If Statement
Where Vs If Statement
 
Report procedure
Report procedureReport procedure
Report procedure
 
SAS BASICS
SAS BASICSSAS BASICS
SAS BASICS
 
Base SAS Full Sample Paper
Base SAS Full Sample Paper Base SAS Full Sample Paper
Base SAS Full Sample Paper
 
Base SAS Exam Questions
Base SAS Exam QuestionsBase SAS Exam Questions
Base SAS Exam Questions
 
SAS Macros part 1
SAS Macros part 1SAS Macros part 1
SAS Macros part 1
 
SAS Macros part 2
SAS Macros part 2SAS Macros part 2
SAS Macros part 2
 
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
 
Sas summary guide
Sas summary guideSas summary guide
Sas summary guide
 
SAS Macros part 4.1
SAS Macros part 4.1SAS Macros part 4.1
SAS Macros part 4.1
 

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
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysisnadiazaheer
 

Viewers also liked (12)

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
 
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

Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
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...Drew Madelung
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
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 textsMaria Levchenko
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
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
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
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...
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

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