BookmarkSubscribeRSS Feed
ddddddddd1223
Calcite | Level 5

Hi everybody,

 

I have developed a job in SAS DIS that has a step which sends an email through the utility FILENAME MAILBOX. It succeeds when I run the job by SAS DIS. After, I deployed the job in order to execute it through a .sh file on a Linux system. When I run it in this way, all the activities are completed with success, all except the sending of the email. The version of the server SAS is 9.3.

 

Does anyone know if I have to change the script of the FILENAME MAILBOX, or if I have the specify something in the .sh file?

 

Thank you in advance for your attention.

4 REPLIES 4
Quentin
Super User

Can you post the bit of the log from where it sends the email?  Do you get an error / warning / bad note in that step?

The Boston Area SAS Users Group (BASUG) is hosting our in person SAS Blowout on Oct 18!
This full-day event in Cambridge, Mass features four presenters from SAS, presenting on a range of SAS 9 programming topics. Pre-registration by Oct 15 is required.
Full details and registration info at https://www.basug.org/events.
ddddddddd1223
Calcite | Level 5
This is the log, I can't see any warning or error:

NOTE: The file MAILBOX is:
E-Mail Access Device

Message sent
To: 'xxx' 'xxx' 'xxx'
Cc:
Bcc:
Subject: xxx
Attachments:
NOTE: 1 record was written to the file MAILBOX.
The minimum record length was 101.
The maximum record length was 101.
NOTE: DATA statement used (Total process time):
real time 0.02 seconds
cpu time 0.00 seconds
Quentin
Super User

Interesting.  Looks like SAS thinks all went well.  Do you know, is the server you're running the deployed job on the same server as you run the interactive DI job on?  If not, it's possible they are using different mail servers, and the server with the deployed job has it stuck in a queue on the mail server?  Or check your spam filter?  I don't know much about mail servers.  If SAS says everything went well but I don't get an email, that's when I would call for help from admins to look into the mail server and see what it's doing.

The Boston Area SAS Users Group (BASUG) is hosting our in person SAS Blowout on Oct 18!
This full-day event in Cambridge, Mass features four presenters from SAS, presenting on a range of SAS 9 programming topics. Pre-registration by Oct 15 is required.
Full details and registration info at https://www.basug.org/events.
AnandVyas
Ammonite | Level 13
Would you able to check maillog on Linux system if there are any errors?
Are you connected to same system and app-context when you run from DIS?

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 793 views
  • 0 likes
  • 3 in conversation