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
 
Problem in sending appended text via email

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Skss

New User


Joined: 16 Feb 2010
Posts: 46
Location: India

PostPosted: Mon Jan 23, 2012 3:55 pm    Post subject: Problem in sending appended text via email
Reply with quote

Hi All,

I have a requirement of sending an email in which I have to append the records of my output file in the email. I do not want the output file to go as an attachment with the email.

I have a sample JCL with IKJEFT1B which sends email with attachement.
Here is my sample code
Code:

//STEP07   EXEC PGM=IKJEFT1B,DYNAMNBR=50
//SYSEXEC  DD DISP=SHR,DSN=ISPF.WHPL.SYSPROC
//SYSTSIN  DD DSN=SYSP.CA7.OVRLIB(EMAILMF),DISP=SHR
//EMAILMSG DD *
PLEASE FIND THE BELOW RECORDS
//EMAILFIL DD DSN=TB@XXXX.XXX.OUTPUT,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*


I also used IEBGENER but did not receive any email even though the job never failed.

Please suggest me a solution which will help me to send an email with the appended text.

Thank you,
Skss
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Mon Jan 23, 2012 5:20 pm    Post subject:
Reply with quote

Since what you have posted is completely and totally specific to your site, only someone working at your site will be able to help you. Talk to your coworkers, team leader, or site support group for assistance.

If you had posted something useful -- such as the details of what is in SYSP.CA7.OVRLIB(EMAILMF) -- we probably could have made some suggestions. But with what you gave us, all we can do is refer you to your site.
Back to top
View user's profile Send private message
Skss

New User


Joined: 16 Feb 2010
Posts: 46
Location: India

PostPosted: Mon Jan 23, 2012 5:31 pm    Post subject:
Reply with quote

The control card contains the below information

Code:

%XMITIP (email1@xyz.COM -
         email2@xyz.COM   -
         email3@xyz.COM ) +
        FILEDD EMAILFIL +
        FROM CA7MONITOR@COR1 +
        FORMAT TXT +
        MSGT '***********************************' +
        MSGT '* Alert message                                    *' +
        MSGT '* please act fast                                    *' +
        MSGT '***********************************' +
        SUBJECT 'XXX job MONITOR'


As I said, this control card is sending email with an attachment.
But I want the EMAILFIL to be appended with the message

Please let me know if you need further information
Back to top
View user's profile Send private message
Skss

New User


Joined: 16 Feb 2010
Posts: 46
Location: India

PostPosted: Mon Jan 23, 2012 6:16 pm    Post subject:
Reply with quote

I am looking for an alternate approch which will help me to append the text along with the body of the email.

Appreciate your response!
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Mon Jan 23, 2012 6:35 pm    Post subject:
Reply with quote

Since I don't use XMITIP, I cannot help you with it.

You can also set up and use a straight SMTP batch job to generate an email. The specifics of what is needed vary slightly by site, so you absolutely MUST contact someone at your site to get help setting it up correctly.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Mon Jan 23, 2012 6:44 pm    Post subject: Reply to: Problem in sending appended text via email
Reply with quote

what about reading XMITIP manual/documentation
available for example here ...
http://www.lbdsoftware.com/XMITIP-Guide.pdf
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts sending email from jcl using the mail... niloyarp JCL & VSAM 5 Tue Oct 10, 2017 12:32 pm
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts Sorting on text - but in non-alphabet... Roy Ware SYNCSORT 5 Wed Aug 23, 2017 9:15 pm
No new posts Problem commiting to DB2 from IMS MPP Ole Soerensen IMS DB/DC 2 Wed Jul 26, 2017 5:19 pm
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am

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