Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

TSO/ISPF :: RE: Splitting of single report to seperate reports using XMITIP

$
0
0
Author: abdulrafi
Posted: Mon Apr 03, 2017 3:59 pm (GMT 5.5)

Hi,

Need one more help. With same inputs and jcls, I have 2 control cards and am executing a XMITIP step to send the reports to users. Currently my XMITIP steps splits the single ESHP file to two seperate reports, one with data containing key vauke 21805 and other containing 21809.
Same applies with INVOICE SUMMARY as well.

I am able to achieve it by sending it in 2 seperate mails. But i need to send the reports in single mail. The challenge I am facing is, the keys are same for both files here. Hence i am unable to merge both.
Note: The layouts of both files are different.

Please let me know if there is a way to send the reports in single mail as attachments.

Below are the two control cards,
Code:

SEPLOC=102/5                                                     
KEYV=21805                                                       
KEYMAIL=abdul.rafi@gmail.com
MERGEMAIL                                                       
KEYV=21809                                                       
KEYMAIL=abdul.rafi@gmail.com
MERGEMAIL                                                       
SUBJECT=FILES &JOB                                   
XMITIPCONFIG=DD:XMCC                                             
FILENAME=ESHP_&SEPVAL.TXT                                       


SEPLOC=129/5                                                         
KEYV=21805                                                           
KEYMAIL=abdul.rafi@gmail.com     
MERGEMAIL                                                           
KEYV=21809                                                           
KEYMAIL=abdul.rafi@gmail.com   
MERGEMAIL                                                           
SUBJECT=INV SUMMARY &JOB                                       
XMITIPCONFIG=DD:XMCC                                                 
FILENAME=INVOICE_SUMMARY_&SEPVAL.TXT       

_________________
Thanks,
Abdul Rafi


Viewing all articles
Browse latest Browse all 8500

Latest Images

Trending Articles



Latest Images