We are trying to send a physical file from our iSeries 400 to an e-mail address as an attachment. I have success...
using the SNDDST command, but my attachment shows as garbage because it is not converted to ASCII. I would like to make this an iSeries automatic procedure without human intervention. Any ideas?
Write a CL to use the CPYTOSTMF to copy the physical file to a stream file (usually placing the file in the /tmp/ directory). Attach that file and it will be in ASCII format.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Dig Deeper on iSeries COBOL programming
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.