Being an OS/2er have you looked at SoupPost (Rexx script that inserts
text files into Soup Reply packets)?
http://www.vex.net/~x/rexxbells.phtml#souppost
Maybe not what you are looking for, but you could possibly addapt it.
--
,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,
Tim Myddletin =-=As Gregor Samsa awoke one morning=-= x @ veX . net
-=-=-= read Metamorphosis by Franz Kafka as soon as possible =-=-=-
`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~`'~
Yarn/2 Bells & Whistles Page: http://www.vex.net/~x/bells2.phtml