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 NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts EMAIL using IEBGENER - SMTP parasmalik20 JCL & VSAM 4 Tue May 23, 2017 12:19 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am


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