SlideShare a Scribd company logo
1 of 51
SAS Techies [email_address] http://www.sastechies.com
[object Object],[object Object],[object Object],[object Object],[object Object],[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],title "Temporary Employees for  1999 ";  data hrd.temp 1999 ;  set hrd.temp; if year(enddate)= 1999 ;  title "Temporary Employees for  2000 ";  data hrd.temp  2000 ;  set hrd.temp; if year(enddate)=  2000 ;  %let yr=1999; title "Temporary Employees for  &yr ";  data hrd.temp &yr ;  set hrd.temp; if year(enddate)=  “&yr” ; & % - Macro facility trigger telling SAS  to resolve the value immediately 11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],%let yr=1999; title "Temporary Employees for  &yr ";  data hrd.temp &yr ;  set hrd.temp; if year(enddate)=  &yr ; 11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],footnote "Report Run on &sysdate";  footnote ‘Report Run on &sysdate’;  footnote “Report Run on &sysdate”;  11/13/09 SAS Techies 2009 Obs Agency ID Name 1 Administrative Support, Inc.  F274 Cichock, Elizabeth Marie  2 OD Consulting, Inc.  F054 Shere, Brian Thomas  3 Administrative Support, Inc.  P039 Chevarley, Arlene Elsie 4 New Time Temps Agency  P378 Bates, Ellen Marie Report Run on 30NOV99
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009 Name Information Example SYSDATE9   date the job or session began executing 21APR2000 SYSDATE date the job or session began executing 16FEB98 SYSDAY weekday the job or session began executing Tuesday SYSTIME time the job or session began executing 15:32 SYSSCP operating system abbreviation CMS SYSVER SAS software version and/or release number 7.0 SYSLAST name of most recently created data set HRD.TEMP99
[object Object],[object Object],%let name=sharad; title "Temporary Employees for Sharad";  data hrd.temp;  set hrd.temp; if name=“&name”; %let name=sharad; title "Temporary Employees for Sharad";  data hrd.temp;  set hrd.temp; if name=sharad; %let name=sharad; title "Temporary Employees for Sharad";  data hrd.temp;  set hrd.temp; if name=“sharad”; %let name=sharad; title "Temporary Employees for &name";  data hrd.temp;  set hrd.temp; if name=&name; 11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009 Global Symbol Table SYSTIME 09.47 automatic variables SYSVER 8.01 CITY Dallas user-defined variables DATE 05JAN2000 AMOUNT 975
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
11/13/09 SAS Techies 2009
11/13/09 SAS Techies 2009
11/13/09 SAS Techies 2009
11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],%let year=1999; title "Temporary Employees for &year";  data hrd.newtemp; set hrd.temp; if year(enddate)= &yera ; run;  title "Temporary Employees for &year";  data hrd.newtemp; set hrd.temp; if year(enddate)= &year ; run;  11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009 Argument Result in SAS Log _ALL_ Lists the values of all macro variables _AUTOMATIC_ Lists the values of all automatic macro variables _USER_ Lists the values of all user-defined macro variables
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],data hrd.overtime;  set hrd.temp(keep=name overtime); if overtime ne .;  TotalOvertime+overtime;  run; title "Temporary Employees Worked &total OT Hours";   proc print data=hrd.overtime; run; data hrd.overtime;  set hrd.temp(keep=name overtime); if overtime ne .;  TotalOvertime+overtime;  call symput('total',totalovertime);   run; title "Temporary Employees Worked &total OT Hours";   proc print data=hrd.overtime; run; 11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],data hrd.overtime; set hrd.temp(keep=name overtime); if overtime ne .;  TotalOvertime+overtime;  call symput('total',put(totalovertime,2.)); run; title "Temporary Employees Worked &total OT Hours";  proc print data=hrd.overtime;  run;  11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],        teacher=symget('teach'||left(course_number));   11/13/09 SAS Techies 2009 Global Symbol Table TEACH1 Hallis, Dr. George TEACH2 Wickam, Dr. Alice TEACH3 Forest, Mr. Peter CRS 3
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
Yes No Yes No 11/13/09 SAS Techies 2009 Does  macvar  already exist in the local symbol table? Update  macvar  in the local symbol table with the value  value .   Does  macvar  already exist in the global symbol table? Update  macvar  in the global symbol table with the value  value .   Create  macvar  in the local symbol table and assign a value of  value  to it.  
Yes No Yes No 11/13/09 SAS Techies 2009 Does  macvar  exist in the local symbol table? Retrieve the value of  macvar  from the local symbol table.   Does  macvar  exist in the global symbol table? Retrieve the value of  macvar  from the global symbol table.   Return the tokens to the word scanner. Issue a warning message to the SAS log to indicate that the reference was not resolved.  
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009 %IF-%THEN... IF-THEN... is used only in a macro program. is used only in a DATA step program. executes during macro execution. executes during DATA step execution. uses macro variables in logical expressions and cannot refer to DATA step variables in logical expressions. uses DATA step variables in logical expressions. determines what text should be copied to the input stack. determines what DATA step statement(s) should be executed. When inside a macro definition, it is copied to the input stack as text.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009
11/13/09 SAS Techies 2009
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],11/13/09 SAS Techies 2009

More Related Content

What's hot

SAS Macros part 2
SAS Macros part 2SAS Macros part 2
SAS Macros part 2venkatam
 
Understanding SAS Data Step Processing
Understanding SAS Data Step ProcessingUnderstanding SAS Data Step Processing
Understanding SAS Data Step Processingguest2160992
 
Utility Procedures in SAS
Utility Procedures in SASUtility Procedures in SAS
Utility Procedures in SASguest2160992
 
Base SAS Statistics Procedures
Base SAS Statistics ProceduresBase SAS Statistics Procedures
Base SAS Statistics Proceduresguest2160992
 
Introduction to SAS
Introduction to SASIntroduction to SAS
Introduction to SASizahn
 
Sas Functions INDEX / INDEXC / INDEXW
Sas Functions INDEX / INDEXC / INDEXWSas Functions INDEX / INDEXC / INDEXW
Sas Functions INDEX / INDEXC / INDEXWTHARUN PORANDLA
 
SAS Macros part 4.1
SAS Macros part 4.1SAS Macros part 4.1
SAS Macros part 4.1venkatam
 
Base sas interview questions
Base sas interview questionsBase sas interview questions
Base sas interview questionsDr P Deepak
 
Basics Of SAS Programming Language
Basics Of SAS Programming LanguageBasics Of SAS Programming Language
Basics Of SAS Programming Languageguest2160992
 
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
 
SAS Access / SAS Connect
SAS Access / SAS ConnectSAS Access / SAS Connect
SAS Access / SAS Connectguest2160992
 
CDISC SDTM Domain Presentation
CDISC SDTM Domain PresentationCDISC SDTM Domain Presentation
CDISC SDTM Domain PresentationAnkur Sharma
 
Introduction To Sas
Introduction To SasIntroduction To Sas
Introduction To Sashalasti
 
SAS Macros part 3
SAS Macros part 3SAS Macros part 3
SAS Macros part 3venkatam
 
Base SAS Exam Questions
Base SAS Exam QuestionsBase SAS Exam Questions
Base SAS Exam Questionsguestc45097
 

What's hot (20)

SAS Macros part 2
SAS Macros part 2SAS Macros part 2
SAS Macros part 2
 
Understanding SAS Data Step Processing
Understanding SAS Data Step ProcessingUnderstanding SAS Data Step Processing
Understanding SAS Data Step Processing
 
Utility Procedures in SAS
Utility Procedures in SASUtility Procedures in SAS
Utility Procedures in SAS
 
Sas Plots Graphs
Sas Plots GraphsSas Plots Graphs
Sas Plots Graphs
 
Base SAS Statistics Procedures
Base SAS Statistics ProceduresBase SAS Statistics Procedures
Base SAS Statistics Procedures
 
SAS Functions
SAS FunctionsSAS Functions
SAS Functions
 
Introduction to SAS
Introduction to SASIntroduction to SAS
Introduction to SAS
 
Sas Functions INDEX / INDEXC / INDEXW
Sas Functions INDEX / INDEXC / INDEXWSas Functions INDEX / INDEXC / INDEXW
Sas Functions INDEX / INDEXC / INDEXW
 
SAS Macros part 4.1
SAS Macros part 4.1SAS Macros part 4.1
SAS Macros part 4.1
 
Base sas interview questions
Base sas interview questionsBase sas interview questions
Base sas interview questions
 
Sas practice programs
Sas practice programsSas practice programs
Sas practice programs
 
Proc report
Proc reportProc report
Proc report
 
Basics Of SAS Programming Language
Basics Of SAS Programming LanguageBasics Of SAS Programming Language
Basics Of SAS Programming Language
 
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 Step by step learning
SAS basics Step by step learningSAS basics Step by step learning
SAS basics Step by step learning
 
SAS Access / SAS Connect
SAS Access / SAS ConnectSAS Access / SAS Connect
SAS Access / SAS Connect
 
CDISC SDTM Domain Presentation
CDISC SDTM Domain PresentationCDISC SDTM Domain Presentation
CDISC SDTM Domain Presentation
 
Introduction To Sas
Introduction To SasIntroduction To Sas
Introduction To Sas
 
SAS Macros part 3
SAS Macros part 3SAS Macros part 3
SAS Macros part 3
 
Base SAS Exam Questions
Base SAS Exam QuestionsBase SAS Exam Questions
Base SAS Exam Questions
 

Similar to SAS Macros

Prog1 chap1 and chap 2
Prog1 chap1 and chap 2Prog1 chap1 and chap 2
Prog1 chap1 and chap 2rowensCap
 
Sas macros part 4.1
Sas macros part 4.1Sas macros part 4.1
Sas macros part 4.1venkatam
 
BAS 150 Lesson 8 Lecture
BAS 150 Lesson 8 LectureBAS 150 Lesson 8 Lecture
BAS 150 Lesson 8 LectureWake Tech BAS
 
SAS macro processing vs with out macro processing
SAS macro processing vs with out macro processingSAS macro processing vs with out macro processing
SAS macro processing vs with out macro processingSAYAN DAS
 
When best to use the %let statement, the symput routine, or the into clause t...
When best to use the %let statement, the symput routine, or the into clause t...When best to use the %let statement, the symput routine, or the into clause t...
When best to use the %let statement, the symput routine, or the into clause t...Arthur8898
 
Learn SAS Programming
Learn SAS ProgrammingLearn SAS Programming
Learn SAS ProgrammingSASTechies
 
01 surya bpc_script_ppt
01 surya bpc_script_ppt01 surya bpc_script_ppt
01 surya bpc_script_pptSurya Padhi
 
Integrate Sas With Google Maps
Integrate Sas With Google MapsIntegrate Sas With Google Maps
Integrate Sas With Google Mapsvineetkaul
 
Draft sas and r and sas (may, 2018 asa meeting)
Draft sas and r and sas (may, 2018 asa meeting)Draft sas and r and sas (may, 2018 asa meeting)
Draft sas and r and sas (may, 2018 asa meeting)Barry DeCicco
 
Task Perform addition subtraction division and multiplic.pdf
Task Perform addition subtraction division and multiplic.pdfTask Perform addition subtraction division and multiplic.pdf
Task Perform addition subtraction division and multiplic.pdfacsmadurai
 
Mazda Use of Third Generation Xml Tools
Mazda Use of Third Generation Xml ToolsMazda Use of Third Generation Xml Tools
Mazda Use of Third Generation Xml ToolsCardinaleWay Mazda
 
Beholding the giant pyramid of application development; why Ajax applications...
Beholding the giant pyramid of application development; why Ajax applications...Beholding the giant pyramid of application development; why Ajax applications...
Beholding the giant pyramid of application development; why Ajax applications...Javeline B.V.
 

Similar to SAS Macros (20)

Prog1 chap1 and chap 2
Prog1 chap1 and chap 2Prog1 chap1 and chap 2
Prog1 chap1 and chap 2
 
Sas macros part 4.1
Sas macros part 4.1Sas macros part 4.1
Sas macros part 4.1
 
SAS - Training
SAS - Training SAS - Training
SAS - Training
 
Sas
SasSas
Sas
 
BAS 150 Lesson 8 Lecture
BAS 150 Lesson 8 LectureBAS 150 Lesson 8 Lecture
BAS 150 Lesson 8 Lecture
 
SAS_and_R.pdf
SAS_and_R.pdfSAS_and_R.pdf
SAS_and_R.pdf
 
SAS macro processing vs with out macro processing
SAS macro processing vs with out macro processingSAS macro processing vs with out macro processing
SAS macro processing vs with out macro processing
 
When best to use the %let statement, the symput routine, or the into clause t...
When best to use the %let statement, the symput routine, or the into clause t...When best to use the %let statement, the symput routine, or the into clause t...
When best to use the %let statement, the symput routine, or the into clause t...
 
Mysql
MysqlMysql
Mysql
 
Learn SAS Programming
Learn SAS ProgrammingLearn SAS Programming
Learn SAS Programming
 
224-2009
224-2009224-2009
224-2009
 
SAS Internal Training
SAS Internal TrainingSAS Internal Training
SAS Internal Training
 
01 surya bpc_script_ppt
01 surya bpc_script_ppt01 surya bpc_script_ppt
01 surya bpc_script_ppt
 
Integrate Sas With Google Maps
Integrate Sas With Google MapsIntegrate Sas With Google Maps
Integrate Sas With Google Maps
 
Draft sas and r and sas (may, 2018 asa meeting)
Draft sas and r and sas (may, 2018 asa meeting)Draft sas and r and sas (may, 2018 asa meeting)
Draft sas and r and sas (may, 2018 asa meeting)
 
Sax Dom Tutorial
Sax Dom TutorialSax Dom Tutorial
Sax Dom Tutorial
 
Proc r
Proc rProc r
Proc r
 
Task Perform addition subtraction division and multiplic.pdf
Task Perform addition subtraction division and multiplic.pdfTask Perform addition subtraction division and multiplic.pdf
Task Perform addition subtraction division and multiplic.pdf
 
Mazda Use of Third Generation Xml Tools
Mazda Use of Third Generation Xml ToolsMazda Use of Third Generation Xml Tools
Mazda Use of Third Generation Xml Tools
 
Beholding the giant pyramid of application development; why Ajax applications...
Beholding the giant pyramid of application development; why Ajax applications...Beholding the giant pyramid of application development; why Ajax applications...
Beholding the giant pyramid of application development; why Ajax applications...
 

Recently uploaded

Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingWSO2
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxMarkSteadman7
 
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
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...caitlingebhard1
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaWSO2
 
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
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 

Recently uploaded (20)

Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
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
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
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
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 

SAS Macros

  • 1. SAS Techies [email_address] http://www.sastechies.com
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42. Yes No Yes No 11/13/09 SAS Techies 2009 Does macvar already exist in the local symbol table? Update macvar in the local symbol table with the value value .   Does macvar already exist in the global symbol table? Update macvar in the global symbol table with the value value .   Create macvar in the local symbol table and assign a value of value to it.  
  • 43. Yes No Yes No 11/13/09 SAS Techies 2009 Does macvar exist in the local symbol table? Retrieve the value of macvar from the local symbol table.   Does macvar exist in the global symbol table? Retrieve the value of macvar from the global symbol table.   Return the tokens to the word scanner. Issue a warning message to the SAS log to indicate that the reference was not resolved.  
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 51.

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
  33. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  34. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  35. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  36. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  37. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  38. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  39. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  40. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  41. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  42. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  43. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  44. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  45. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  46. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  47. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  48. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  49. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  50. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005
  51. SASTechies.com Sharad C Narnindi - Attic Technologies,Inc 2005