IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

not able to send a mail with more than 80 LRECL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
asgarhussain

New User


Joined: 23 Apr 2007
Posts: 4
Location: chennai

PostPosted: Thu Aug 09, 2007 11:54 pm
Reply with quote

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
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Fri Aug 10, 2007 1:16 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Aug 10, 2007 1:24 am
Reply with quote

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
View user's profile Send private message
asgarhussain

New User


Joined: 23 Apr 2007
Posts: 4
Location: chennai

PostPosted: Fri Aug 10, 2007 8:37 pm
Reply with quote

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
View user's profile Send private message
asgarhussain

New User


Joined: 23 Apr 2007
Posts: 4
Location: chennai

PostPosted: Mon Aug 13, 2007 6:32 pm
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Aug 13, 2007 6:36 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts WER247A SORTOUT HAS INCOMPATIBLE LRECL SYNCSORT 7
No new posts VB to FB - Finding LRECL SYNCSORT 4
No new posts mail attachment with excel format All Other Mainframe Topics 2
No new posts REXX to send an email in Mainframe wi... CLIST & REXX 3
No new posts REXX to send an email in Mainframe CLIST & REXX 4
Search our Forums:

Back to Top