View previous topic :: View next topic
|
Author |
Message |
asgarhussain
New User
Joined: 23 Apr 2007 Posts: 4 Location: chennai
|
|
|
|
Hi
I am having the same problem like i m not able to send a mail with more than 80 LRECL . but here i m not using SMTP. because i hope SMTP not logged in my LPAR.
so i m using JES3 commands(//*FORMAT) to send a mail.
Please help me out how to send a mail with more than 80 chars
//CDCPMAIL JOB (1,29874,xxxxxxxxx),ASGAR,MSGCLASS=6
//
//*FORMAT PR,DDNAME=STEPMAIL.SYSUT2,DEST=XXXXXX.VIPDIST,COPIES=1
//* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
//STEPMAIL EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSUT1 DD DSN=SYS.xxxxx.DATA(FABDIST2),DISP=SHR
// DD DSN=&&MAIL,DISP=(OLD,DELETE)
//SYSUT2 DD SYSOUT=A
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=* |
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 632 Location: Wisconsin
|
|
|
|
It doesn't matter if SMTP is enabled on your mainframe or not. The mail has to traverse to the destination server via SMTP.
Your mainframe may be connecting to an external SMTP server for sending mail or something. Depending on the definition of CLASS=A you may be getting truncated at the width of that rather than the 1000 limit of SMTP. CLASS=A may have some processes run against it that send the mail to an SMTP server or something |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello asgarhussain,
It may help if you re-read the entire topic (and search for other similar topics in the forum).
It may be easier for you to send your info as an attachment rather than embedded in the e-mail. You might keep the actual e-mail text at 80 and describe what is in the attachment so the recipient knows what they are receiving. |
|
Back to top |
|
|
asgarhussain
New User
Joined: 23 Apr 2007 Posts: 4 Location: chennai
|
|
|
|
Hi ,
I got Undeliverable Mail .
Unable to deliver mail to some/all recipients.
050 SUBJECT:" THIS IS TEST MAIL FROM ASGAR "
500 Unknown command, 'SUBJECT'
** Text of Mail follows **
HELO NJ00T
MAIL FROM:<HASGAR@DOMAIN.COM>
RCPT TO:<LMADHANM@DOMAIN.COM>
SUBJECT:" THIS IS TEST MAIL FROM ASGAR "
****************
Please let me know what is the problem.
my SYSUT1 is ,
HELO NJ00T
MAIL FROM:<HASGAR@DOMAIN.COM>
RCPT TO:<LMADHANM@DOMAIN.COM>
SUBJECT:" THIS IS TEST MAIL FROM ASGAR "
|
|
Back to top |
|
|
asgarhussain
New User
Joined: 23 Apr 2007 Posts: 4 Location: chennai
|
|
|
|
Hi All,
Please help me to send a mail thru JCL.
I got undeliverable mail
Unable to deliver mail to some/all recipients.
050 DATA 00000400
501 Syntax Error. No Args after 'DATA' command
050 FROM: <HASGAR@DOMAIN.COM> 00000500
500 Unknown command, 'FROM'
050 TO: <LMADHANM@DOMAIN.COM> 00000600
500 Unknown command, 'TO'
050 SUBJECT: THIS IS TEST MAIL 00000700
500 Unknown command, 'SUBJECT'
I am not able to find the error.
Please help me
Thanks in advance
Asgar Hussain F |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
1. This topic has been recently discussed in another thread. Pls use search.
2. There is no way we can help without knowing what your jcl & control cards look like.
search the forum first, please. If you can not find an answer, then repost to this thread with your jcl.
as you look at the other threads, compare your jcl to theirs; you may be able to find your problem. |
|
Back to top |
|
|
|