|
Bill, A number of years ago we used to fax using a bunch of PCs with fax cards. These worked by emulating both a 5250 terminal and an AS/400 printer attached to an outq. If a spool file was placed on the outq then, instead of printing it, the PC would fax it. The fax number had to be embedded in the report using a syntax that the PC stripped before faxing. Then we got Fax/400. Because our fax process was triggered by a spool file appearing on an outq we were able to modify the process so that it then interfaced with Fax/400 instead of the PC devices. Here is a potential solution. 1. Assign an outq for faxing anything that appears on it, and attach a data queue to it. 2. Create a server job that waits on the data queue and reads the spool file attributes that are automatically stored in the data queue entry. 3. An existing pgm generates a spool file that is to faxed. At this point let's assume you have determined the fax number. 4. Then call a new pgm that you pass the fax number along with the spool file attributes spoolname/jobno/user/jobname and spool number. This pgm writes this info to a new fax register file that you have created using the spool file attributes as a unique key. 5. Then move the spool file to the outq for faxing. 6. The server job will then fire and extract the spool file attributes. It can then access the fax number using the unique key on the fax register file. 7. The server job now has the essential information required to call the Fax/400 API to send the spool file as a fax. 8. Then move the spool file to some trash outq. 9. Fax/400 can be configured to send responses to a data queue that you can monitor. You can integrate this with your fax register file to create your own tracking system. If you need to resend a fax, just move it from the trash outq to your faxing outq. Cheers, Peter -----Original Message----- From: Bazinet, Bill [mailto:bazinew@leanintree.com] Sent: Tuesday, January 23, 2001 7:50 AM To: 'RPG400-L@midrange.com' Subject: V4R4 and Fax support I believe I heard that fax support was included as part of OS/400. If so, I'm looking for anyone with experience utilizing it with RPG generated reports. We are on V4R4 at this time. +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- This communication is confidential and may be legally privileged. If it is not addressed to you, you are on notice of its status. Please immediately contact us at our cost and destroy it. Please do not use, disclose, copy, distribute or retain any of it without our authority - to do so could be a breach of confidence. Thank you for your co-operation. Please contact us on (09) 356 5800 if you need assistance. +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.