Hi Lionel and/or XMITIP lovers,
We would like to use XMITIP to generate transactional (!) e-mails
by CALL-ing XMITIP.
For example, when we get a SWIFT msg we would like to generate an e-mail
according to the msg type received .
As long as we use fixed text in the 'subject' and in the 'msg body',
there's no problem.
But the messages have to contain variable information of course, which is
different msg by msg.
So we would like to know if there's a mean to include (and have resolved)
variables in "SUBJECT", in "MSGT" or in "MSGDS" ?
A possible solution could be to prepare the msg in a sequential file & to
pass that dataset via keyword 'MSGDS'.
In general, can you raise ideas about building up XMITIP messages in a
dynamic way?
Jan Vanbrabant
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to list...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
>*** Glory halleluiah to Lionel's XMITIP ! ***
>
>Hi Lionel and/or XMITIP lovers,
<smipo>
>In general, can you raise ideas about building up XMITIP messages in a
>dynamic way?
>
>Jan Vanbrabant
=
Glory indeed!!!
One thing you could try is a subroutine XMITMAIL I wrote a while back. It
is only really usable for plain text e-mails, but it's very fast
http://home.clara.net/andywrobertson/mvsxmitmail.html
If you want to use the full facilities of XMITIP, you can do
what we have done in a few jobs
0) Have an ordinary batch COBOL program
1) Add the XMITIP load library to the STEPLIB
2) Add a SYSPROC DD with the the XMITIP exec library in it
3) Use the IJKTSOEV interface to set up a TSO environment dynamically
and TSOLNK to issue the XMITIP command
You can send attachments if you put them in other DDNAMES and use the FILE
keyword on XMITIP.
1. call your own rexx routine to setup the subject and message
2. then call xmitip
that is the best I can fhink of
good luck
--------------------------------------------------------------------
Lionel B. Dyck, Systems Software Lead <><
Kaiser Permanente Information Technology
25 N. Via Monte Ave
Walnut Creek, Ca 94598
Phone: (925) 926-5332 (tie line 8/473-5332)
E-Mail: Lionel...@kp.org
Sametime: (use Lotus Notes address)
AIM: lbdyck
Notice: This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and is
protected by law. If you are not the intended recipient, you should
delete this message. Any unauthorized disclosure, copying or distribution
of this message, or taking of any action based upon it is strictly
prohibited.