KeyesMail(tm) - FAQ

I upgraded to V6R1 and started getting errors claiming that "spooled file number -1 is no longer in the system", which causes a failure. What is happening?

A bug was introduced in V6R1 that is not corrected in the CUMM PTF's. Spooled file number -1 is a special value that means the "Last" spooled file for that job. The bug prevents the system from finding the last spooled file when it is the first one created for the job. The following IBM PTF's will correct that problem: MF54288 for R610 or MF54289 for R611.

How do I create a Template?

A Template is simply a mail member. Templates can be used with many of the API's and the KeyesMail output queue (KMLOUTQ) to assist you in sending e-mail messages, with attachments. The template provides the message that goes along with the attachments. It can also include the subject, options, addresses, and even other attachments.

  1. Choose a mailbox that you want to e-mail from. If you have only a single mailbox, or if you intend the mail to be sent from a lot of different users, then you should use the POSTMASTER mailbox.
  2. Start item 1 KeyesMail from the menu and change to the selected mailbox, (Ex: POSTMASTER). You do this by moving the cursor (back tabbing) to the mailbox field and entering the correct mailbox name.
  3. Press F6 to create a new message. KeyesMail will create a new message and place you in the Recipient addresses window.
  4. If this template will be used to mail attachments to the same recipients every time, then key their addresses in the window. But, if this template will be used for different recipients each time, then do not key any addresses. Close the window by pressing the Enter key or F12 (Cancel).
  5. Type a generic subject that could be used each time you send the attachments, such as: Weekly Sales Report
  6. Type a generic message that will be used each time you send the attachments, such as: The following attachment is your Weekly Sales Report ... You may wish to include contact information, in case the recipient has any questions.
  7. Move the cursor up to the Options> line and press Enter to open the Options window.
  8. Set the From: address to any valid address. You may also want to set the Auto Purge: parameter to Y. This will make the system self cleaning.
  9. Note the member name at the top of the screen. This will be the Template name that you use in the API's. Press F3 when you are finished preparing the message.
  10. On the Work with KeyesMail screen enter an option 2 Change for the newly created mail member. Tab to the second field and change the Status to read "Template". This will allow you to recognize your templates, so you will not accidentally delete them. You may also wish to move them to a special Category, to keep them all together.
  11. Use item 31 User Setup from the menu and enter a 5 on the selected mailbox (Ex: POSTMASTER).
  12. Add *TEMPLATE to the Authorization list. This will allow all the API's to use the templates out of this mailbox, even when the user running the API does not have specific authority to that mailbox.