• Community
    • Home
    • Welcome
      • Getting Started
      • Community Memo
      • All Things Community
      • SAS Customer Recognition Awards (2024)
      • SAS Customer Recognition Awards (2023)
    • SAS Community Library
    • SAS Product Suggestions
    • Upcoming Events
    • SAS Customer Recognition Awards
    • All Recent Topics
  • Learn
    • New SAS User
    • SAS Software for Learning Community
    • Ask the Expert
    • SAS Certification
    • SAS Tips from the Community
    • SAS Training
      • Programming 1 and 2
      • Advanced Programming
      • Course Case Studies and Challenges
      • Trustworthy AI
    • SAS Global Forum Proceedings 2021
    • Tech Report Archive
    • SAS Insights Archive
  • Programming
    • SAS Programming
    • SAS Procedures
    • SAS Enterprise Guide
    • SAS Studio
    • Graphics Programming
    • ODS and Base Reporting
    • SAS Code Examples
    • SAS Web Report Studio
    • Developers
  • Analytics
    • Statistical Procedures
    • SAS Data Science
    • Mathematical Optimization, Discrete-Event Simulation, and OR
    • SAS/IML Software and Matrix Computations
    • SAS Forecasting and Econometrics
    • Streaming Analytics
    • Research and Science from SAS
  • SAS Viya
    • SAS Viya
    • SAS Viya on Microsoft Azure
    • SAS Viya Release Updates
    • Moving to SAS Viya
    • SAS Visual Analytics
    • SAS Visual Analytics Gallery
    • Your Journey to Success
    • SAS Viya Workbench
      • SAS Viya Workbench: Getting Started
      • SAS Viya Workbench Discussion
      • SAS Viya Workbench: Release Updates
  • Administration
    • Administration and Deployment
    • Architecture
    • SAS Hot Fix Announcements
    • SUGA
  • Solutions
    • Microsoft Integration with SAS
    • Decisioning
    • SAS Decision Builder
    • Data Management
    • Customer Intelligence
      • SAS Customer Intelligence
      • SAS Customer Intelligence 360 Release Notes
      • SAS 360 Match
    • Risk and Fraud
      • SAS Risk Management
      • Fraud, AML and Security Intelligence
      • SAS Risk Release Updates
      • Risk & Finance Analytics
      • Insurance Fraud
      • MRM AI Governance Working Group
      • SAS Quant Community
    • SAS Health
      • SAS Health and Life Sciences
      • SAS Life Science Analytics Framework
  • Hubs
    • Regional Hubs
      • SAS User Groups
      • SAS Community Nordic
      • AML Nordic User Group
      • SAS Japan
      • SAS Korea
      • CoDe SAS German
      • SAS Plattform Netzwerk
      • SAS Brazil Community
      • SAS Spanish Community
      • SAS Users Group in Israel
      • 欢迎来到SAS中文社区!
      • Ottawa Area SAS Users' Society
      • Toronto Area SAS Users Group
      • SAS Türkiye Community
    • Special Interest Hubs
      • SAS Hacker's Hub
      • SAS Innovate 2025
      • SAS Analytics Explorers
      • The Curiosity Cup
      • SAS Inner Circle Panel
      • SAS Hackathon Team Profiles (Past)
      • SAS Explore
      • Reporting and Optimization
      • Intern Alumni Network Community
Sign In

Search the Community

Showing results for 
Search instead for 
Did you mean: 
Search Options
  • Subscribe to RSS Feed for this Search
Advanced Hide Advanced
  • Posts
  • Users
  • Places
  • Products
Advanced Search Options
Search Modifiers:
You can apply modifiers to the terms you enter in the search field.
Use quotes to search for an "exact phrase".
Use the plus sign to search for +one +or +more +words.
Use the minus sign to -exclude -certain -words from your search.
Limits search results to topics that have no replies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
22 results
Sorted by:
Best Match
  • Date
  • Views
  • Likes
  • Replies
  • Best Match

How to send email using SAS

by Community Manager ChrisHemedinger in SAS Communities Library SUGGESTED
‎06-10-2021 06:03 PM
19 Likes
‎06-10-2021 06:03 PM
19 Likes
An email message is a great way to send a notification when a SAS job completes, or to distribute a result from SAS as an attached report or spreadsheet. The SAS programming language allows you to send...
Labels:
  • SAS Programming

Conditionally Email

by Quartz | Level 8 santosh_pat69 in SAS Programming
‎01-30-2017 01:43 PM
‎01-30-2017 01:43 PM
Hi All,   I am trying to Send emails to a group after the files are available for  each department.   for example : Group:- Admins Department : Sales,Finance, Planning   H...
Show results in replies (1)
  • ...he status of the existence of the file and send the email using ODS/ or export the dataset to e...

conditionally stop SAS code execution and send email with notification

by Onyx | Level 15 Ronein in SAS Programming
‎01-10-2024 02:41 AM
‎01-10-2024 02:41 AM
Hello I want to add condition to my code that If some conditions meet then stop run the program and send email with a message. Specifically in this example : If number of observations in data s...
Show results in replies (1)
  • ...n error??   Also where and how should I add the send email?     FILENAME m...

Conditionally executing multiple macro

by Lapis Lazuli | Level 10 Santt0sh in SAS Programming
‎09-05-2018 03:24 PM
‎09-05-2018 03:24 PM
Hi All,   I trying to send emails to different users, i have written two SAS macros let's say Macro A, and Macro B. for certain reasons i am not able to share the code here as i am working o...
Show results in replies (1)
  • ...ee it.     @Santt0sh wrote: Hi All,   I trying to send emails to d...

Conditional sending of email via sas

by Quartz | Level 8 SIgnificatif in New SAS User
‎08-27-2019 05:46 AM
‎08-27-2019 05:46 AM
Hi, I would like to ask you how to conditionally send an email from sas ?      %let variable1 ='go';  if variable1 = 'go' then do; FILENAME mail EMAIL TO=(&emails) e...

How do I send an email using PROC LUA?

by Fluorite | Level 6 James_79 in SAS Programming
‎07-16-2021 05:00 PM
‎07-16-2021 05:00 PM
I'm trying to send an email using the filename statement and conditionally add an attachment using PROC LUA instead of a macro procedure.  However, I run into an issue when executing the f...
  • Tags:
  • email
  • filename
  • LUA

Condionally send email from SAS

by Calcite | Level 5 ijmoorejr in SAS Programming
‎12-04-2018 04:49 AM
‎12-04-2018 04:49 AM
...tml' attach=("/user/data/lives/here/prog1.log"); put 'Variables are unequal" put 'var1=' var1 'var2=' var2; end; run; I would like to conditionally send an email when var1 DOES NOT EQAUL v...

Conditionally Email to respective email ID's with in Data set

by Calcite | Level 5 anare in ODS and Base Reporting
‎03-14-2017 10:43 AM
‎03-14-2017 10:43 AM
...rice"   Requirement:- I need to send an automated email to "Delivery lead" to "Approve" by  copying "Order Creator " If i have 10 orders, each mail to be triggred automaticaly to the r...

Conditionally running sas code

by Calcite | Level 5 cwdonald in SAS Programming
‎01-03-2014 02:24 PM
‎01-03-2014 02:24 PM
...or whether the office is open or not. 1. How can I check this at the beginning of a program versus "Yesterday" 2. How can I skip a whole lot of code, send an email to myself saying.. the p...

if x then do y... else do z

by Calcite | Level 5 ursamajor in SAS Programming
‎05-07-2018 10:11 AM
‎05-07-2018 10:11 AM
Hello,   I'm trying to solve a bug in my code where I have some if...then...do...else...do logic.  The bug is that the code 'does' both tasks regardless of passing/failing condition.&n...
Show results in replies (2)
  • ...o your DATA step.  Here's an example that shows how to conditionally send an e-mail based on t...
  • ...acro conditionally. For example, if the code to send the email is in the macro   %macro Send...

Conditional Logic in Data Integration Studio

by Rhodochrosite | Level 12 DavidPhillips2 in SAS Data Management
‎03-13-2020 04:46 PM
‎03-13-2020 04:46 PM
...ecords in a table. I am using the Publish to Email transformation to send data in a table. I see some objects in Data Integration Studio that look like there for conditional logic but I do not know how t...
Show results in replies (1)
  • @DavidPhillips2 wrote: Is there a way to conditionally run a transformation in Data I...
  • « Previous
    • 1
    • 2
    • 3
  • Next »
Powered by Khoros