× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 6/16/14 3:00 PM, Barbara Morris wrote:

For the case of writing to source files, using a program-described file
would probably be easier.

chg FMIMEBODY O F 92 DISK USROPN
F EXTFILE('QTEMP/MIMEBODY')
F EXTMBR('DFT')
add D mimeDs ds 92
add D seq 6a inz('000000')
add D date 6a inz('000000')
add D srcdta 80a
...
C EVAL SRCDTA = 'Sch...'
chg C WRITE MIMEBODY mimeDs


I plugged your suggestions into a copy of the source (with the actual call to MMAIL/EMLMSG disabled) and tried it.

It works beautifully, but I still don't understand why externally-described mode failed, or especially, why it threw a CPF5152 on a write that actually DID make it into the file.

Regardless, given that satisfying the customer is more important than understanding the cause, I'm going to plug your changes into the live version after lunch.

--
JHHL

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.