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
 

 

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: 7996
Location: Bellevue, IA

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: 7996
Location: Bellevue, IA

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: 10231
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 Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts How to update a portion of text in a ... Bill Woodger DFSORT/ICETOOL 25 Wed Nov 09, 2016 9:41 pm


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