AS/400 extracting spool file automatically and sending to user.

310 pts.
Tags:
AS/400
AS/400 Spool Files
We are using i750 server. In this server v r running life asia application. As of now we are extracting spool files manually and sending to users. Is there is any possible way to extract the spool files automatically and send to user mail id's? Once the job is completed, it has to do automatically. Please suggest.

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: 5  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
  • CharlieBrowne
    There are multiple ways to do this. 1. Write a program that will read the output queues looking for the files to be sent. Schedule this job to run every xxx minutes. 2. Put code in the programs that create the SPLF that will email it as soon as the reports is produced. This is what we do.
    41,380 pointsBadges:
    report
  • TomLiotta
    If the job is expected to send output somewhere, then the programming in the job should send the e-mail. . However, it's possible to direct the job's output to an *OUTQ that is monitored. An *OUTQ monitor could be written to react to spooled files from this job and create e-mails from them. As long as the monitor programming is running. it can send e-mails. . The Job Notification Exit Point could also be used to invoke programming that sends e-mails. Although I haven't used it, products such as IBM's Print Services Facility (PSF) can also be used to send e-mails of spooled files. . Tom
    125,585 pointsBadges:
    report
  • WoodEngineer
    Our shop does the same thing you wish to do. We use the same technique CharlieBrown describes in option 2. Gumbo Software's SpoolMail can convert and send the report to a user. This tool is reasonably priced and very reliable. In fact, I can not think of it ever failing in the 10+ years we have used it. If a report is to be delivered via e-mail we put it in a special output queue which is monitored. When a report arrives and is ready, we inspect its file name, user data and form type to determine where to send it. We retrieve the e-mail from a file created for this purpose. Check IBM's manuals. There you can find an example of using a data queue to monitor an output queue, which is the heart of this process. It is not as complicated as it sounds.
    6,680 pointsBadges:
    report
  • WoodEngineer
    Sorry for the confusion . . . I should have written that we follow the technique CharlieBrown described in option 1. The advantage of this option is that only one program is required to do what you need. By the way, there is a way to have your output queue monitor program always active and waiting for something to arrive in the data queue. This causes the report to be delivered very quickly after it is ready. I mention "ready" because a report that is held will not send data to the data queue. If a held report is released, data will be sent to the data queue immediately. After the report is sent, we move it to an output queue which is dedicated to reports delivered via SpoolMail. That technique has saved us more than once.
    6,680 pointsBadges:
    report
  • chalenger
    Dears, All what do you want can be done through Adv. Job Sceduling Product.. Regards Hassan
    490 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