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.

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

Processing your response...

Discuss This Question: 5 &nbspReplies

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

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

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.

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

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.

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.

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

Processing your reply...

Ask a Question

Free Guide: Managing storage for virtual environments

Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!

To follow this tag...

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