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

syntax error in sending email using JCL


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jeevajeeva

New User


Joined: 13 May 2006
Posts: 17

PostPosted: Fri Jun 23, 2006 11:04 am
Reply with quote

HI,

i have coded the data command as follows

DATA
to: nirmal@yahoo.com
subject:test mail

this is just a test mail.


but i am getting the undeliverable mail as follows

501 Syntax Error. No Args after 'DATA' command
500 Unknown command, 'to'
500 Unknown command, 'subject'
500 Unknown command, 'this'

any body please help me to solve this
Back to top
View user's profile Send private message
akila_504

New User


Joined: 27 Jan 2006
Posts: 3

PostPosted: Fri Jun 23, 2006 12:35 pm
Reply with quote

Hi Jeeva,

see the below syntax for DATA command :

DATA
FROM:<mahitha.kondasani@COGNIZANT.COM>
TO:<mahitha.kondasani@COGNIZANT.COM>
CC:<mahitha.kondasani@COGNIZANT.COM>
CC:<mahitha.kondasani@COGNIZANT.COM>
SUBJECT: TESTING in progress

u have to put TO or CC address in angle brackets.

i hope, now u donot get error, let me know.[/left]
Back to top
View user's profile Send private message
jeevajeeva

New User


Joined: 13 May 2006
Posts: 17

PostPosted: Fri Jun 23, 2006 4:12 pm
Reply with quote

hi,


its working fine now thanks Akila

Regards,
Jeeva
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Thu Feb 22, 2007 6:45 pm
Reply with quote

HI There,

Topic is already discussed

ibmmainframes.com/viewtopic.php?t=10808
ibmmainframes.com/viewtopic.php?t=7118
ibmmainframes.com/viewtopic.php?t=3783
ibmmainframes.com/viewtopic.php?t=10181
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top