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
 

 

CICS COBOL PROGRAM.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
krunalbafna
Warnings : 1

Active User


Joined: 18 Jan 2010
Posts: 143
Location: Pune

PostPosted: Mon Jan 02, 2012 5:04 pm    Post subject: CICS COBOL PROGRAM.
Reply with quote

Hi,
I am writting a code in which i need to send the mail wether input file is processed or not.

Here I have 16 clients. When i execute the CICS program i get USER id which should be my email list.
eg i am user and my user id is : "OOIUJF" than mail should go to OOIUJF@abc.com.
in case job is ran successfully or abended.
The card should have an attachment in case of succesful run and no attachment in other case.

The subject line should change similarly.
I am planning to write a single card which has details such as :
Recepient, SUBJECT and attachment details.
For contentt also i should write the line dynamically.

Is there any approach how the three cards can be written dynamically and used in JCL to execute SMTP batch to send mail and attachment.
(Kindly provde how it is possible to send the attachment - I referred the forum but cannot strike the cord.)
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


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

PostPosted: Mon Jan 02, 2012 7:12 pm    Post subject:
Reply with quote

Contact your site support group and work with them. Whether or not what you want to do is even possible is a question only someone working at your site can answer. Your CICS region must have a TD queue defined to point to the internal reader; if your site doesn't have TD queues so defined in your CICS region then what you want to do cannot be accomplished through CICS, period. And only someone at your site can tell you this.

Furthermore, I just did a search (using the forum Search function) on smtp attachment and got 50 hits, several of which have the exact JCL used to generate emails with attachments.
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm


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