Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Undelivered Mails Error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
siddhu.harpreet

New User


Joined: 02 Sep 2009
Posts: 1
Location: Chennai

PostPosted: Mon Sep 14, 2009 8:52 pm    Post subject: Undelivered Mails Error
Reply with quote

I'm getting undelivered mails while i am sending mails:

BY requirement is:

I have to send the report to the customer in ZIP format which as text file in it.

My job is running fine but i m getting the below undelivered mail having errors like :
Unable to deliver mail to some/all recipients.
Code:
050 DATA                                                                    00100000
501 Syntax Error. No Args after 'DATA' command
050 FROM: gmcg_vid@satyam.com                                               00110000
500 Unknown command, 'FROM'
050 TO: harpreet_siddhu@satyam.com                                          00120000
500 Unknown command, 'TO'
050 TO: harpreet0817@gmail.com                                              00130000
500 Unknown command, 'TO'
050 TO: siddhu.harpreet@gmail.com                                           00140000
500 Unknown command, 'TO'
050 SUBJECT: WR Extract                                                     00190000
500 Unknown command, 'SUBJECT'
050 MIME-VERSION: 1.0                                                       00200000
500 Unknown command, 'MIME'
050 CONTENT-TYPE: MULTIPART/MIXED;boundary="------------55266=15045=:257"   00210000
500 Unknown command, 'CONTENT'
050                                                                         00220000
500 Unknown command, '00220000'
050 This is a multi-part message in MIME format.                            00230000
500 Unknown command, 'This'
050                                                                         00240000
500 Unknown command, '00240000'
050 --------------55266=15045=:257                                          00250000
500 Unknown command, '-'
050 Content-type: text/plain; charset=us-ascii                              00260000
500 Unknown command, 'Content'
050 Content-transfer-encoding: 7bit                                         00270000
500 Unknown command, 'Content'
050                                                                         00280000
500 Unknown command, '00280000'
050                                                                         00290000
500 Unknown command, '00290000'
050                                                                         00300000
500 Unknown command, '00300000'
050 Please find attached WR EXTRACT.                                        00310000
500 Unknown command, 'Please'
050                                                                         00320000
500 Unknown command, '00320000'
050                                                                         00330000
500 Unknown command, '00330000'
050 Thanks & Regards                                                        00340000
500 Unknown command, 'Thanks'
050 VID Offshore Team                                                       00350000
500 Unknown command, 'VID'
050 --------------55266=15045=:257                                          00360000
500 Unknown command, '-'
050 CONTENT-TYPE: application/octet-stream; NAME="Wr_extract.zip"           00370000
500 Unknown command, 'CONTENT'
050 CONTENT-TRANSFER-ENCODING: base64                                       00380000
500 Unknown command, 'CONTENT'


The Member name which is having To and from email address is as below:
HELO PLIPC1B
MAIL FROM:<harpreet_siddhu@satyam.com>
RCPT TO:<harpreet0817@gmail.com>
RCPT TO:<siddhu.harpreet@gmail.com>
DATA
FROM: harpreet_siddhu@satyam.com
TO:<harpreet0817@gmail.com>
CC:<siddhu.harpreet@gmail.com>
CC:<siddhu.harpreet@gmail.com>
SUBJECT: Wards Extract File
MIME-VERSION: 1.0
CONTENT-TYPE: MULTIPART/MIXED;boundary="------------55266=15045=:257"

This is a multi-part message in MIME format.

--------------55266=15045=:257
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit

Please find attached BI EXTRACT.


Thanks & Regards
VID Offshore Team
--------------55266=15045=:257
CONTENT-TYPE: application/octet-stream; NAME="wards_file.zip"
CONTENT-TRANSFER-ENCODING: base64

Please let me know where i m making mistake because the same code is running fine in production but while testing i did some email ID change only and now its not working.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Mon Sep 14, 2009 9:01 pm    Post subject: Reply to: Undelivered Mails Error using JCL
Reply with quote

at first glance looks like the issue might be with the sequence numbers in the control statements

try to resubmit getting rid of the sequence numbers in cols 73-80
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Mon Sep 14, 2009 9:01 pm    Post subject: Reply to: Undelivered Mails Error
Reply with quote

050 DATA 00100000
050 FROM: gmcg_vid@satyam.com 00110000
050 TO: harpreet_siddhu@satyam.com 00120000
050 TO: harpreet0817@gmail.com 00130000
050 TO: siddhu.harpreet@gmail.com 00140000

Why do you have those numbers (0011000, 0012000, 0013000, 0014000, and so on) after your commands? Seems to me as if they might cause some problems with SMTP.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Mon Sep 14, 2009 9:10 pm    Post subject:
Reply with quote

I know from personal experience that SMTP does not expect, nor does it handle, line sequence numbers. SMTP command files must have spaces after the command all the way to the end of each record.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us