THE COMMUNITY ARCHIVE

SAS Macro Language Papers and PresentationsPage 2

Macro programming helps parameterize repeated work and generate SAS code. This collection covers macro variables, quoting, reusable utilities and debugging. Evaluate the generated SAS code as well as the macro logic when adapting an example.

707 papers · Showing 21–40

PharmaSUG · 2026Paper DS-341PharmaSUG 2026

DOSEON: Fuzzy Matching DOSE Date Intervals ON Analysis Dates Across SAS (PROC SQL, SAS Macro, DATA Step, and PROC FCMP)

Inka Leprince; Troy Hughes

Source category: Data Standards Implementation (CDISC, SEND, ADaM, SDTM)

Author collections: Inka Leprince · Troy Hughes

PharmaSUG · 2026Paper ET-178PharmaSUG 2026

Easy Code Generation in R: The “macro” package

David Bosak

Source category: Emerging Technologies (R, Python, GitHub etc.)

Author collections: David Bosak

PHUSE · 2026Paper SM03PHUSE APAC Connect 2026

Elevating SAS Macros and Automation: Leveraging SAS Studio Custom Steps and Flows

Vivek Salunkhe; Anand Phand

Source category: Scripts, Macros & Automation

Author collections: Vivek Salunkhe · Anand Phand

PharmaSUG · 2026Paper PO-433PharmaSUG 2026

Enhancing CDISC Standards Implementation (SDTM and ADaM) with PROC FCMP, PROC IML and Macro Loop Integration in Oncology Clinical Trials.

Ajay Gupta; Misikir Tesfaye

Source category: ePosters

Author collections: Ajay Gupta · Misikir Tesfaye

PHUSE · 2026Paper SM07PHUSE APAC Connect 2026

Every Click Counts: A Smarter Way To Annotate CRFs

Prasanth Prabhakaran; Bimal Thomas

Source category: Scripts, Macros & Automation

Author collections: Prasanth Prabhakaran · Bimal Thomas

PharmaSUG · 2026Paper AP-222PharmaSUG 2026

Finding Macros Called Within A Directory of SAS® Programs

Derek Morgan; Tatiana Kazakova

Source category: Advanced Programming

Author collections: Derek Morgan

PHUSE · 2026Paper SM05PHUSE APAC Connect 2026

From Document to Derivation: Automating ADaM Variable and Endpoint Code Generation Using Study Specifications and Clinical Documents

Alisha D; Sruthy Biju

Source category: Scripts, Macros & Automation

WUSS · 2026Paper PH-161WUSS 2026

From Raw to Compliant: Applying Domain-Specific SAS Macros for Data Cut-Off in Clinical Trials

Ballari Sen

Source category: Pharma & Healthcare

Author collections: Ballari Sen

PharmaSUG · 2026Paper TT-439PharmaSUG 2026

From Suspicion to Evidence: Automating Character Truncation Risk Audits with a Parameterized SAS Macro and Review-Ready Excel Output

Xinran Hu

Source category: Tools, Tech & Innovation

Author collections: Xinran Hu

PHUSE · 2026Paper SM15PHUSE US Connect 2026

Fuzzy Matching DOSE Date Intervals ON Analysis Dates Across SAS (DATA Step, PROC SQL, SAS Macro, and PROC FCMP)

Inka Leprince; Troy Martin Hughes

Source category: Scripts, Macros & Automation

Author collections: Inka Leprince · Troy Martin Hughes

PHUSE · 2026Paper SM16PHUSE US Connect 2026

Geocoding with the Google Maps API: Using PROC FCMP To Call User-Defined SAS and Python Functions that Geocode Coordinates, Calculate Routes, and More

Troy Martin Hughes

Source category: Scripts, Macros & Automation

Author collections: Troy Martin Hughes

PharmaSUG · 2026Paper TT-309PharmaSUG 2026

Global Macro for Master Tracker

Zhuo Chen; Ted Lystig; Xiaofan Cao; Tuan Nguyen

Source category: Tools, Tech & Innovation

Author collections: Zhuo Chen · Ted Lystig

PHUSE · 2026Paper SM06PHUSE APAC Connect 2026

GraphStudio: Simplifying the Journey from Clinical Data to Submission-Ready Visuals

Poonam Deshmukh

Source category: Scripts, Macros & Automation

PHUSE · 2026Paper SM03PHUSE US Connect 2026

Group, Collapse, Repeat: A Dynamic SAS Macro for Stratification Pooling in Oncology Efficacy Analysis

Wang Lulu; Venkatesh Burla

Source category: Scripts, Macros & Automation

Author collections: Venkatesh Burla

WUSS · 2026Paper HW-160WUSS 2026

Macro-Powered Clinical Reporting in SAS: Automating Workflows with Automatic Macro Variables, ODS TRACE, and Reusable Table-Building Macros

Chary Akmyradov

Source category: Hands-On Workshops

Author collections: Chary Akmyradov

PHUSE · 2026Paper SM11PHUSE US Connect 2026

Methods of a Fully Automated CONSORT Diagram Macro %CONSORT

Jeffrey Meyers

Source category: Scripts, Macros & Automation

Author collections: Jeffrey Meyers

PharmaSUG · 2026Paper TT-130PharmaSUG 2026

My DIY Swiss Army Knife of SAS® Procedures: A Macro Approach of Forging with My Favorite PROCs

Jason Su

Source category: Tools, Tech & Innovation

Author collections: Jason Su

PHUSE · 2026Paper SM01PHUSE US Connect 2026

Optimising Output Review: A Targeted and Scalable RTF Validation Framework

Sid Kumar

Source category: Scripts, Macros & Automation

Author collections: Sid Kumar

PHUSE · 2026Paper SM10PHUSE APAC Connect 2026

Precision Timing – Implementing Epoch Calculations with R for Clinical Data Integrity

Rammohan Konda; Sheik Ibrahim P.S

Source category: Scripts, Macros & Automation

Author collections: Rammohan Konda

PHUSE · 2026Paper SM17PHUSE US Connect 2026

Programmatically Modifying a Document Created by ODS Excel: Adding a Password and Concatenating Multiple Worksheets into One

Jeffrey Meyers

Source category: Scripts, Macros & Automation

Author collections: Jeffrey Meyers