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
 

 

syntax error in sending email using JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: syntax error in sending email using JCL
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    Post subject: syntax error in sending email using JCL
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    Post subject: Re: syntax error in sending email using JCL
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: 1187
Location: Bangalore,India

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

HI There,

Topic is already discussed

http://ibmmainframes.com/viewtopic.php?t=10808
http://ibmmainframes.com/viewtopic.php?t=7118
http://ibmmainframes.com/viewtopic.php?t=3783
http://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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF 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 Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm


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