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
 

 

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: 6966
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 Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Mail via SMTP with an image? Mike 1304 JCL & VSAM 4 Thu Jan 26, 2017 2:01 pm
No new posts Reading data from PS file and send it... rajatbagga All Other Mainframe Topics 18 Fri Sep 23, 2016 12:51 pm
No new posts PL/I: opening file w/ dynamically det... Sam Dodgers PL/I & Assembler 6 Wed Jul 27, 2016 4:05 pm


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