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:<[email protected]>
RCPT TO:<[email protected]>
DATA
TO:<[email protected]>
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
Search our Forums:


Back to Top