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
 
not able to send a mail with more than 80 LRECL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Fri Aug 10, 2007 1:24 am    Post subject:
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    Post subject:
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    Post subject:
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: 6970
Location: porcelain throne

PostPosted: Mon Aug 13, 2007 6:36 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Prblem with mail having MIME contents harsh.saxena579 JCL & VSAM 2 Tue Dec 12, 2017 3:48 pm
No new posts Unable to send mail with SMTP commands harsh.saxena579 JCL & VSAM 10 Tue Dec 12, 2017 1:58 pm
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 12 Sun Nov 19, 2017 7:59 pm
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm

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