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

Report procedure
Report procedureReport procedure
Report procedureMaanasaS
 
SAS Macros part 1
SAS Macros part 1SAS Macros part 1
SAS Macros part 1venkatam
 
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
 
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
 
Where conditions and Operators in SQL
Where conditions and Operators in SQLWhere conditions and Operators in SQL
Where conditions and Operators in SQLMSB Academy
 
Introduction To Sas
Introduction To SasIntroduction To Sas
Introduction To Sashalasti
 
SAS Macros part 2
SAS Macros part 2SAS Macros part 2
SAS Macros part 2venkatam
 
SAS Macros part 3
SAS Macros part 3SAS Macros part 3
SAS Macros part 3venkatam
 
Base SAS Full Sample Paper
Base SAS Full Sample Paper Base SAS Full Sample Paper
Base SAS Full Sample Paper Jimmy Rana
 

What's hot (20)

SAS Macros
SAS MacrosSAS Macros
SAS Macros
 
Report procedure
Report procedureReport procedure
Report procedure
 
SAS Macros part 1
SAS Macros part 1SAS Macros part 1
SAS Macros part 1
 
SAS BASICS
SAS BASICSSAS BASICS
SAS BASICS
 
Base SAS Statistics Procedures
Base SAS Statistics ProceduresBase SAS Statistics Procedures
Base SAS Statistics Procedures
 
Sas practice programs
Sas practice programsSas practice programs
Sas practice programs
 
SAS Functions
SAS FunctionsSAS Functions
SAS Functions
 
Understanding SAS Data Step Processing
Understanding SAS Data Step ProcessingUnderstanding SAS Data Step Processing
Understanding SAS Data Step Processing
 
SAS Proc SQL
SAS Proc SQLSAS Proc SQL
SAS Proc SQL
 
Arrays in SAS
Arrays in SASArrays in SAS
Arrays in SAS
 
SAS ODS HTML
SAS ODS HTMLSAS ODS HTML
SAS ODS HTML
 
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 Programming Notes
SAS Programming NotesSAS Programming Notes
SAS Programming Notes
 
SAS Macros part 4.1
SAS Macros part 4.1SAS Macros part 4.1
SAS Macros part 4.1
 
Where conditions and Operators in SQL
Where conditions and Operators in SQLWhere conditions and Operators in SQL
Where conditions and Operators in SQL
 
Introduction To Sas
Introduction To SasIntroduction To Sas
Introduction To Sas
 
SAS Macros part 2
SAS Macros part 2SAS Macros part 2
SAS Macros part 2
 
SAS Macros part 3
SAS Macros part 3SAS Macros part 3
SAS Macros part 3
 
Base SAS Full Sample Paper
Base SAS Full Sample Paper Base SAS Full Sample Paper
Base SAS Full Sample Paper
 
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
 
SAS Access / SAS Connect
SAS Access / SAS ConnectSAS Access / SAS Connect
SAS Access / SAS Connectguest2160992
 
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 Access / SAS Connect
SAS Access / SAS ConnectSAS Access / SAS Connect
SAS Access / SAS Connect
 
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

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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
#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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
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
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 

Recently uploaded (20)

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
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
#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
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
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
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 

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