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: [email protected]
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:<[email protected]>
TO:<[email protected]>
CC:<[email protected]>
CC:<[email protected]>
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: 1209
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 All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts U0016 error in JCL JCL & VSAM 4
No new posts python on z/OS error no encoding decl... Testing & Performance 0
No new posts IEW2315E 1369 Link error All Other Mainframe Topics 3
No new posts Help on IMS -API URL migrating from P... IMS DB/DC 1
No new posts JES datasets IO Error ABENDS & Debugging 3
Search our Forums:


Back to Top