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?

BASUG is hosting free webinars Next up: Mark Keintz presenting History Carried Forward, Future Carried Back: Mixing Time Series of Differing Frequencies on May 8. Register now at the Boston Area SAS Users Group event page: 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.

BASUG is hosting free webinars Next up: Mark Keintz presenting History Carried Forward, Future Carried Back: Mixing Time Series of Differing Frequencies on May 8. Register now at the Boston Area SAS Users Group event page: https://www.basug.org/events.
Anand_V
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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

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
  • 578 views
  • 0 likes
  • 3 in conversation