Spooled Files sent via SNDDST

475 pts.
Tags:
SNDDST
Spool files
Our system runs reports at night to an outq. Upon completion of reports a program goes through and converts the spooled files to PDF and emails using SNDDST and then deletes the spooled files. My problem is that last night for whatever reason the program finished successfully without errors and none of the reports were received. Is there a way to find out where they went? The person running the reports is in the DIRE.

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 6  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    Start by running DSPDSTLOG to see what the distribution log says happened. That will get you up to the point where it leaves distribution services and enters the bridge over to SMTP (which is probably what should be used instead of SNDDST). Depending on what the log says, next steps could be many possible choices. Tom
    125,585 pointsBadges:
    report
  • filuphaze
    Thanks Tom. The problem is the email list for the reports have email addresses for various people in the company and the email receiver (server) was down at the time the reports were sent. The logs show they got sent ok but the server never received them because it was down. We brought the receiver back up but there were no reports. We are trying to figure out where they went if the iseries sent them but nothing received them. How would I send reports via email without using SNDDST?
    475 pointsBadges:
    report
  • Splat
    I use Giovanni Perroti's MIME & Mail.
    7,235 pointsBadges:
    report
  • TomLiotta
    ...the server never received them because it was down. What is "the server"? Is it a SMTP e-mail server? Is it the SMTP server on your AS/400? ...a remote server (i.e., one in your network that is intended to be the sender)? Have the reports arrived yet? Tom
    125,585 pointsBadges:
    report
  • filuphaze
    Yes we have an SMTP server on the network. All our reports are sent from the 400 via SNDDST to email addresses on our email server for the company. At the time the reports were processed and sent, the email server was down and never received them but the log on the 400 says they were sent. When the server came back up (several hours later) there were no reports received by anyone. We don't know where they went.
    475 pointsBadges:
    report
  • TomLiotta
    Yes we have an SMTP server on the network. All our reports are sent from the 400 via SNDDST to email addresses on our email server for the company. The SNDDST command (by itself) cannot send e-mail to a SMTP server. Instead, it hands the distributions off to a couple of jobs on your AS/400 that route them to the SMTP server that is running on your AS/400. You can see the jobs on your AS/400 that handle the routing between the two. The names of those jobs are QTSMTPCLTD, QTSMTPBRCL, QTSMTPBRSR and QTSMTPCLTP. If you don't see those jobs, then the bridge between SNDDST (which is SNA) and SMTP isn't started. You will also see the SMTP jobs -- QTSMTPSRVD and QTSMTPSRVP. If you don't see those, then you probably have nothing running that will pass the e=mails over to the "SMTP server on the network". Usually, a SMTP server will have configurations set for retries. If a remote server can't be reached (the network is down or the remote server is down or whatever), then your server will try to deliver the e-mail later. Prompt the CHGSMTPA command on your AS/400 to see what your systems retry values are set for. The CHGSMTPA command will show other attributes that need to coordinate with the configuration of the "SMTP server on the network". Since that server was down, you will want to verify that no one changed its rules. Can you use SNDDST today to send a simple message to any account on your networked SMTP server? Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following