IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Transfer file via mail - MIME 1.0


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
HANOZET

New User


Joined: 14 Sep 2006
Posts: 1

PostPosted: Thu Sep 14, 2006 6:56 pm
Reply with quote

I try to use MIME to send a file from an IBM mainframe to a mail. My file has 133 characters and I don't know how to code exactly. When I transfer file with a length of 80 bytes, it works. For file with 160 characters I receive two lines in place of one.

Could you give me some explanations and how to correct this.

I am sorry but I don't speak very well english.
Many thanks in advance for your explanations.

sample of my procdeure

HELO HOST
MAIL FROM:<sender@xx.COM>
RCPT TO:<receipt@xxx.COM>
DATA
TO:<ttttT@yyy.COM>
SUBJECT: TEST
SUBJECT: MY SUBJECT
MIME-VERSION: 1.0
CONTENT-TYPE: MULTIPART/MIXED;
BOUNDARY="<< BOUNDARY_IDENTIFIER >>"
--<< BOUNDARY_IDENTIFIER >>
CONTENT-TYPE: TEXT/PLAIN; CHARSET="US-ASCII"
CONTENT-TRANSFER-ENCODING: 7BIT

HI,
THIS IS MY MESSAGE

--<< BOUNDARY_IDENTIFIER >>
CONTENT-TYPE: APPLICATION/OCTET-STREAM; NAME="GY_ADECCO.TXT"
/*
// DD DSN=MYFILE.EMAIL,DISP=(OLD,PASS)
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Thu Sep 14, 2006 11:29 pm
Reply with quote

Here is a post for a very similar issue. Perhaps the O/P can provide some feedback if the problem has been resolved or not?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top