Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 5 Thu Sep 07, 2017 6:02 pm
No new posts Error in SQL-PLIST3 'Above value tru... rikdeb DB2 4 Wed Sep 06, 2017 1:34 pm
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us