Page 1 of 1

SMTP thru JCL, no body only subject

PostPosted: Tue Jul 30, 2013 11:08 pm
by gauravuppal11
Hi,
Few of the users just migrated to Outlook 2010 and now they are receiving the blank emails. There is no body in the email only subject.

The same jcl was working earlier.

Do we need to change any settign or add extra parameters to send email from mainframe to outlook 2010.
Has anyone experienced this before.

Thanks

Re: SMTP thru JCL, no body only subject

PostPosted: Wed Jul 31, 2013 12:22 am
by dick scherrer
Hello,

You need to post the JCL being used along with any sysout(s) generated by the run.

Re: SMTP thru JCL, no body only subject

PostPosted: Wed Jul 31, 2013 12:24 am
by Robert Sample
Your post is wonderfully UNINFORMATIVE. Does this
The same jcl was working earlier.
mean the JCL was working BEFORE or AFTER Outlook was installed? If it was working after Outlook was installed, then something changed and you need to find out what so it can be corrected. If it hasn't worked since Outlook was installled, you need to work with your Outlook administrator to figure out why the emails sent from the mainframe are exhibiting that behavior.

As someone who uses Outlook on the PC and receives MANY mainframe emails every week (with subjects and bodies), I can assure you that the issue is AT YOUR SITE and something specific to your site is set up incorrectly. Hence you will need to work with people at your site to fix the problem. We on this forum do not work at your site and do not have access to the information to fix the issue.

Re: SMTP thru JCL, no body only subject

PostPosted: Wed Jul 31, 2013 2:09 am
by gauravuppal11
Is there anything else needed, please let me know.
The JCL works with OUTLOOK 2007, but since migration to 2010 the users are only getting the subject line....there is no body in the email.

Here is the card that i am using
//NOTIFY1 EXEC SMTP
//SMTP PROC
//SMTP EXEC PGM=SMTP
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSPRINT DD DUMMY
//SYSUDUMP DD SYSOUT=*
//SMTP.SYSUT1 DD DSN=xx.xx.xx(abcdefgh),DISP=SHR
//SYSUT1 DD DDNAME=SYSUT1
// DD DSN=xx.xx.xx.yy,DISP=SHR
//HIGSMTP.SYSUT2 DD SYSOUT=*
//SYSUT2 DD SYSOUT=(A,SMTP),FREE=CLOSE
//SYSOUT DD *

HELO FMNODE2
MAIL FROM:<xx.xx@xx.com>
RCPT TO:<xx.xx@xx.com>
DATA
TO:<xx.xx@xx.com>
FROM:<xx.xx@xx.com>
SUBJECT: BACIS CONTROL FILE
ADMIN IMPORT SUMMARYREPORT : 07302013
APPLICATION ID: 0000000027
APPLICATION NAME: NSC LIFECOMM
TOTAL ADD/CHANGE RECORDS: 0000000012

Re: SMTP thru JCL, no body only subject

PostPosted: Wed Jul 31, 2013 2:14 am
by dick scherrer
Hello,

Suggest you talk with the e-mail admin or the network folks. Something has changed that causes your working job to fail now.

Is there no diagnostic information generated when your job is run?

Is XMITIP available on hyour system?> If yes, you might try that and see if the same thing occurrs.

If you run the job and do NOT send the output to SMTP, what is in the sysout? Need to figure out if the message is corrupted before it is sent.

Re: SMTP thru JCL, no body only subject

PostPosted: Wed Jul 31, 2013 2:32 am
by gauravuppal11
Thanks for your reply.
here are the sysouts coming from the JCL
HELO FMNODE2
MAIL FROM:<xx.xx@xx.com>
RCPT TO:<xx.xx@xx.com>
DATA
TO:<xx.xx@xx.com>
FROM:<xx.xx@xx.com>
SUBJECT: BACIS CONTROL FILE
ADMIN IMPORT SUMMARYREPORT : 07252013
APPLICATION ID: 0000000027
APPLICATION NAME: NSC LIFECOMM
TOTAL ADD/CHANGE RECORDS: 0000000006
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+---10----+---11----+---12-
1DATA SET UTILITY - GENERATE PAGE 0001
-IEB352I WARNING: ONE OR MORE OF THE OUTPUT DCB PARMS COPIED FROM INPUT

PROCESSING ENDED AT EOD
********************************************************** Bottom of Data **********************************************************

Re: SMTP thru JCL, no body only subject

PostPosted: Wed Jul 31, 2013 2:49 am
by dick scherrer
Hello,

If that output is complete, then the problem is with what has been done with the upgrade.

It may be that something in your job will need to be changed, but i believe "they" will have to work with you identifying what needs to be done to fix this.